![]() |
#106 |
Zealot
![]() 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. Last edited by iacchi; 08-25-2007 at 09:34 AM. |
![]() |
![]() |
![]() |
#107 |
Cave Dweller
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#108 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Strange, what version of windows are you using?
|
![]() |
![]() |
![]() |
#109 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm, try deleting the file ~/library1.db (you will loose any books in the library, if that's a problem, rename it instead).
|
![]() |
![]() |
![]() |
#110 |
Zealot
![]() Posts: 122
Karma: 66
Join Date: Jul 2007
Location: Melbourne
Device: PRS-500; Boox C67ML; Boox Max
|
|
![]() |
![]() |
![]() |
#111 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#112 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Code:
prs500 info prs500 books |
|
![]() |
![]() |
![]() |
#113 |
Zealot
![]() 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: |
![]() |
![]() |
![]() |
#114 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#115 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Hmm and you still get the error in the GUI? |
|
![]() |
![]() |
![]() |
#116 |
Zealot
![]() 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 |
![]() |
![]() |
![]() |
#117 |
Zealot
![]() 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 |
![]() |
![]() |
![]() |
#118 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#119 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
#120 |
Zealot
![]() 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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |