Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2014, 06:39 AM   #1
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
Calibre Error

I keep getting the following error when Calibre is running.


Quote:
calibre, version 1.23.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'replace'

calibre 1.23 isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 393, in dispatch
File "site-packages\calibre\gui2\actions\convert.py", line 261, in book_converted
File "site-packages\calibre\db\legacy.py", line 277, in add_format
File "site-packages\calibre\db\cache.py", line 1257, in add_format
AttributeError: 'NoneType' object has no attribute 'replace'
I an running Win 7 Professional and everything is updated. Any suggestions on how I can fix this? or where to submit a support ticket?
CaseIH is offline   Reply With Quote
Old 02-09-2014, 07:22 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by CaseIH View Post
I an running Win 7 Professional and everything is updated. Any suggestions on how I can fix this? or where to submit a support ticket?
http://calibre-ebook.com/bugs
DoctorOhh is offline   Reply With Quote
Advert
Old 02-09-2014, 07:23 AM   #3
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates your database is corrupted. Run the restore database tool, or delete all books and re-add them.
kovidgoyal is offline   Reply With Quote
Old 02-09-2014, 07:36 AM   #4
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
Where is the restore database tool at? Is it a plugin?
CaseIH is offline   Reply With Quote
Old 02-09-2014, 08:05 AM   #5
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Click the library icon in the toolbar, then select the Library Maintenance submenu.

G
GRiker is offline   Reply With Quote
Advert
Old 02-10-2014, 01:10 PM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
... while no device is connected.
HarryT is offline   Reply With Quote
Old 02-10-2014, 01:51 PM   #7
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
Okay I did the restore database. While merging the doubles in my library I got the same error again. (pasted below)

If I delete calibre and then add it again and all my books would this fix the problem?

calibre, version 1.23.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'replace'

calibre 1.23 isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 393, in dispatch
File "site-packages\calibre\gui2\actions\convert.py", line 261, in book_converted
File "site-packages\calibre\db\legacy.py", line 277, in add_format
File "site-packages\calibre\db\cache.py", line 1257, in add_format
AttributeError: 'NoneType' object has no attribute 'replace'
CaseIH is offline   Reply With Quote
Old 02-10-2014, 07:39 PM   #8
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can you post the metadata.db file from your calibre library. That error is exceedingly unusual and I would like to understand why it is happening.
kovidgoyal is offline   Reply With Quote
Old 02-11-2014, 02:23 AM   #9
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
Kovid if you tell me how I would be happy to post it. Please remember I am a 60 year old woman and will need step by step instructions. Sorry

I found these files in my calibre library folder. Maybe I have to many and that is why I am having a problem?

metadata (2)
metadata (3)
metadata
metadata_db_prefs_backup (2).json
metadata_db_prefs_backup.json
metadata_pre_restore

Last edited by CaseIH; 02-11-2014 at 02:35 AM.
CaseIH is offline   Reply With Quote
Old 02-11-2014, 02:54 AM   #10
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Post the file "metadata"

Just scroll down the page when you are replying to this and you will see a button labeled "Manage attachments" that will allow you to attach the file.
kovidgoyal is offline   Reply With Quote
Old 02-11-2014, 03:18 AM   #11
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
I keep getting the following message when trying to attach the files

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
CaseIH is offline   Reply With Quote
Old 02-11-2014, 04:53 AM   #12
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,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by CaseIH View Post
I keep getting the following message when trying to attach the files

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
@CaseIH, I don't think you can attach a database file (metadata.db) file on this forum, best thing is to put in a zip and upload that.

BR
BetterRed is offline   Reply With Quote
Old 02-11-2014, 05:13 AM   #13
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
@CaseIH, I don't think you can attach a database file (metadata.db) file on this forum, best thing is to put in a zip and upload that.

BR
That does now work either any other suggestions?
CaseIH is offline   Reply With Quote
Old 02-11-2014, 08:44 AM   #14
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,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well, if you are unable to attach the file, I will commit a fix anyway, based on that error message. Hopefully it will fix your problem. Wait for this Friday's calibre release.
kovidgoyal is offline   Reply With Quote
Old 02-11-2014, 09:00 AM   #15
CaseIH
Member
CaseIH began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Feb 2014
Device: Kindle
I can tell you it only happens when I am converting to a different format. If I am just adding the metadata to any books it does not happen.
CaseIH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Calibre georgek8734 Conversion 1 01-08-2013 12:31 AM
Latest Calibre gives me the error "'calibre.app' is damaged and can't be opened." Gary King Calibre 5 10-24-2012 06:15 AM
Calibre plugIn Kindle Collections Error message "Value Error:month..." readee Plugins 4 10-10-2011 11:21 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
Calibre Error jbjb Calibre 2 05-19-2009 04:53 AM


All times are GMT -4. The time now is 07:50 PM.


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