Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2020, 06:59 AM   #1
MaxG
Junior Member
MaxG began at the beginning.
 
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 name
... however, I cannot make sense of it.

I then decided to remove calibre, and installed it again; same result.
Any hints appreciated.
MaxG is offline   Reply With Quote
Old 09-25-2020, 07:10 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-25-2020, 06:39 PM   #3
MaxG
Junior Member
MaxG began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2020
Device: PC
Thumbs up

Thank you kindly! Works like a charm!
MaxG is offline   Reply With Quote
Old 09-25-2020, 08:02 PM   #4
MaxG
Junior Member
MaxG began at the beginning.
 
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
MaxG is offline   Reply With Quote
Old 09-25-2020, 09:09 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Those can be ignored.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:33 PM.


MobileRead.com is a privately owned, operated and funded community.