![]() |
#1 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() 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
|
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
I bet it has problems. But open Windows Security: see picture to what to use to exclude |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,621
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() 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 |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() 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.
|
![]() |
![]() |
![]() |
#9 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#10 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
![]() That said, the 2 port USB cable. ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
#12 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
![]() 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 ![]() |
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
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" |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() 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? |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |