|  05-30-2008, 03:08 PM | #331 | 
| Enthusiast  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.
		 | 
|   |   | 
|  05-30-2008, 03:23 PM | #332 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Ah ok i'll add some possible fixes in 0.4.65
		 | 
|   |   | 
|  05-31-2008, 11:59 AM | #333 | 
| Enthusiast  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 | 
|   |   | 
|  05-31-2008, 12:50 PM | #334 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			0.4.66 should have a fix that fixes that error
		 | 
|   |   | 
|  05-31-2008, 02:36 PM | #335 | 
| Enthusiast  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". | 
|   |   | 
|  05-31-2008, 02:45 PM | #336 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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 | 
|   |   | 
|  06-02-2008, 12:25 PM | #337 | 
| Sleeper.  Posts: 109 Karma: 10 Join Date: Dec 2007 Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro | 
				
				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. | 
|   |   | 
|  06-02-2008, 02:29 PM | #338 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			search for the bookit firefox extension
		 | 
|   |   | 
|  06-02-2008, 04:52 PM | #339 | 
| Sleeper.  Posts: 109 Karma: 10 Join Date: Dec 2007 Device: Boox Max2, Kinde Voyage, reMarkable, Dasung Paperlike Pro |  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. | 
|   |   | 
|  07-09-2008, 12:11 PM | #340 | 
| Junior Member  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 Thanks in advance, Mikhail | 
|   |   | 
|  07-09-2008, 12:16 PM | #341 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Add the --verbose option and run it
		 | 
|   |   | 
|  07-09-2008, 03:16 PM | #342 | 
| Junior Member  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 03:21 PM. | 
|   |   | 
|  07-09-2008, 04:54 PM | #343 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Will be fixed in the next release.
		 | 
|   |   | 
|  07-15-2008, 07:32 AM | #344 | 
| Junior Member  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. | 
|   |   | 
|  07-22-2008, 02:58 AM | #345 | 
| Junior Member  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) | 
|   |   | 
|  | 
| Tags | 
| libprs500, web2lrf | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| web2lrf to capture blog archive? | Deputy-Dawg | Sony Reader Dev Corner | 1 | 02-14-2008 11:41 PM | 
| web2lrf: La Repubblica | alexxxm | Sony Reader | 1 | 11-13-2007 12:27 PM |