Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2008, 02:40 AM   #1
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
Posts: 246
Karma: 1232346
Join Date: Jul 2006
Location: China
Device: eBookwise 1150, Sony Reader 500, 505, iPad, Kindle 3, DX, Paperwhite
Problems with downloading newsfeeds in Calibre

I have always had a problem downloading newsfeeds from Calibre and the previous incarnation. I installed the newest version and tried to download the Wired newsfeed. As usual, I get an error message and I have to force quit the program (I am on a Mac). I am wondering if this is because I am in China and the government blocks RSS feeds? Anyway, here is the error message.

'ascii' codec can't decode byte 0xe8 in position 568: ordinal not in range(128)
Detailed traceback:
Traceback (most recent call last):
File "/Applications/Applications/calibre.app/Contents/Resources/main.py", line 707, in news_fetched
File "/Applications/Applications/calibre.app/Contents/Resources/main.py", line 1056, in conversion_job_exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 568: ordinal not in range(128)
Tom Swift is offline   Reply With Quote
Old 06-04-2008, 03:16 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
try
Code:
feeds2lrf Newsweek
at a terminal
kovidgoyal is offline   Reply With Quote
Old 06-04-2008, 04:28 AM   #3
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
Posts: 246
Karma: 1232346
Join Date: Jul 2006
Location: China
Device: eBookwise 1150, Sony Reader 500, 505, iPad, Kindle 3, DX, Paperwhite
It seemed to work. I got a lot of error messages saying it could not download some stuff and then this
Could not read stylesheet: http://ndn.newsweek.com/site/css/structure.css
Could not read stylesheet: http://ndn.newsweek.com/site/css/components.css
Could not read stylesheet: http://ndn.newsweek.com/site/css/widgets.css
Processing index.html

which I assume had something to do with the undownloaded material. The rest seemed to work.

So what do i do now? Can I use calibre to install it to the reader? Is there a setting that I can set to get it to work in the program?
Tom Swift is offline   Reply With Quote
Old 06-04-2008, 04:32 AM   #4
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
Posts: 246
Karma: 1232346
Join Date: Jul 2006
Location: China
Device: eBookwise 1150, Sony Reader 500, 505, iPad, Kindle 3, DX, Paperwhite
Never mind. Found the lrf file. But can I change something in calibre to get it to work?
Tom Swift is offline   Reply With Quote
Old 06-04-2008, 01:26 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Tell me what line 1056 is in /Applications/Applications/calibre.app/Contents/Resources/main.py
kovidgoyal is offline   Reply With Quote
Old 06-04-2008, 09:21 PM   #6
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
Posts: 246
Karma: 1232346
Join Date: Jul 2006
Location: China
Device: eBookwise 1150, Sony Reader 500, 505, iPad, Kindle 3, DX, Paperwhite
The file is very long. Is there a way I can jump to line 1065? I am still kind of new at Macs. If I count, I am sure to make a mistake. Can I search for something?
Tom Swift is offline   Reply With Quote
Old 06-04-2008, 11:25 PM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
open it in vim (at a terminal type vim filename)

then type
Code:
:1056
kovidgoyal is offline   Reply With Quote
Old 06-04-2008, 11:28 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
or even easier (at a terminal type)

Code:
head -n 1046 filename | tail -n1
kovidgoyal is offline   Reply With Quote
Old 06-04-2008, 11:44 PM   #9
Tom Swift
Addict
Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.Tom Swift ought to be getting tired of karma fortunes by now.
 
Tom Swift's Avatar
 
Posts: 246
Karma: 1232346
Join Date: Jul 2006
Location: China
Device: eBookwise 1150, Sony Reader 500, 505, iPad, Kindle 3, DX, Paperwhite
msg += formatted_traceback + '</pre>'
Tom Swift is offline   Reply With Quote
Old 06-05-2008, 12:03 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,803
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try the next release, hopefully it will give a more meaningful error message
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems downloading news Sridhar Calibre 3 08-29-2010 02:49 PM
Adding Newsfeeds to Calibre p3aul Calibre 11 08-20-2010 11:48 AM
Remove navbar in newsfeeds for Kindle/mobi [calibre] TWiTCommander Calibre 13 07-28-2010 03:09 PM
035k and Calibre newsfeeds jerrywojo Ectaco jetBook 2 07-25-2010 03:18 AM
Problems downloading from manybooks BookCat Deals, Freebies, and Resources (No Self-Promotion) 4 12-19-2008 07:37 AM


All times are GMT -4. The time now is 02:28 AM.


MobileRead.com is a privately owned, operated and funded community.