![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1
|
Error calibre OSX: 'int' object has no attribute 'replace'
Hi,
Since quite some time I get the error message below when trying to use callibre to transfer ebooks to my Sony PSR-T1 on a Max OSX Snow Lion. Does anybody has a similar problem and found a way to solve this. Right now I cant use callibre anymore due to this problem .... Thanks a lot martin -------- calibre, version 0.9.6 ERROR: Error: Error communicating with device 'int' object has no attribute 'replace' Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 85, in run File "site-packages/calibre/gui2/device.py", line 470, in _books File "site-packages/calibre/devices/prst1/driver.py", line 162, in books File "site-packages/calibre/devices/usbms/driver.py", line 246, in books File "site-packages/calibre/devices/prst1/driver.py", line 245, in sync_booklists File "site-packages/calibre/devices/prst1/driver.py", line 277, in update_device_database File "site-packages/calibre/devices/prst1/driver.py", line 443, in update_device_books File "site-packages/calibre/devices/prst1/driver.py", line 385, in read_device_books AttributeError: 'int' object has no attribute 'replace' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,201
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try deleting the books.db file from your reader. It appears to have some corrupted records.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1
|
Great, that did the trick, thanks a lot for the quick reply and your awesome program.
Martin |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2012
Device: Sony PRS-T1
|
Just as a suggestion, maybe you can consider catching this error in your program and give a error message suggesting to delete the books.db file as it seems to be corrupt. When I tried to find a solution for the problem I had before asking here I found quite some people posting here and there that they have a similar problem.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'NoneType' object has no attribute 'tag'? | gweminence | Calibre | 7 | 09-13-2011 10:03 AM |
Adding <guide> produces error: "Nonetype object has no attribute 'lower' | MichaelKaufman | ePub | 2 | 08-19-2011 06:39 PM |
AttributeError: 'NoneType' object has no attribute 'replace' when trying to add books | tilleydog | Calibre | 16 | 10-04-2010 04:29 AM |
'BookList' object has no attribute 'add_books' Error message | nomedia | Calibre | 4 | 09-29-2008 01:50 AM |