Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2007, 09:32 AM   #106
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
I reached to start libprs500 on my Debian Lenny using Sid packages for python. When I open the beta gui, I get this error:
Code:
PacketError: 'libprs500.devices.prs500.prstypes.Answer packets must have a length of atleast 16 bytes. Got initializer of 5 bytes.
Failed to perform job: Get metadata from device
Further device related error messages will not be shown while this message is visible.
Detailed traceback:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/libprs500/gui2/jobs.py", line 67, in run
  File "build/bdist.linux-i686/egg/libprs500/gui2/device.py", line 87, in books
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 168, in run_session
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 804, in books
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 168, in run_session
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 484, in get_file
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 403, in _bulk_read
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 390, in bulk_read_packet
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/prstypes.py", line 751, in __init__
PacketError: 'libprs500.devices.prs500.prstypes.Answer packets must have a length of atleast 16 bytes. Got initializer of 5 bytes.
And it doesn't show any book on my reader.

Last edited by iacchi; 08-25-2007 at 09:34 AM.
iacchi is offline   Reply With Quote
Old 08-25-2007, 10:38 AM   #107
Mitchll
Cave Dweller
Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.Mitchll once ate a cherry pie in a record 7 seconds.
 
Mitchll's Avatar
 
Posts: 220
Karma: 1986
Join Date: Oct 2006
Device: Ipad Sony reader prs-505 prs-900
I just loaded libprs500 on WIndows xp using the current file from your site. I am trying out the beta. I understand that after using it to convert book, the lrf file is stored only in db, is that correct. When I go to save book listed in library after conversion, I get the following error:

'NoneType' object is unsubscriptable
Detailed traceback:
Traceback (most recent call last):
File "main.py", line 472, in save_to_disk
File "libprs500\gui2\library.pyo", line 114, in save_to_disk
File "libprs500\library\database.pyo", line 1008, in export_to_dir
File "ntpath.pyo", line 67, in join
File "ntpath.pyo", line 53, in isabs
File "ntpath.pyo", line 119, in splitdrive
TypeError: 'NoneType' object is unsubscriptable

Also, I loaded the drivers in and removed connect drivers, BUt I can't transfer book to ereader.
I feel I'm missing the obvious here somewhere...please help an old man.
Mitchll is offline   Reply With Quote
Old 08-25-2007, 11:14 AM   #108
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by iacchi View Post
Maybe my python installation is stupid :P
It's a fact that I have the library.db in the C:\ folder, and from what I know, the C:\ folder is not writeable for a normal user without superuser rights. Maybe I'm wrong here.
Strange, what version of windows are you using?
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:14 AM   #109
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Adrian View Post
When I tried to do the Fetch news using the new GUI, I selected NY Times and put in my username and pass, but it then crashed, saying 'Bus error'. Fetching the news using the command line (and the same user/pass) still works though.
Hmm, try deleting the file ~/library1.db (you will loose any books in the library, if that's a problem, rename it instead).
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:19 AM   #110
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
Quote:
Originally Posted by kovidgoyal View Post
Strange, what version of windows are you using?
Windows 2000 SP4
iacchi is offline   Reply With Quote
Old 08-25-2007, 11:22 AM   #111
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That would explain it. It is created under Documents and Settings in XP and Users\user in Vista both of which are user writable. You should open a bug with the python devs about their mapping of '~' to C:\ in 2000.
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:29 AM   #112
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by iacchi View Post
I reached to start libprs500 on my Debian Lenny using Sid packages for python. When I open the beta gui, I get this error:
Code:
PacketError: 'libprs500.devices.prs500.prstypes.Answer packets must have a length of atleast 16 bytes. Got initializer of 5 bytes.
Failed to perform job: Get metadata from device
Further device related error messages will not be shown while this message is visible.
Detailed traceback:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/libprs500/gui2/jobs.py", line 67, in run
  File "build/bdist.linux-i686/egg/libprs500/gui2/device.py", line 87, in books
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 168, in run_session
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 804, in books
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 168, in run_session
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 484, in get_file
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 403, in _bulk_read
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/driver.py", line 390, in bulk_read_packet
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/prstypes.py", line 751, in __init__
PacketError: 'libprs500.devices.prs500.prstypes.Answer packets must have a length of atleast 16 bytes. Got initializer of 5 bytes.
And it doesn't show any book on my reader.
What doe the followinf commands give you on the command line
Code:
prs500 info
prs500 books
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:48 AM   #113
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
Here you are:
Code:
iacopo@hp:~$ prs500 info
Device name:      Sony Reader
Device version:   PRS-500/U
Software version: 1.0.03.07170
Mime type:        application/x-bbeb-book
Code:
iacopo@hp:~$ prs500 books
Books in main memory:
1984 by George Orwell at /Data/media/books/CBUS12510000100J.lrf
The Italian’s Stolen Bride by Emma Darcy at /Data/media/books/CBUS12510000200K.lrf
Vanguard, Book One by David Mack at /Data/media/books/CBUS12510000300L.lrf
Excavation by James Rollins at /Data/media/books/CBUS12510000400M.lrf
Operation Guide by Sony Corporation at /Data/media/books/PRS500_OG.pdf
American Gods by Neil Gaiman at /Data/media/books/[ebook - ita] Neil Gaiman - American Gods.lrf
Il giro del mondo in 80 giorni by Jules Verne at /Data/media/books/[ebook - ita] Jules Verne - Il Giro Del Mondo In 80 Giorni.lrf
Sei personaggi in cerca d'autore by Luigi Pirandello at /Data/media/books/[ebook - ita] Luigi Pirandello - Sei Personaggi In Cerca D'Autore.lrf
Dalla terra alla luna by Jules Verne at /Data/media/books/[ebook - ita] Jules Verne - Dalla Terra Alla Luna.lrf
L'America secondo Giobbe by Giobbe Covatta at /Data/media/books/[ebook - ita] Giobbe Covatta - L' America secondo Giobbe.lrf
La storia di Otto Sync e White Knight by Unknown at /Data/media/books/La storia di Otto Sync e White Knight.pdf
Introduzione al quantum computing by Unknown at /Data/media/books/Introduzione al quantum computing.pdf
Harry Potter and the sorcerer's stone by Unknown at /Data/media/books/Harry Potter and the sorcerer's stone.rtf
La coscienza di Zeno by Italo Svevo at /Data/media/books/libprs500_11.lrf
Il libro dei cognomi strani by Anonimo at /Data/media/books/libprs500_17.lrf
Il dottor Futuro by Philip K. Dick at /Data/media/books/libprs500_16.lrf
The BBC [sab, 25 ago, 2007] by libprs500 at /Data/media/books/libprs500_0.3.104_n2pAeg.lrf

Books on storage card:
iacchi is offline   Reply With Quote
Old 08-25-2007, 11:48 AM   #114
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Mitchll View Post
I just loaded libprs500 on WIndows xp using the current file from your site. I am trying out the beta. I understand that after using it to convert book, the lrf file is stored only in db, is that correct. When I go to save book listed in library after conversion, I get the following error:

'NoneType' object is unsubscriptable
Detailed traceback:
Traceback (most recent call last):
File "main.py", line 472, in save_to_disk
File "libprs500\gui2\library.pyo", line 114, in save_to_disk
File "libprs500\library\database.pyo", line 1008, in export_to_dir
File "ntpath.pyo", line 67, in join
File "ntpath.pyo", line 53, in isabs
File "ntpath.pyo", line 119, in splitdrive
TypeError: 'NoneType' object is unsubscriptable

Also, I loaded the drivers in and removed connect drivers, BUt I can't transfer book to ereader.
I feel I'm missing the obvious here somewhere...please help an old man.
The save to disk error is a bug that will be fixed in the next version. When you say you cannot transfer books to the reader what do you mean? Does the reader icon not show up in the GUI?
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:49 AM   #115
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by iacchi View Post
Here you are:
Code:
iacopo@hp:~$ prs500 info
Device name:      Sony Reader
Device version:   PRS-500/U
Software version: 1.0.03.07170
Mime type:        application/x-bbeb-book
Code:
iacopo@hp:~$ prs500 books
Books in main memory:
1984 by George Orwell at /Data/media/books/CBUS12510000100J.lrf
The Italian’s Stolen Bride by Emma Darcy at /Data/media/books/CBUS12510000200K.lrf
Vanguard, Book One by David Mack at /Data/media/books/CBUS12510000300L.lrf
Excavation by James Rollins at /Data/media/books/CBUS12510000400M.lrf
Operation Guide by Sony Corporation at /Data/media/books/PRS500_OG.pdf
American Gods by Neil Gaiman at /Data/media/books/[ebook - ita] Neil Gaiman - American Gods.lrf
Il giro del mondo in 80 giorni by Jules Verne at /Data/media/books/[ebook - ita] Jules Verne - Il Giro Del Mondo In 80 Giorni.lrf
Sei personaggi in cerca d'autore by Luigi Pirandello at /Data/media/books/[ebook - ita] Luigi Pirandello - Sei Personaggi In Cerca D'Autore.lrf
Dalla terra alla luna by Jules Verne at /Data/media/books/[ebook - ita] Jules Verne - Dalla Terra Alla Luna.lrf
L'America secondo Giobbe by Giobbe Covatta at /Data/media/books/[ebook - ita] Giobbe Covatta - L' America secondo Giobbe.lrf
La storia di Otto Sync e White Knight by Unknown at /Data/media/books/La storia di Otto Sync e White Knight.pdf
Introduzione al quantum computing by Unknown at /Data/media/books/Introduzione al quantum computing.pdf
Harry Potter and the sorcerer's stone by Unknown at /Data/media/books/Harry Potter and the sorcerer's stone.rtf
La coscienza di Zeno by Italo Svevo at /Data/media/books/libprs500_11.lrf
Il libro dei cognomi strani by Anonimo at /Data/media/books/libprs500_17.lrf
Il dottor Futuro by Philip K. Dick at /Data/media/books/libprs500_16.lrf
The BBC [sab, 25 ago, 2007] by libprs500 at /Data/media/books/libprs500_0.3.104_n2pAeg.lrf

Books on storage card:

Hmm and you still get the error in the GUI?
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 11:52 AM   #116
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
I have another error now, but still I can't access to my reader memory from the GUI, while I have no problem with the old one:
Code:
iacopo@hp:~$ libprs500-beta
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/libprs500/gui2/library.py", line 507, in sort
  File "build/bdist.linux-i686/egg/libprs500/gui2/library.py", line 496, in datecmp
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/books.py", line 47, in __get__
  File "build/bdist.linux-i686/egg/libprs500/devices/prs500/books.py", line 66, in <lambda>
  File "_strptime.py", line 330, in strptime
    (data_string, format))
ValueError: time data did not match format:  data=Fri, 24 Aug 2007 23:57:12 GMT  fmt=%a, %d %b %Y %H:%M:%S %Z
iacchi is offline   Reply With Quote
Old 08-25-2007, 11:57 AM   #117
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
I get this error while triing to upload an rlf file using the old GUI:
Code:
Unable to send La coscienza di Zeno to device
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/libprs500/gui/main.py", line 349, in upload_books
File "build/bdist.linux-i686/egg/libprs500/gui/main.py", line 290, in update_models
File "build/bdist.linux-i686/egg/libprs500/gui/widgets.py", line 738, in sort
File "build/bdist.linux-i686/egg/libprs500/gui/widgets.py", line 731, in 
File "build/bdist.linux-i686/egg/libprs500/devices/prs500/books.py", line 47, in __get__
File "build/bdist.linux-i686/egg/libprs500/devices/prs500/books.py", line 66, in 
File "_strptime.py", line 330, in strptime
(data_string, format))
ValueError: time data did not match format: data=Fri, 01 Sep 2006 00:00:34 GMT fmt=%a, %d %b %Y %H:%M:%S %Z
iacchi is offline   Reply With Quote
Old 08-25-2007, 12:02 PM   #118
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Wow Debian Lenny is cursed. That is an impossible error. According to the error message the fmt string doesn't match the date string, but they do as copy pasting them onto my system shows. I'm at a loss.
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 12:42 PM   #119
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by iacchi View Post
I was able to load the new GUI. With this one, the RTF file problem disappears but not the one with the lrf files.

In the attachment you find a zip file with two books (in the original lit format and in the converted lrf one). If I load them with the connect software (using my other computer with winXP) everything goes well; if I use libprs500 the one with the "cognomi" word in its name (sorry they're in italian) just show up a blank page when I try to open it and force the reader to auto-reset. The other one doesn't show the end page when you open its summary (the menu option "End", just to be clear) and if you open it, it block the reader (you can unlock it plugging it to the PC).

For the linux error, if you don't mind I'll post the error message tomorrow. It's 2 o'clock in the morning here and I think I'll go to bed.
Both LRF files worked for me when I transfered them using the beta GUI.
kovidgoyal is offline   Reply With Quote
Old 08-25-2007, 01:33 PM   #120
iacchi
Zealot
iacchi is on a distinguished road
 
iacchi's Avatar
 
Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
I don't know what to say. I'll try libprs500 on WinXP, too.
iacchi is offline   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 06:24 PM.


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