Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2018, 08:43 AM   #1
FurphyMcMurphy
Junior Member
FurphyMcMurphy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2018
Device: Windows10
Errno 9, when changing cover?

Unable to change Cover?

Edit Metadata individually.
Download cover.
Select new cover.
OK

IOError! Help! Here are the details:

calibre, version 3.30.0
ERROR: Unhandled exception: <b>IOError</b>:[Errno 9] Bad file descriptor

calibre 3.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.17134-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
File "site-packages\calibre\gui2\metadata\single.py", line 613, in accept
File "site-packages\calibre\gui2\metadata\single.py", line 588, in apply_changes
File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 1235, in commit
File "site-packages\calibre\db\legacy.py", line 713, in set_cover
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1230, in set_cover
File "site-packages\calibre\db\backend.py", line 1425, in set_cover
File "site-packages\calibre\utils\img.py", line 222, in save_cover_data_to
IOError: [Errno 9] Bad file descriptor
FurphyMcMurphy is offline   Reply With Quote
Old 08-25-2018, 10:39 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: 45,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a strange error, it implies calibre was unable to write to a file it has just successfully opened for writing. The only way I know of for that to happen, is kernel/filesystem driver bugs. Is you calibre library located somewhere unusual such as a networked drive or on a drive with a non-NTFS filesystem?
kovidgoyal is online now   Reply With Quote
Advert
Old 08-26-2018, 01:45 AM   #3
FurphyMcMurphy
Junior Member
FurphyMcMurphy began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2018
Device: Windows10
Tried uninstalling and reinstalling--new error--help!

Is there a problem with running 32-bit Calibre on a 64-bit machine?
Here is the error:

calibre, version 3.30.0
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file

calibre 3.30 embedded-python: True is64bit: False
Windows-10-10.0.17134-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\alternate_views.py", line 774, in double_clicked
File "site-packages\calibre\gui2\actions\view.py", line 244, in view_triggered
File "site-packages\calibre\gui2\actions\view.py", line 327, in _view_books
File "site-packages\calibre\gui2\actions\view.py", line 279, in _view_calibre_books
File "site-packages\calibre\gui2\actions\view.py", line 107, in view_format_by_id
File "site-packages\calibre\gui2\actions\view.py", line 294, in update_history
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 617, in set_pref
File "site-packages\calibre\db\backend.py", line 133, in set
File "site-packages\calibre\db\backend.py", line 129, in __setitem__
File "site-packages\calibre\db\backend.py", line 843, in execute
File "c:\t\t\apsw-bdov6u\apsw-3.23.1-r1\src\cursor.c", line 236, in resetcursor
CantOpenError: CantOpenError: unable to open database file
FurphyMcMurphy is offline   Reply With Quote
Old 08-26-2018, 02:05 AM   #4
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,353
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No there are no problems with running 32bit calibre on 64bit machines. Your problems all stem fro putting your calibre library folder on a broken filesystem.
kovidgoyal is online now   Reply With Quote
Old 08-26-2018, 02:12 AM   #5
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,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by FurphyMcMurphy View Post
Is there a problem with running 32-bit Calibre on a 64-bit machine?
Here is the error:

calibre, version 3.30.0
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file

Spoiler:
calibre 3.30 embedded-python: True is64bit: False
Windows-10-10.0.17134-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\alternate_views.py", line 774, in double_clicked
File "site-packages\calibre\gui2\actions\view.py", line 244, in view_triggered
File "site-packages\calibre\gui2\actions\view.py", line 327, in _view_books
File "site-packages\calibre\gui2\actions\view.py", line 279, in _view_calibre_books
File "site-packages\calibre\gui2\actions\view.py", line 107, in view_format_by_id
File "site-packages\calibre\gui2\actions\view.py", line 294, in update_history
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 617, in set_pref
File "site-packages\calibre\db\backend.py", line 133, in set
File "site-packages\calibre\db\backend.py", line 129, in __setitem__
File "site-packages\calibre\db\backend.py", line 843, in execute
File "c:\t\t\apsw-bdov6u\apsw-3.23.1-r1\src\cursor.c", line 236, in resetcursor
CantOpenError: CantOpenError: unable to open database file
Nope, I run 32bit calibre on 64bit system frequently.

That message suggests it's a problem with the metadata.db file in the library it's trying to open, like something has it locked, or its badly corrupted. Try shutting down your AV.

BR
BetterRed is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing ebook cover MrOneTwo Library Management 5 09-07-2017 10:18 PM
Changing Cover Issues BeccaPrice Calibre 1 04-20-2012 01:13 PM
Problem when changing cover Catlady Conversion 7 11-17-2011 09:59 AM
Changing the cover image tecweston Library Management 4 09-27-2011 05:07 PM
Changing cover for catalog Terisa de morgan Library Management 2 03-11-2011 02:57 AM


All times are GMT -4. The time now is 05:57 AM.


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