You are here

Calibre 5.0.1 Unhandled Exception

19 posts / 0 new
Last post
paulvp
Offline
Last seen: 4 months 1 week ago
Joined: 2017-04-16 17:21
Calibre 5.0.1 Unhandled Exception

I've just updated Calibre to version 5.0.1 and find that the program won't run. Instead I get an error window titled: Unhandled exception running calibre.
The error message says:
---------------------------
Unhandled exception running calibre
---------------------------
Traceback (most recent call last):
File "site.py", line 89, in
File "site.py", line 84, in main
File "site.py", line 55, in run_entry_point
File "site-packages\calibre\gui_launch.py", line 71, in calibre
File "site-packages\calibre\gui_launch.py", line 51, in register_with_default_programs
File "", line 259, in load_module
File "site-packages\calibre\gui2\__init__.py", line 16, in
ImportError: cannot import name 'QT_VERSION' from 'PyQt5.Qt' (C:\PortableApps\calibrePortable\App\Calibre\app\bin\pyqt5.Qt.pyd)

---------------------------
OK
---------------------------

I'm running Windows 10 Pro x64 2004

Thanks fro any help
Paul vP

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Working here, More Details

It's working here on both my upgrade and fresh install on Windows 10 x64 build 1903. Please "include system details (OS version, 32 vs 64-bit, install path, new vs upgrade, etc)" as well as any additional relevant details (antivirus, antimalware, whether a local copy works, etc) and anything else you think my be interfering with the app on your PC. Also try it on another PC as a test if you have access to one.

Sometimes, the impossible can become possible, if you're awesome!

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
Also with this error on:

Also with this error on:
Windows 10 Home x64 1909 with NOD32
The folder is (D:\Kostadin\Portable Programmes\PortableApps\calibrePortable)

I will check later on another with Windows 10 Home x64 1903 with Defender

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
I just fresh download from

I just fresh download from the PortableApps site, and it is working.
But not updated from the old one.

This situation is on 2 systems:
Windows 10 Home x64 1909 with NOD32
Windows 10 Home x64 1903 with Defender

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Try This

First make a backup. Then delete your calibrePortable\App\calibre dirtectory. Then install a fresh download right over it (being sure it's installing to X:\whatever\calibrePortable).

Sometimes, the impossible can become possible, if you're awesome!

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
Didn't work this way, only

Didn't work this way, only when is completely fresh !

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
AddOns

What add-ons have you added to calibre?

Sometimes, the impossible can become possible, if you're awesome!

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
None

None, the folder is empty

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
I found solution, it is

I found solution, it is similar:
Delete the whole directory "App" in "calibrePortable", and the install a fresh download over it.

fjgana
Offline
Last seen: 3 years 7 months ago
Joined: 2018-12-26 13:54
I've the same error.

I've the same error.

W10 Pro 1909 64 bits

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Details

I need more details. Not just a 'me too'.

Sometimes, the impossible can become possible, if you're awesome!

fjgana
Offline
Last seen: 3 years 7 months ago
Joined: 2018-12-26 13:54
ok, I repair it. I install

ok, I repair it. I install calibre again.

thanks anyway.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Additional Working

calibre Portable 5.0.1 also installs, starts the wizard (selecting generic) and comes up with the library view on first run on Windows 10 x86 Build 2004, Windows 10 x64 Build 2004, Windows 7 x86 (all updates), and Windows 7 x64 (all updates). I can not reproduce your issue on any PC or virtual machine I have access to. Everything works as expected.

I need to determine what is interfering with calibre on your machines to troubleshoot further. The more details that could lead to that the better.

Also, if you are able, please install the local version and see if that works as expected. And try installing their official slightly less portable version to see if that works.

Sometimes, the impossible can become possible, if you're awesome!

Sergi
Offline
Last seen: 4 years 2 months ago
Joined: 2020-09-26 14:11
Same Calibre Error when using linux

I'm using Arch linux
Traceback (most recent call last):
File "/usr/bin/calibre", line 20, in
sys.exit(calibre())
File "/usr/lib/calibre/calibre/gui_launch.py", line 72, in calibre
from calibre.gui2.main import main
File "/usr/lib/calibre/calibre/gui2/__init__.py", line 16, in
from PyQt5.Qt import (
ImportError: cannot import name 'QT_VERSION' from 'PyQt5.Qt' (/home/user/.local/lib/python3.8/site-packages/PyQt5/Qt.abi3.so)

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
5.0.1 Rev 2

I've pushed out a rev 2 that does a full clean upgrade of App for existing users. Anyone still having issues likely has an incompatible plugin or profile setting going on due to the 5.x series release.

Sometimes, the impossible can become possible, if you're awesome!

paulvp
Offline
Last seen: 4 months 1 week ago
Joined: 2017-04-16 17:21
5.0.1 Rev 2

Thanks John. Rev 2 has fixed the issue for me.
Paul vP

kostadin87
Offline
Last seen: 1 hour 15 min ago
Joined: 2012-12-09 03:46
5.0.1 Rev 2

5.0.1 Rev 2
Thank you John! Rev 2 has fixed the issue for me, also. Best Regards Smile

FedorRUS
Offline
Last seen: 4 years 1 month ago
Joined: 2020-09-27 14:54
submenus open on the default

submenus open on the default monitor, and not on the one in which the program is open
 
open pictures - https://hkar.ru/12W3s

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 27 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Publisher Question

That would be a question you'd need to address with the publisher of the app. We just make it portable.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments