|  09-25-2020, 06:59 AM | #1 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Sep 2020 Device: PC | 
				
				Calibre won't start on Mint
			 
			
			I installed Calibre after upgrading to Mint 20; worked like a charm   Now, a few months later I was going to use it again, and it failed to launch. running calibre in debug mode revealed the following: Code: calibre-debug -g
calibre 4.99.4  embedded-python: False is64bit: True
Linux-5.4.0-47-generic-x86_64-with-glibc2.29 Linux ('64bit', 'ELF')
('Linux', '5.4.0-47-generic', '#51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020')
Python 3.8.2
Interface language: None
Traceback (most recent call last):
  File "/usr/bin/calibre-debug", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/debug.py", line 277, in main
    calibre(['calibre'] + args[1:])
  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
    main(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 529, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 114, in init_qt
    app = Application(args, override_program_name=override, windows_app_uid=MAIN_APP_UID)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 875, in __init__
    raise RuntimeError('Failed to load the progress_indicator C extension, with error: {}'.format(pi_err))
RuntimeError: Failed to load the progress_indicator C extension, with error: PyCapsule_GetPointer called with incorrect name
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_calibre-debug.1000.crash'
Original exception was:
Traceback (most recent call last):
  File "/usr/bin/calibre-debug", line 20, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/debug.py", line 277, in main
    calibre(['calibre'] + args[1:])
  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre
    main(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 529, in main
    app, opts, args = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 114, in init_qt
    app = Application(args, override_program_name=override, windows_app_uid=MAIN_APP_UID)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 875, in __init__
    raise RuntimeError('Failed to load the progress_indicator C extension, with error: {}'.format(pi_err))
RuntimeError: Failed to load the progress_indicator C extension, with error: PyCapsule_GetPointer called with incorrect nameI then decided to remove calibre, and installed it again; same result. Any hints appreciated. | 
|   |   | 
|  09-25-2020, 07:10 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Uninstall it and install the official calibre binaries from: https://calibre-ebook.com/download_linux   instead. | 
|   |   | 
| Advert | |
|  | 
|  09-25-2020, 06:39 PM | #3 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Sep 2020 Device: PC |   
			
			Thank you kindly! Works like a charm!    | 
|   |   | 
|  09-25-2020, 08:02 PM | #4 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Sep 2020 Device: PC | 
			
			However, I noticed this error on the screen, though the GUI is working without any problems. Code: # [2020-09-26 07:48] maxg@maxg-pc-mint ~ $ calibre Upgrading database to version 24... Failed to parse old style options string with error: 'ascii' codec can't decode byte 0xd9 in position 1: ordinal not in range(128) (xreader:428896): Gtk-CRITICAL **: 09:28:33.581: gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed (xreader:428896): Gtk-CRITICAL **: 09:28:33.581: gtk_action_set_visible: assertion 'GTK_IS_ACTION (action)' failed | 
|   |   | 
|  09-25-2020, 09:09 PM | #5 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Those can be ignored.
		 | 
|   |   | 
| Advert | |
|  | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre 4.20 doesn't start after update - Linux Mint 17.3 | leelo12345 | Devices | 7 | 10-19-2019 01:28 PM | 
| Calibre suddenly won't start up on Linux Mint | BigGeoff | Devices | 6 | 04-26-2019 07:06 AM | 
| Calibre suddenly won't load, Linux Mint | Patchmaster | Calibre | 4 | 12-14-2017 09:38 PM | 
| Calibre won't launch in linux mint 15 | pimseb | Devices | 1 | 07-03-2013 02:20 AM | 
| Calibre 0.4.89 won't start | ould | Calibre | 3 | 10-02-2008 09:21 PM |