Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2018, 10:52 AM   #1
TomSpot
Junior Member
TomSpot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2018
Device: Samsung Galaxy Tab A 10.1
Angry IOError: [Errno 22] Invalid argument

Recently I've relocated my Calibre database and after that I've updated to 3.28. Every title I select leads to IOError: [Errno 22] Invalid argument .

Can anyone support me on this error?

Thanks!!

calibre, version 3.28.0
FOUT: Niet afgehandelde fout: <b>IOError</b>:[Errno 22] Invalid argument

calibre 3.28 [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: nl
Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 548, in current_changed
File "site-packages\calibre\gui2\library\models.py", line 533, in get_book_display_info
File "site-packages\calibre\gui2\library\models.py", line 711, in cover
File "site-packages\calibre\db\legacy.py", line 338, in cover
File "site-packages\calibre\db\cache.py", line 683, in cover
File "site-packages\calibre\db\cache.py", line 63, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 724, in copy_cover_to
File "site-packages\calibre\db\backend.py", line 1367, in copy_cover_to
File "shutil.py", line 49, in copyfileobj
IOError: [Errno 22] Invalid argument
TomSpot is offline   Reply With Quote
Old 07-31-2018, 05:36 PM   #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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Relocated your database to where? That error typically happens if you have oved your calibre library to some location such that the path is too long for windows or the path contains unicode characters that aren't representable in the default codepage, etc. Move your calibre library to a simple folder such as c:\library and you should be fine.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-03-2018, 03:59 AM   #3
TomSpot
Junior Member
TomSpot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2018
Device: Samsung Galaxy Tab A 10.1
Thank you very much for replying. I just found the mistake.

I've relocated Calibre's database to a OneDrive location. However I forgot to permit OneDrive to start-up on Windows startup. So any Calibre data change led to the error.
TomSpot is offline   Reply With Quote
Old 08-03-2018, 03:30 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by TomSpot View Post
Thank you very much for replying. I just found the mistake.

I've relocated Calibre's database to a OneDrive location. However I forgot to permit OneDrive to start-up on Windows startup. So any Calibre data change led to the error.
You might want to relocate it back to your computer. Calibre and cloud storage are not happy campers.
DNSB is offline   Reply With Quote
Old 08-04-2018, 03:31 AM   #5
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Quote:
Originally Posted by DNSB View Post
You might want to relocate it back to your computer. Calibre and cloud storage are not happy campers.
I have seen various warnings about Calibre and cloud storage before, and I sure there is something to them...but I have successfully kept my Calibre library in Dropbox for many years now. I only run Calibre when I need to add new books, and it is generally not running when I access the Dropbox location from other devices. So in my experience cloud storage is doable, and it means I can access my books remotely (without having to have an always-on Calibre host); but do it at your own risk.
ShellShock is offline   Reply With Quote
Advert
Old 08-04-2018, 04:41 PM   #6
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,168
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ShellShock View Post
I have seen various warnings about Calibre and cloud storage before, and I sure there is something to them...but I have successfully kept my Calibre library in Dropbox for many years now. I only run Calibre when I need to add new books, and it is generally not running when I access the Dropbox location from other devices. So in my experience cloud storage is doable, and it means I can access my books remotely (without having to have an always-on Calibre host); but do it at your own risk.
Sounds as if you are trying to avoid the conflicts that seem to be the cause of issues when using calibre and cloud storage. As you said, do it at your own risk when it is so tempting to start accessing your library using calibre on another computer.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help Needed] Calibre IOError: [Errno 13] Kyrylys Calibre 3 08-13-2017 05:28 PM
IOError: [Errno 22] invalid mode ('w') or filename JessRawesome Calibre 6 02-17-2015 09:15 PM
IOError: [Errno 22] Invalid argument jkcoder Calibre 5 09-25-2010 09:28 AM
IOError: [Errno 13] Permission denied s3ntient Calibre 3 02-20-2010 02:01 PM
IOError errno 5? codemac Calibre 11 10-22-2009 02:36 PM


All times are GMT -4. The time now is 12:57 PM.


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