Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2019, 01:08 AM   #1
dae
Junior Member
dae began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: none
IO error started to happen

I get this error message when starting up. Cannot add new books, other parts of program just shut down instantly. I have tried reinstalling calibre 3 times, both 32 and 64 bit.

calibre, version 4.2.0
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 292, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 236, in start_gui
File "site-packages\calibre\gui2\ui.py", line 434, in initialize
File "site-packages\calibre\gui2\init.py", line 781, in save_layout_state
File "site-packages\calibre\gui2\library\views.py", line 636, in save_state
File "site-packages\calibre\gui2\library\views.py", line 630, in write_state
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 616, in set_pref
File "site-packages\calibre\db\backend.py", line 134, in set
File "site-packages\calibre\db\backend.py", line 131, in __setitem__
IOError: IOError: disk I/O error

I've run chkdsk, and there is no error. I think this may be a Windows update issue. I have not been able to rollback latest windows updates (they immediately reinstall themselves).

What to do?
dae is offline   Reply With Quote
Old 10-26-2019, 02:02 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,186
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IO errors can also be caused by antivirus programs tr excluding the calibre library folder from your antivirus
kovidgoyal is online now   Reply With Quote
Advert
Old 10-26-2019, 11:41 AM   #3
dae
Junior Member
dae began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: none
I use Windows Defender and don't see any place to exclude a folder. I have had the program for a long time, and never had this problem before.

Is there a way to *completely* remove all traces of Calibre from the registry and any files (local app directories, etc), so I can try I clean re-install?
dae is offline   Reply With Quote
Old 10-26-2019, 12:23 PM   #4
dae
Junior Member
dae began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: none
The problem seems to be related to connecting to the USB D drive where the libraries are located
dae is offline   Reply With Quote
Old 10-26-2019, 01:04 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dae View Post
The problem seems to be related to connecting to the USB D drive where the libraries are located
Run the disk check on D:
I bet it has problems.

But open Windows Security: see picture to what to use to exclude
Attached Thumbnails
Click image for larger version

Name:	defender.JPG
Views:	99
Size:	40.3 KB
ID:	174549  
theducks is offline   Reply With Quote
Advert
Old 10-26-2019, 03:41 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,110
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
Run the disk check on D:
I bet it has problems.

But open Windows Security: see picture to what to use to exclude

Windows Security doesn't need to exclude Calibre 4. I'm running Windows Security and I have not excluded Calibre.
JSWolf is offline   Reply With Quote
Old 10-26-2019, 05:24 PM   #7
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,621
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
since 2009

What happens if you power down the drive and start calibre, I think it will create an empty library at 'C:\Users\<username>\Calibre Library' - if you can add books to that then the USB drive is flaky.

Do you have a backup of your library?

BR
BetterRed is offline   Reply With Quote
Old 10-26-2019, 06:05 PM   #8
dae
Junior Member
dae began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: none
Chkdsk reports no errors on my USB D: drive. No other program seems to have problems accessing it. I was able to 'hide' the library directories on it, so Calibre set up a new library on C:\. I don't seem to have lost any data on D:\. I have to figure out how to transfer the directories to C: so that Calibre sees the books. I don't want to transfer them one by one.
dae is offline   Reply With Quote
Old 10-26-2019, 06:24 PM   #9
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,621
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
My experience is that chkdsk will find most errors but not all errors (especially timing errors), especially on external drives - just because it found no errors doesn't mean there are none

Did you try attaching drive to another usb port, and with a different cable, If the drive draws power from the USB connection you should use a double usb cable.

Copy the library folder - in its entirety - to another drive, browse to it in Library Create/Switch, select the Use the previously existing library at the new location option.

BR
BetterRed is offline   Reply With Quote
Old 10-26-2019, 08:58 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I really recommend that the drive have its own power source. Intensive disk access may expose weak port power when you least want it.
That said, the 2 port USB cable.

And DON'T try any USB powered HD on a UNPOWERED hub. (The powered hub should have at least a 5V 2+ Amp supply. Each port can supply 1/2 amp, so multiply ports by .5 and the toss in an extra .5 for the Hub and losses)
theducks is offline   Reply With Quote
Old 10-27-2019, 04:44 AM   #11
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
i have had issues with USB drives in unpowered Dell PC front hubs: frequent IO fails which go away as soon as I use a powered drive. some ports must be right at the minimum limit of what USB spec dictates and simply cannot power a drive properly for data flow. but those same ports are ok for low power stuff like a keyboard or game controller
stumped is offline   Reply With Quote
Old 10-27-2019, 06:04 AM   #12
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,899
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by stumped View Post
i have had issues with USB drives in unpowered Dell PC front hubs: frequent IO fails which go away as soon as I use a powered drive. some ports must be right at the minimum limit of what USB spec dictates and simply cannot power a drive properly for data flow. but those same ports are ok for low power stuff like a keyboard or game controller
Technically speaking: ALL USB ports ARE powered. (Pins 1 and 4)

