<div dir="ltr"><div>My answer appears below</div><div><br></div><div dir="ltr">On Thu, May 21, 2020 at 12:28 PM Tony Arnold <<a href="mailto:tony.arnold@manchester.ac.uk">tony.arnold@manchester.ac.uk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="text-align:left;direction:ltr" bgcolor="#ffffff"><div>After upgrading to Focal, I can no long run Calibre. Running from the terminal gives:</div><div><br></div><pre>Traceback (most recent call last):</pre><pre>  File "/usr/bin/calibre", line 20, in <module></pre><pre>    sys.exit(calibre())</pre><pre>  File "/usr/lib/calibre/calibre/gui_launch.py", line 73, in calibre</pre><pre>    main(args)</pre><pre>  File "/usr/lib/calibre/calibre/gui2/main.py", line 529, in main</pre><pre>    app, opts, args = init_qt(args)</pre><pre>  File "/usr/lib/calibre/calibre/gui2/main.py", line 114, in init_qt</pre><pre>    app = Application(args, override_program_name=override, windows_app_uid=MAIN_APP_UID)</pre><pre>  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 875, in __init__</pre><pre>    raise RuntimeError('Failed to load the progress_indicator C extension, with error: {}'.format(pi_err))</pre><pre>RuntimeError: Failed to load the progress_indicator C extension, with error: PyCapsule_GetPointer called with incorrect name</pre><pre><br></pre><div>I've google'd this and only found a German discussion group whose best suggestion is to download Calibre rather than use the repo version. Indeed this way is recommended on the Claibre web site.</div><div><br></div><div>Seems very non Linuxesk to do it that way so was wondering if anyone else had seen this or got any other solutions?</div><div></div></div><br></blockquote><div><br></div><div>I don't regularly use Calibre but I was curious about your issue and found that I had it installed. It launches and seems to run properly on my recently-upgraded Focal system. </div><div><br></div><div>To me that error message you are seeing probably indicates a missing or mis-configured dependency. I found a RedHat bug report from 2011 where someone had that same error in Calibre and the solution was to update their system.</div><div><br></div><div>What happens when you run this?</div><div><br></div><div>$ sudo apt update ; sudo apt upgrade</div><div><br></div><div>If you see ANY errors running that line, you'll want to follow up and fix the errors. </div><div><br></div><div>FURTHER THOUGHTS</div><div><br></div><div><div>I looked at the package on <a href="https://launchpad.net/ubuntu/+source/calibre">https://launchpad.net/ubuntu/+source/calibre</a></div><div>I also checked <a href="https://tracker.debian.org/pkg/calibre">https://tracker.debian.org/pkg/calibre</a></div><div><br></div><div>The version available in Focal is the Debian patched version that was available when Focal froze in March, and you can see from the listings above that Calibre has been updated several times since then. SO there is some active development going on in Calibre, and if you need a particular bug fixed you might want to either backport the latest Ubuntu package, or remove the distribution version and download and install the latest on your system. At that point you'll have to manually download and update the package.</div><div><br></div><div>Alternatively you can help get the more recent version backported into Focal. As an active Calibre user, you're in a good place to help get that started, especially if you find that the version in Focal is unacceptably buggy and unbefitting of the LTS release. (Remember this is the version of Calibre many users of Ubuntu 20.04 LTS "Focal Fossa" AND derivative distros will see for the next two+ years.)</div><div><br></div><div>But a backport won't happen unless you or someone else initiates the backport process. </div><div></div></div><div><br></div></div></div>