Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-23-2007, 04:09 PM   #226
StDo
Translating Calibre...
StDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with othersStDo plays well with others
 
StDo's Avatar
 
Posts: 657
Karma: 2902
Join Date: Aug 2007
Location: ER.de
Device: [PRS-500], PB360
Quote:
Originally Posted by kovidgoyal View Post
1) Add tags to create collections.

2) In the authors field you should write the entries as the full name like Firstnae Lastname & firstname Last name. If you want the authors to sort as Lastname, Firstname, use the author sort field.
Hi Kovid,

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?
StDo is offline   Reply With Quote
Old 09-23-2007, 04:22 PM   #227
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: 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.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-23-2007, 04:41 PM   #228
SteffenH
Enthusiast
SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.SteffenH ought to be getting tired of karma fortunes by now.
 
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
SteffenH is offline   Reply With Quote
Old 09-23-2007, 08:23 PM   #229
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
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'
ddavtian is offline   Reply With Quote
Old 09-23-2007, 08:39 PM   #230
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: 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?
kovidgoyal is online now   Reply With Quote
Advert
Old 09-23-2007, 09:00 PM   #231
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
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
ddavtian is offline   Reply With Quote
Old 09-23-2007, 09:07 PM   #232
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: 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.
kovidgoyal is online now   Reply With Quote
Old 09-23-2007, 09:32 PM   #233
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
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.
ddavtian is offline   Reply With Quote
Old 09-30-2007, 02:57 AM   #234
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
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
ddavtian is offline   Reply With Quote
Old 09-30-2007, 12:28 PM   #235
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: 45,415
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm can you send me one pdf and one LRF.
kovidgoyal is online now   Reply With Quote
Old 09-30-2007, 12:52 PM   #236
ddavtian
Addict
ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.ddavtian has a complete set of Star Wars action figures.
 
Posts: 274
Karma: 332
Join Date: Nov 2003
Location: San Francisco, USA
Device: Sage, Elipsa, Oasis, Galaxy Tab 8U, S22U
Quote:
Originally Posted by kovidgoyal View Post
Hmm can you send me one pdf and one LRF.
Sent to your personal address from your home page.
Thanks, David
ddavtian is offline   Reply With Quote
Old 09-30-2007, 01:49 PM   #237
Vash
Member
Vash began at the beginning.
 
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
I'm hoping someone can help me. I really dont want to boot to windows to load up books any longer
Vash is offline   Reply With Quote
Old 09-30-2007, 01:50 PM   #238
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: 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.
kovidgoyal is online now   Reply With Quote
Old 09-30-2007, 01:57 PM   #239
Vash
Member
Vash began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2006
Device: Dell axim x30
Quote:
Originally Posted by kovidgoyal View Post
You can ignore that error. It's related to desktop integration. It will work fine without it.
cool! Thanks. Now I need to find the proper PyQT4 libs to make adding books work. Eric works well and seems to require the same libs, but I've the the restoreState dependency that I cant find the package that enables it..
Vash is offline   Reply With Quote
Old 09-30-2007, 02:00 PM   #240
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: 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
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

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 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


All times are GMT -4. The time now is 12:08 AM.


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