|  02-29-2008, 09:52 PM | #286 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Sep 2007 Device: Sony | 
			
			Hi, First of all thanks for the fantastic program and I have been used it for a while to get newspapers like NYT. However, for the past few builds of the program, I could not get the newspapers anymore (the hourglass runs forever and I monitored the traffic via my firewall and believe the downloading part works fine). It seems to me the program is stucked somewhere while formating the file.  Any suggestions? BTW, I have WinXP/SP2. Again, thanks | 
|   |   | 
|  02-29-2008, 10:14 PM | #287 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			At a terminal run Code: web2lrf --verbose newsweek | 
|   |   | 
|  03-01-2008, 07:04 AM | #288 | 
| Junior Member  Posts: 4 Karma: 10 Join Date: Sep 2007 Device: Sony | 
			
			Thanks a lot kovidgoyal, I tried the commandline web2lrf first with newsweek and it worked really well. Swich back to libprs500 and try to fetch newsweek.  It worked as well but a bit slower.  So I tried the NYT again and got the NYT eventually but it takes a LONG time. So, it works after all but I just have to be patient. Again, thank you.
		 | 
|   |   | 
|  03-05-2008, 12:27 AM | #289 | 
| Member  Posts: 15 Karma: 10 Join Date: Feb 2008 Location: Australia Device: sony 505 | 
				
				OPF files
			 
			
			Hi I dont know anything about command line stuff, Iam using the GUI. It is fantastic thanks but now all my lit files are converting to OPF files!! what are these files and why am I getting them. Thanks for any help. | 
|   |   | 
|  03-05-2008, 12:38 AM | #290 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Interesting  attach one of these lit files
		 | 
|   |   | 
|  03-05-2008, 12:48 AM | #291 | |
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 What you are doing is exploding the LIT into it's component parts. What you should be doing is just removing the DRM and then taking the DRM free LIT and running lit2lrf against it. In most cases that will work fine. And to do at least some of this, you will have to use the command line. | |
|   |   | 
|  03-15-2008, 01:53 PM | #292 | 
| Groupie        Posts: 153 Karma: 799 Join Date: Dec 2007 Device: sony prs505 | 
			
			Kovid, I have run into an oddity with lit2lrf. I have a lit file with the DRM removed. When I convert it either from the Mac GUI or the Mac terminal I get a .lrf file in which the line spacing increases by one line height with every new paragraph. By the time you get to the end of the document there is one line per page, and it is a short teaser file. I can only imagine what it would be like if it were a full book. I then used clit to create a HTML file and then used both the GUI and command line versions of html2.lrf. The GUI simply produced a document that I could not open in the viewer. The command line resulted in a file that was only 28kb in length (I would have expected something about 100k) and the following messages in my terminal. Code: Last login: Sat Mar 15 12:26:38 on ttys000
Macintosh-3:~ billc$ cd desktop/ow
Macintosh-3:ow billc$ html2lrf --verbose index.1252.html
[INFO] convert_from.pyo:359: Processing /Users/billc/Desktop/OW/index.1252.html
[INFO] convert_from.pyo:312: 	Parsing HTML...
[INFO] convert_from.pyo:347: Written preprocessed HTML to /var/folders/pK/pK4oxuulGwSmGODViAxxxk+++TI/-Tmp-/html2lrf-verbose.html
[INFO] convert_from.pyo:373: 	Converting to BBeB...
[INFO] convert_from.pyo:294: 	Rationalizing font sizes...
Traceback (most recent call last):
  File "/Users/billc/Downloads/libprs500.app/Contents/Resources/html2lrf.py", line 9, in <module>
    main()
  File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1859, in main
  File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1770, in process_file
  File "libprs500/ebooks/lrf/html/convert_from.pyo", line 1662, in writeto
  File "libprs500/ebooks/lrf/pylrs/pylrs.pyo", line 629, in renderLrf
  File "libprs500/ebooks/lrf/pylrs/pylrf.pyo", line 716, in writeFile
  File "libprs500/ebooks/lrf/pylrs/pylrf.pyo", line 751, in writeObjects
  File "libprs500/ebooks/lrf/pylrs/pylrf.pyo", line 557, in write
  File "libprs500/ebooks/lrf/pylrs/pylrf.pyo", line 392, in write
  File "libprs500/ebooks/lrf/pylrs/pylrf.pyo", line 84, in writeSignedWord
  File "struct.pyo", line 63, in pack
  File "warnings.pyo", line 62, in warn
  File "warnings.pyo", line 102, in warn_explicit
DeprecationWarning: 'h' format requires -32768 <= number <= 32767
Macintosh-3:ow billc$ | 
|   |   | 
|  03-15-2008, 03:16 PM | #293 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Send me the lit file
		 | 
|   |   | 
|  03-15-2008, 03:59 PM | #294 | 
| Groupie        Posts: 153 Karma: 799 Join Date: Dec 2007 Device: sony prs505 | |
|   |   | 
|  03-15-2008, 04:45 PM | #295 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Attach it to a ticket or kovid at kovidgoyal.net
		 | 
|   |   | 
|  03-20-2008, 12:01 PM | #296 | 
| Member  Posts: 20 Karma: 10 Join Date: Nov 2007 Location: UK Device: Sony PRS-505 |   
			
			My new AV program (Comodo) has just quarantined a trojan, Backdoor.Win32.Small.iu found in /libprs500/qtcore4.dll and of course libprs500 now won't open.  Erm .. help?
		 | 
|   |   | 
|  03-20-2008, 12:20 PM | #297 | 
| Fanatic            Posts: 566 Karma: 1555555 Join Date: Jan 2008 Location: Keene, New Hampshire Device: iPad Mini | 
			
			The free AVG AV program has no problem with it. Uninstall Comodo and reinstall libprs500. | 
|   |   | 
|  03-20-2008, 01:37 PM | #298 | |
| Member  Posts: 20 Karma: 10 Join Date: Nov 2007 Location: UK Device: Sony PRS-505 | Quote: 
  I've now submitted the .dll file to some online virus scanners that all report it as clean so I've felt confident enough to unquarantine it and libprs500 is working fine again. | |
|   |   | 
|  03-23-2008, 05:34 PM | #299 | |
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 | |
|   |   | 
|  03-23-2008, 08:10 PM | #300 | 
| Member  Posts: 20 Karma: 10 Join Date: Nov 2007 Location: UK Device: Sony PRS-505 | 
			
			Yep, Comodo submitted the file automatically for online evaluation and learning so the database should soon recognise Libprs500 as a safe program.
		 | 
|   |   | 
|  | 
| Tags | 
| libprs500 | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| a simple epub/lit to mobi converter that isn't calibre? | grechzoo | General Discussions | 18 | 08-18-2010 05:20 PM | 
| Amber Lit Converter is merging txt | Amalthia | Workshop | 7 | 07-16-2008 05:33 PM | 
| Quick/easy LIT to LRF converter? | OUTATIME | Sony Reader Dev Corner | 10 | 02-29-2008 09:44 AM | 
| ABC Amber LIT Converter | MrFinch | Workshop | 11 | 08-09-2007 09:06 PM | 
| Using lit2lrf | zander_nyrond | Sony Reader | 10 | 08-02-2007 02:40 PM |