|  10-26-2019, 01:08 AM | #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? | 
|   |   | 
|  10-26-2019, 02:02 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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
		 | 
|   |   | 
|  10-26-2019, 11:41 AM | #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? | 
|   |   | 
|  10-26-2019, 12:23 PM | #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
		 | 
|   |   | 
|  10-26-2019, 01:04 PM | #5 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 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 | |
|   |   | 
|  10-26-2019, 03:41 PM | #6 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | |
|   |   | 
|  10-26-2019, 05:24 PM | #7 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 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 | 
|   |   | 
|  10-26-2019, 06:05 PM | #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.
		 | 
|   |   | 
|  10-26-2019, 06:24 PM | #9 | 
| null operator (he/him)            Posts: 22,010 Karma: 30277294 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-26-2019, 08:58 PM | #10 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 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) | 
|   |   | 
|  10-27-2019, 04:44 AM | #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
		 | 
|   |   | 
|  10-27-2019, 06:04 AM | #12 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
  (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. ) | |
|   |   | 
|  10-27-2019, 06:13 AM | #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" | |
|   |   | 
|  10-27-2019, 02:47 PM | #14 | |
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 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. | |
|   |   | 
|  10-28-2019, 07:43 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? | 
|   |   | 
|  | 
| 
 | 
|  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 |