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

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2008, 04:08 PM   #331
moneytoo
Enthusiast
moneytoo began at the beginning.
 
Posts: 39
Karma: 20
Join Date: Oct 2007
Location: Czech Republic
Device: Sony PRS-505
Yes, I'm using Windows XP Professional SP2 (Czech language). Same experience on several machines.
moneytoo is offline   Reply With Quote
Old 05-30-2008, 04:23 PM   #332
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah ok i'll add some possible fixes in 0.4.65
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 05-31-2008, 12:59 PM   #333
moneytoo
Enthusiast
moneytoo began at the beginning.
 
Posts: 39
Karma: 20
Join Date: Oct 2007
Location: Czech Republic
Device: Sony PRS-505
Thanks, kovidgoyal. Web2lrf now works with the sample site. Great.

Fetching news using calibre GUI, I still get few errors (but most of the sites work now).

Washington Post, Reuters...:
Code:
'NoneType' object is unsubscriptable
Detailed traceback:
Traceback (most recent call last):
  File "main.py", line 716, in news_fetched
  File "main.py", line 442, in _add_books
  File "calibre\ebooks\metadata\meta.pyo", line 81, in get_metadata
  File "calibre\ebooks\metadata\__init__.pyo", line 96, in smart_update
TypeError: 'NoneType' object is unsubscriptable
moneytoo is offline   Reply With Quote
Old 05-31-2008, 01:50 PM   #334
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
0.4.66 should have a fix that fixes that error
kovidgoyal is offline   Reply With Quote
Old 05-31-2008, 03:36 PM   #335
moneytoo
Enthusiast
moneytoo began at the beginning.
 
Posts: 39
Karma: 20
Join Date: Oct 2007
Location: Czech Republic
Device: Sony PRS-505
It works. Now's time for me to create my user profiles.

I was following this example: http://calibre.kovidgoyal.net/wiki/UserProfiles but I've spent some time before I realized I have to use
"from calibre.ebooks.lrf.web.profiles import DefaultProfile" instead of "from libprs500.ebooks.lrf.web.profiles import DefaultProfile".
moneytoo is offline   Reply With Quote
Old 05-31-2008, 03:45 PM   #336
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use this http://calibre.kovidgoyal.net/user_manual/news.html

to learn how to create recipes for feeds
kovidgoyal is offline   Reply With Quote
Old 06-02-2008, 01:25 PM   #337
jotheman
Sleeper.
jotheman began at the beginning.
 
jotheman's Avatar
 
Posts: 108
Karma: 10
Join Date: Dec 2007
Device: Hanlin V3 (BeBook) + PRS 500
convert just one website?

Kovid,

is it possible to use calibre / web2lrf for converting single webistes? I mean just websites, not newsfeeds. When I save a website to disk the pictures won't be saved. Calibre does a great job at fetching RSS feeds, so just fetching one website should be easy right? How could I do this?

Thanks,


jo.
jotheman is offline   Reply With Quote
Old 06-02-2008, 03:29 PM   #338
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
search for the bookit firefox extension
kovidgoyal is offline   Reply With Quote
Old 06-02-2008, 05:52 PM   #339
jotheman
Sleeper.
jotheman began at the beginning.
 
jotheman's Avatar
 
Posts: 108
Karma: 10
Join Date: Dec 2007
Device: Hanlin V3 (BeBook) + PRS 500
Thumbs up LRF

Thanks for your always quick and helpful answers, Kovid.

I already installed the BookIt extension. I like the idea of being able to just "browse & click" for new stuff that I then can comfortably read on an eReader.

I even started considering a Sony Reader, mostly because of your work on calibre and the broad support for this device that seems to be out there - but one big disadvantage held me back: support for Chinese fonts. It is possible, but very cumbersome.

So I will stick to my decision to buy a Hanlin for once. Still, it seems like I need to figure out how to work with LRF files, because that seems to be the most available format, at least Mac-software-wise. I think BookIt has an "add to calibre" feature so that I could work from there. Calibre would have to be the pivotal point for conversion.

Hoping for the best,

Cheers


jo.
jotheman is offline   Reply With Quote
Old 07-09-2008, 01:11 PM   #340
MiketheMan
Junior Member
MiketheMan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2008
Device: Sony PRS-505
Hi, Kovid! Many thanks for your work!
Can you kindly help me with an issue with web2rlf?

When I run

Code:
web2lrf.exe default --url="http://spinet.ru/conference/printview.php?t=2154&start=0" -o 1.lrf --match-regexp kafadzy.com
program types : "could not fetch link http://kafadzy.com/...", although I can open this link in a browser.

Thanks in advance,
Mikhail
MiketheMan is offline   Reply With Quote
Old 07-09-2008, 01:16 PM   #341
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Add the --verbose option and run it
kovidgoyal is offline   Reply With Quote
Old 07-09-2008, 04:16 PM   #342
MiketheMan
Junior Member
MiketheMan began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2008
Device: Sony PRS-505
Can't make it output to a file with --verbose option; it prints something like that:

[DEBUG] __init__.pyo:489: fetching http://kafadzy.com/spine/images/skrew_wrong.jpg
[warning] __init__.pyo:489: could not fetch link http://kafadzy.com/spine/images/skrew_wrong.jpg
[DEBUG] __init__.pyo:489:error: decode() argument 1 must be string, not None
Traceback (most recent call last):
File "...simple.py", line 335, in process_link
File "..__init__.pyo", line 62, in xml_to_unicode
Typeerror:decode() argument 1 must be string, not None

Hope it'll help

Mikhail

Last edited by MiketheMan; 07-09-2008 at 04:21 PM.
MiketheMan is offline   Reply With Quote
Old 07-09-2008, 05:54 PM   #343
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: 26,323
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Will be fixed in the next release.
kovidgoyal is offline   Reply With Quote
Old 07-15-2008, 08:32 AM   #344
tovbrog
Junior Member
tovbrog began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2008
Device: Sony eReader
Kovidgoyal,

I want to add my thanks to all the other Sony users for your wonderfule work.

Calibre has been a real godsend and I hardly use the Sony SW at all.

Keep up the great work.
tovbrog is offline   Reply With Quote
Old 07-22-2008, 03:58 AM   #345
capture
Junior Member
capture began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2008
Device: Sony PRS-505
I still have the UnicodeDecodeError problem, I use windows xp pro(chinese version) sp2, and just updated my calibre to v0.4.79.

....
Traceback (most recent call last):
File "main.py", line 151, in <module>
File "main.py", line 146, in main
File "main.py", line 134, in run_recipe
File "calibre\web\feeds\news.pyo", line 473, in download
File "calibre\web\feeds\news.pyo", line 646, in build_index
File "calibre\web\feeds\news.pyo", line 538, in feed2index
File "calibre\utils\genshi\core.pyo", line 179, in render
File "calibre\utils\genshi\output.pyo", line 60, in encode
File "calibre\utils\genshi\output.pyo", line 210, in __call__
File "calibre\utils\genshi\output.pyo", line 753, in __call__
File "calibre\utils\genshi\output.pyo", line 592, in __call__
File "calibre\utils\genshi\output.pyo", line 710, in __call__
File "calibre\utils\genshi\core.pyo", line 494, in escape
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 2: ordinal
not in range(128)
capture is offline   Reply With Quote
Reply

Tags
libprs500, web2lrf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
web2lrf to capture blog archive? Deputy-Dawg Sony Reader Dev Corner 1 02-15-2008 12:41 AM
web2lrf: La Repubblica alexxxm Sony Reader 1 11-13-2007 01:27 PM


All times are GMT -4. The time now is 08:29 PM.


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