Thread: CantOpenError
View Single Post
Old 12-05-2017, 02:55 AM   #6
rfcdvc45
Junior Member
rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.rfcdvc45 is that somebody.
 
Posts: 4
Karma: 45500
Join Date: Dec 2017
Device: Kindle Voyage
Quote:
Originally Posted by BetterRed View Post
However, just to be sure, try excluding the calibre install directory in the Windows Defender Security Settings->Virus & threat protection settings panel - should only takes a moment to check.


For diagnostic purposes only, try
  • running calibre in Windows Safe Mode;
  • running calibre as Administrator;
  • using the CALIBRE_OVERRIDE_DATABASE_PATH Environment Variable to relocate the library database to somewhere like C:\calibre

BR
BetterRed, Thanks again for the suggestions. However the plot thickens as I attempted to create the exception in Defender, per your advice. When I open the install directory, "C:\Program Files\Calibre2", I notice that the files and folders therein are all screwed up. A correct install dir would have four folders (DLLs, Microsoft.VC90.CRT, plugins2, qt_plugins, & resources). Instead I have one folder named "app". Inside the "app" folder are the DLLs, qt_plugins, & resources folders, plus the "pylib.zip" file. How does this happen? I've uninstalled/reinstalled several times and the contents of the Calibre2 folder still comes out this way. And each time I get an error, "Error 1900," I think, about failure to create link/or shortcut.

See attached screenshots of Calibre2 and app folders:

I'm convinced that Defender is not blocking the metadata.db file, and I doubt that the Safe Mode/CALIBRE_OVERRIDE_DATABASE_PATH solution would resolve anything, as I the library is not on a network drive.

There must be some way I can cleanly reinstall Calibre and get the correct Calibre2 folder structure and content. But every time I try, the install dir comes up this same way. Very frustrating! What am I doing wrong?
Attached Thumbnails
Click image for larger version

Name:	Calibre2 Folder.png
Views:	281
Size:	86.4 KB
ID:	160426   Click image for larger version

Name:	app folder.png
Views:	278
Size:	42.8 KB
ID:	160427  
rfcdvc45 is offline   Reply With Quote