![]() |
#226 | |
Translating Calibre...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 657
Karma: 2902
Join Date: Aug 2007
Location: ER.de
Device: [PRS-500], PB360
|
Quote:
1) so it is at the moment impossibe to use the "Series" "Book 4" Fields? They are not used on the PRS? What is the purpose of these fields? 2) Is there a comma needed? |
|
![]() |
![]() |
![]() |
#227 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can search within the database on those fields. No the comma is not needed the sort field basically sorts starting from the first character.
|
![]() |
![]() |
Advert | |
|
![]() |
#228 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 475341
Join Date: May 2007
Location: Berlin, Germany
Device: Kindle 3, Kindle Paperwhite 2, Kobo Mini, TrekStor Pyrus Mini
|
Thank you! Steffen
|
![]() |
![]() |
![]() |
#229 |
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Kovid, I get this error when trying to convert pdf documents. From document to document it's the same error message, except the line numbers in the error message. Is this a known problem?
Thanks, David 'NoneType' object has no attribute 'split' Detailed traceback: Traceback (most recent call last): File "main.py", line 539, in convert_single File "libprs500\gui2\dialogs\lrf_single.pyo", line 68, in __init__ AttributeError: 'NoneType' object has no attribute 'split' |
![]() |
![]() |
![]() |
#230 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No that should not be happening. When you click on the PDF book in the main view what formats are listed for it?
|
![]() |
![]() |
Advert | |
|
![]() |
#231 |
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Formats:None
Comments:None Tags:None When I try to add a pdf to library, I get the same error and no book is added. I keep adding the same pdf or another one, I always get the same error, only line number is different. Then, randomly, after another error message, all the docs are added to library (right now it took 8 additions until all 8 docs were shown in library, some of them were duplicates because I was adding the same doc). If I try to convert any of them, I get the same error message. This is not important for me, I only wanted to let you know. David |
![]() |
![]() |
![]() |
#232 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I can't reproduce this error, which makes me suspect your
database is messed up. Just delete/rename the file library1.db and you should be ok. (You will lose all books in the database) Last edited by kovidgoyal; 09-23-2007 at 09:39 PM. |
![]() |
![]() |
![]() |
#233 |
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Thanks for quick replies.
I deleted the db file, opened libprs500, no books in library, tried to add a pdf doc, got the same error again, tried to add three times in a row, finally got the doc in library, repeated 3 times. I'll wait for the next release, will try later again. |
![]() |
![]() |
![]() |
#234 |
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
Hi Kovid.
Here are few more error messages that I get when try to add a pdf or lrf (created with pdflrfwin). I have deleted library1.db many times, tried a fresh install, no luck. These are not blockers for me, I can always move files to device through a card reader, wanted only to let you know (may be it's my machine). Could not parse XML: not well-formed (invalid token): line 21, column 0 Traceback (most recent call last): File "main.py", line 265, in add_books File "main.py", line 277, in _add_books File "libprs500\ebooks\metadata\meta.pyo", line 25, in get_metadata File "libprs500\ebooks\lrf\meta.pyo", line 257, in get_metadata File "libprs500\ebooks\lrf\meta.pyo", line 156, in __get__ File "xml\dom\minidom.pyo", line 1923, in parseString File "xml\dom\expatbuilder.pyo", line 940, in parseString File "xml\dom\expatbuilder.pyo", line 223, in parseString ExpatError: not well-formed (invalid token): line 21, column 0 Traceback (most recent call last): File "main.py", line 265, in add_books File "main.py", line 277, in _add_books File "libprs500\ebooks\metadata\meta.pyo", line 27, in get_metadata File "libprs500\ebooks\metadata\pdf.pyo", line 31, in get_metadata File "libprs500\ebooks\pyPdf\pdf.pyo", line 293, in getDocumentInfo File "libprs500\ebooks\pyPdf\pdf.pyo", line 558, in getObject Exception: file has not been decrypted |
![]() |
![]() |
![]() |
#235 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm can you send me one pdf and one LRF.
|
![]() |
![]() |
![]() |
#236 |
Addict
![]() ![]() ![]() ![]() Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
|
|
![]() |
![]() |
![]() |
#237 |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
Cannot upgrade
Hello,
I'm attempting to upgrade to the latest libprs500 using the install instructions on trac. I'm using ubuntu feisty. Below is the output from the install attempt. It seems that I'm missing some dependency but I cant tell what Code:
Downloading http://pypi.python.org/packages/2.5/l/libprs500/libprs500-0.4.5-py2.5.egg#md5=b214d6743c09fc5508acf46828fc3876 Processing libprs500-0.4.5-py2.5.egg Moving libprs500-0.4.5-py2.5.egg to /usr/lib/python2.5/site-packages Removing libprs500 0.3.104 from easy-install.pth file Adding libprs500 0.4.5 to easy-install.pth file Installing lrf-meta script to /usr/bin Installing any2lrf script to /usr/bin Installing libprs500_postinstall script to /usr/bin Installing rtf-meta script to /usr/bin Installing web2lrf script to /usr/bin Installing lrfviewer script to /usr/bin Installing pdf2lrf script to /usr/bin Installing lrf2lrs script to /usr/bin Installing web2disk script to /usr/bin Installing html2lrf script to /usr/bin Installing markdown-libprs500 script to /usr/bin Installing pdf-meta script to /usr/bin Installing prs500 script to /usr/bin Installing txt2lrf script to /usr/bin Installing lit2lrf script to /usr/bin Installing rtf2lrf script to /usr/bin Installing libprs500 script to /usr/bin Installed /usr/lib/python2.5/site-packages/libprs500-0.4.5-py2.5.egg Processing dependencies for libprs500 Trying to setup udev rules... /bin/sh: udevstart: not found * Reloading kernel event manager... [ OK ] Setting up bash completion... done Setting up desktop integration... /bin/sh: xdg-icon-resource: not found Traceback (most recent call last): File "/usr/bin/libprs500_postinstall", line 8, in <module> load_entry_point('libprs500==0.4.5', 'console_scripts', 'libprs500_postinstall')() File "build/bdist.linux-i686/egg/libprs500/linux.py", line 200, in post_install File "build/bdist.linux-i686/egg/libprs500/linux.py", line 261, in setup_desktop_integration File "/usr/lib/python2.5/subprocess.py", line 461, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'xdg-icon-resource install --context mimetypes --size 128 libprs500-lrf.png application-lrf' returned non-zero exit status 127 Error in sys.excepthook: Traceback (most recent call last): File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0])) OSError: [Errno 2] No such file or directory Original exception was: Traceback (most recent call last): File "/usr/bin/libprs500_postinstall", line 8, in <module> load_entry_point('libprs500==0.4.5', 'console_scripts', 'libprs500_postinstall')() File "build/bdist.linux-i686/egg/libprs500/linux.py", line 200, in post_install File "build/bdist.linux-i686/egg/libprs500/linux.py", line 261, in setup_desktop_integration File "/usr/lib/python2.5/subprocess.py", line 461, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'xdg-icon-resource install --context mimetypes --size 128 libprs500-lrf.png application-lrf' returned non-zero exit status 127 ![]() |
![]() |
![]() |
![]() |
#238 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can ignore that error. It's related to desktop integration. It will work fine without it.
|
![]() |
![]() |
![]() |
#239 | |
Member
![]() Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#240 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the easiest thing to do is install pyqt from a development snapshot. It's just
Code:
python configure.py make sudo make install |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Soribook: First eReader eInk device now in beta testing! | Nate the great | News | 13 | 04-27-2013 08:28 AM |
Beta Beta Test of Major New Features | Starson17 | Calibre | 45 | 05-17-2010 10:55 AM |
testing | jomaweb | Lounge | 44 | 02-02-2010 02:15 PM |