|
|
#256 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
|
|
|
|
|
|
#257 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
So what error does lrfviewer give you?
|
|
|
|
|
|
#258 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
My mistake, forgot to include that sorry.
Code:
Traceback (most recent call last):
File "/usr/bin/lrfviewer", line 8, in <module>
load_entry_point('libprs500==0.4.7', 'console_scripts', 'lrfviewer')()
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2097, in load_entry_point
return ep.load()
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/lrf_renderer/main.py", line 26, in <module>
from libprs500.gui2.dialogs.conversion_error import ConversionErrorDialog
File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/dialogs/conversion_error.py", line 19, in <module>
from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog
ImportError: cannot import name Ui_ConversionErrorDialog
|
|
|
|
|
|
#259 | |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
Quote:
Code:
Traceback (most recent call last):
File "/usr/bin/lrfviewer", line 8, in <module>
load_entry_point('libprs500==0.4.7', 'console_scripts', 'lrfviewer')()
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 236, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2097, in load_entry_point
return ep.load()
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1830, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/lrf_renderer/main.py", line 26, in <module>
from libprs500.gui2.dialogs.conversion_error import ConversionErrorDialog
File "/home/me/personal/eBooks/Software/libprs500/src/libprs500/gui2/dialogs/conversion_error.py", line 19, in <module>
from libprs500.gui2.dialogs.conversion_error_ui import Ui_ConversionErrorDialog
ImportError: cannot import name Ui_ConversionErrorDialog
|
|
|
|
|
|
|
#260 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try running make again
|
|
|
|
|
|
#261 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
Okay updated to the newest SVN, 628.
Ran make -C src/libprs500/gui2/ and it initially said Code:
make: Nothing to be done for `all'. Code:
pyuic4 lrf_renderer/main.ui | sed "s/import images_rc/from libprs500.gui2 import images_rc/" | \
sed "s/from library import/from libprs500.gui2.library import/"> lrf_renderer/main_ui.py
/bin/sh: Can't open pyuic4
Code:
# pyuic4 --version Python User Interface Compiler 4.3.1 for Qt version 4.3.0 |
|
|
|
|
|
#262 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Replace pyuic4 in the Makefile with the full path to pyuic4
|
|
|
|
|
|
#263 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2007
Device: PRS-500, Blackberry 8700c
|
Awesome, that fixed it. Ran setup and it installed correctly too, no more errors for bash-completion either.
Sorry about all the questions, not that familiar with python. libprs500 is working and looks great. |
|
|
|
|
|
#264 |
|
Right, Except When Wrong
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 4323767
Join Date: Aug 2007
Location: Indianapolis
Device: Kindle Oasis 3 (sometimes iPad Mini).
|
Curious to know if you've had a chance to look at (or had any luck with) the rtf2lrf error described in Ticket #220.
Also, is there a way to modify the formatting in an existing .lrf file? For example, once a file has been converted to .lrf, is there a way to adjust the font size or add a header with starting over from the original eBook file? Thanks again for all your efforts. |
|
|
|
|
|
#265 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Oh I'm sorry somehow I forgot about that ticket. Probably because I missed the email notifying me about the file attachment, I'll look at it asap.
You can use the --lrs option to generate an LRS file (which is an XML file), edit it and then use an lrs2lrf compiler to generate an LRF file. Unfortunately I haven't got around to writing an lrs2lrf compiler for libprs500, too many higher priority tasks, but I think there is one floating around that uses DLLs from the connect software. |
|
|
|
|
|
#266 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2007
Device: SONY PRS-500
|
Hi everyone,
I installed libprs500 for Feisty as described at https://libprs500.kovidgoyal.net/wiki I just copied and pasted the the whole thing to my terminal window I get an exception when I try to add a book restoreState Detailed traceback: Traceback (most recent call last): File "build/bdist.linux-i686/egg/libprs500/gui2/main.py", line 261, in add_books File "build/bdist.linux-i686/egg/libprs500/gui2/__init__.py", line 275, in choose_files File "build/bdist.linux-i686/egg/libprs500/gui2/__init__.py", line 208, in __init__ AttributeError: restoreState when I click on the library, I get the following argument 0 of signal QListView.location_selected(PyQt_PyObject) has an invalid type Detailed traceback: Traceback (most recent call last): File "build/bdist.linux-i686/egg/libprs500/gui2/widgets.py", line 81, in current_changed TypeError: argument 0 of signal QListView.location_selected(PyQt_PyObject) has an invalid type My python install is as follows cat /usr/lib/python2.5/site-packages/easy-install.pth import sys; sys.__plen = len(sys.path) ./TTFQuery-1.0.0-py2.5.egg ./libprs500-0.4.7-py2.5.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p ]=new; sys.__egginsert = p+len(new)Am I missing some library or something? I am not a python programmer, so I have no idea how to debug. I am also a recent convert to Linux and my knowledge is still pretty green. Thanks in advance. |
|
|
|
|
|
#267 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to upgrade to the latest Qt, SIP, and PyQt versions
Qt >= 4.3.1, SIP >= 4.7.1 and PyQt >= 4.3.1 |
|
|
|
|
|
#268 |
|
Right, Except When Wrong
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 364
Karma: 4323767
Join Date: Aug 2007
Location: Indianapolis
Device: Kindle Oasis 3 (sometimes iPad Mini).
|
I tried the UnRTF method that you suggested in your private e-mail (my reply bounced). I've updated the ticket with the results.
|
|
|
|
|
|
#269 |
|
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Newsweek profile
Kovid, I always enjoy reading NYTimes and Newsweek, thank you for profiles. NYTimes downloads fast and size is around 1Mb. Newsweek is coming much slower, size is around 4-5 Mb and my reader opens and formats it very slowly (today's download has over 5000 pages).
Would you consider putting a limit on number of articles in each section? In today's "National News" and "World News" it gets articles all the way back from June. "National News" alone has 1,200+ pages. "World News" is around 800 pages, "Health" adds 500+ pages, "Entertaintment" is another 800 pages. It would be better to download only last 10-15 articles or last 2-3 weeks, in each section. You could hardcode a reasonable number or make it an option. Do you have other favorite newspapers/magazines that may make to the libprs500? ![]() Thanks, David |
|
|
|
|
|
#270 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,628
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure adding a date based limit is probably a good idea. Open a ticket and I'll get it done. I was planning to add The Economist but there were some technical issues that I haven't had the time to sort out.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Soribook: First eReader eInk device now in beta testing! | Nate the great | News | 13 | 04-27-2013 09:28 AM |
| Beta Beta Test of Major New Features | Starson17 | Calibre | 45 | 05-17-2010 11:55 AM |
| testing | jomaweb | Lounge | 44 | 02-02-2010 03:15 PM |