Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2012, 01:09 AM   #1
dorjeduck
Junior Member
dorjeduck began at the beginning.
 
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'
dorjeduck is offline   Reply With Quote
Old 11-28-2012, 01:33 AM   #2
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: 43,850
Karma: 22666666
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-28-2012, 02:54 AM   #3
dorjeduck
Junior Member
dorjeduck began at the beginning.
 
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
dorjeduck is offline   Reply With Quote
Old 11-28-2012, 10:53 PM   #4
dorjeduck
Junior Member
dorjeduck began at the beginning.
 
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.
dorjeduck is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:18 AM.


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