20150401 updating calibre - plembo/onemoretech GitHub Wiki
title: Updating Calibre link: https://onemoretech.wordpress.com/2015/04/01/updating-calibre/ author: phil2nc description: post_id: 9552 created: 2015/04/01 13:53:29 created_gmt: 2015/04/01 17:53:29 comment_status: closed post_name: updating-calibre status: publish post_type: post
Updating Calibre
I use Calibre, a free open source utility written in python, to convert documents into and out of various e-book formats. Like all software it occasionally needs to be updated, especially when the platform it's riding on has. There is an rpm package in the Fedora repo for Calibre. In fact I'd been using that for nearly a year. Today I got a variation on the dreaded TypeError: QPixmap()error[1]. A quick look over on the Calibre bug list revealed the problem was due to an issue with the latest qt libraries, and that a fix had already been rolled up into the latest Calibre release. Installing or upgrading Calibre is a simple one-step process. All you need to do is invoke the command line argument shown here (if you've already installed it using your distribution's package system, I'd recommend you uninstall it and use Calibre's own installer). Here's the current text: [code language="bash" gutter="false"] sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" [/code] [1] OK, so this is a really obscure error that barely anyone has heard of, except those who have read a couple of threads like this. What's impressive about the whole situation is that the problem was fixed within a day of being reported.
Copyright 2004-2019 Phil Lembo