Depending on the USB version #, the power available differed.
USB 1.0 was for low powered devices (mice,keyboard,joy stick)
USB 2.x is supposed to be 500 mA.

Crummy designs or poor craftsmanship probably accounts for why Front Ports fail to meet 'spec'. (When the founder was there, Dells were solid. Then... they got cheap , not even a spare Molex plug at the drive bay. )
theducks is offline   Reply With Quote
Old 10-27-2019, 06:13 AM   #13
stumped
Wizard
stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.stumped ought to be getting tired of karma fortunes by now.
 
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
Quote:
Originally Posted by theducks View Post
Technically speaking: ALL USB ports ARE powered. (Pins 1 and 4)

Depending on the USB version #, the power available differed.
USB 1.0 was for low powered devices (mice,keyboard,joy stick)
USB 2.x is supposed to be 500 mA.

Crummy designs or poor craftsmanship probably accounts for why Front Ports fail to meet 'spec'. (When the founder was there, Dells were solid. Then... they got cheap , not even a spare Molex plug at the drive bay. )
i suspect dell did something sneaky to save a few cents - like putting 500ma total onto the hub, and leave the ports to squabble over who gets what. this was on the inspiron 3847 which i reckon was designed with all the cost savings they could get away with. even the reaktek audio chip sounded crap, compared with what was in older dells.

back on topic, some portable drives by design need all of that 500 ma to work, so if a specific PC only manages 499 and a specific drive tries to pull 501 then splat...
problem goes away with usb 3 ports , as they can deliver 2 amps, but then you can get other lack of backwards compatibility issues. Some ancient USB 2 stuff , that was built before USB3 arrived, does not seem to play nice in USB3 ports even though it " should"
stumped is offline   Reply With Quote
Old 10-27-2019, 02:47 PM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by stumped View Post
problem goes away with usb 3 ports , as they can deliver 2 amps, but then you can get other lack of backwards compatibility issues. Some ancient USB 2 stuff , that was built before USB3 arrived, does not seem to play nice in USB3 ports even though it " should"
You mean like almost anything that uses the 2.4GHz band? Like wireless keyboards or WiFi adapters? The devices don't need to be ancient. For example, I have had to move my WiFi mesh tower and my keyboard/mouse transmitters away from my USB 3 hub, otherwise they don't work at all. Similar problem with a webcam.

USB 3.0* Radio Frequency Interference on 2.4 GHz Devices

EDIT: My response sounds snarky. I didn't mean that. Sorry.

Last edited by chaley; 10-27-2019 at 02:50 PM.
chaley is offline   Reply With Quote
Old 10-28-2019, 07:43 PM   #15
dae
Junior Member
dae began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2019
Device: none
This is a Window 10 problem. Does anyone have a solution? Here is what is happening:

My D drive (many terrabytes) is connected by USB 3 to the PC. I can move/rename/delete files fine.

If I create a text file (*.txt) I can open it/modify it/save changes, no problems. I used EditPad lite, and Notepad++, both worked. I created and saved an *.rtf file which I opened with WordPad, made changes, and saved. Again no issues.

BUT

I cannot change anything on D using Calibre.
I also run Foxit Reader for PDFs. If a PDF is on the D Drive, I can't save edits (such as adding bookmarks.) I can make a copy of the same PDF, move it to the C drive and save edits.
I ran Libre Office Writer, and cannot save to the D Drive.

In all cases I get this General Input/Output Error msg.


Some crapola related to Win10 is not allowing certain programs (including Calibre) to write to the D Drive.

It is not the drive. Chkdsk reports no errors. What can be causing this issue?
dae is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle PW, Application Error, The selected application could not be started Imran Ahmad Kindle Developer's Corner 3 05-16-2021 09:52 AM
Just started Getting Error Message Thasaidon Calibre 3 07-21-2017 08:13 AM
Does this happen to anyone else? Sydney's Mom Calibre 2 01-05-2014 05:03 AM
Error message: The file did not exist when this move operation was started Sternchen Calibre 12 11-24-2012 08:11 PM
hello from happen Happen Introduce Yourself 15 08-28-2009 02:29 AM


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


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