View Single Post
Old 12-28-2013, 04:05 PM   #16
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,836
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Thumbs down

Well not quite perfect, when I switched from my Test Library back to my Main library after doing the test I got several of the following errors (about 8 I think)

Code:
calibre, version 1.17.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'split'

calibre 1.17 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "calibre_plugins.prince_pdf.main", line 101, in update_info
AttributeError: 'NoneType' object has no attribute 'split'
  • Calibre starts with my Main library, so it was current when I saw the new version notification in the status line
  • I switched to my Test library and updated the plug by clicking on the notification
  • I did my tests
  • Then switched back to my main library and got those errors
So I reinstalled the earlier version and repeated the above - but this time I updated the PI first - i.e. before I switched to the Test library. But I still got the errors when I switched back to Main

And when I switch from Main back to Test I get series of these errors

Code:
calibre, version 1.17.0
ERROR: Unhandled exception: <b>AttributeError</b>:'LibraryDatabase' object has no attribute 'new_api'

calibre 1.17 [64bit]  isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "calibre_plugins.prince_pdf.main", line 101, in update_info
  File "site-packages\calibre\db\legacy.py", line 556, in formats
AttributeError: 'LibraryDatabase' object has no attribute 'new_api'
Its a problem specific to this PI, because I repeated the exercise with the ePUBSplit (ie updating to a new version) and did not get the problems, and if I remove the Prince PDF PI I don't get the problems.

I think you should be able to replicate this problem in Linux, but you'll need more than one library.

BR
BetterRed is online now   Reply With Quote