![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
calibre will not run on Ubuntu 10.04
I don't do forums so I thought I'd try yours. I am stumped and am looking for help. I am running Ubuntu 10.04 and have enjoyed Calibre for years. Recently I updated calibre and I'm not sure what happened but now when I open Calibre I get the following message:
Traceback (most recent call last): File "/usr/lib/calibre/calibre/gui2/library.py", line 631, in headerData return QVariant(self.headers[self.column_map[section]]) KeyError: 'ondevice' I have removed and reinstalled Calibre both via the terminal and Synaptic and rebooted with the same results. I used: sudo python /usr/bin/calibre-uninstall sudo rm -fr /opt/calibre sudo reboot With the same results I cannot figure out what is wrong I dual boot with Windows 7 and it works fine there but I prefer not to use Windows 7. I thought that would completely remove Calibre via terminal then I did a new install via Synaptic, or is it a OS problem? I am totally lost. Please help. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,515
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Can you share with us some info on what version of calibre, and also post the output from running calibre in debug mode. Since you can't start calibre and select debug mode in preferences, try doing calibre-debug -g > calibre.log 2>&1 to redirect both stdout and stderr to a file, calibre.log.
|
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
ondevice?
That is a column that appears when device is connected it may only exist as a standalone (temporary) table, not in the Libraries DB try starting without any device connected, change the TEMP, TMP environment location (not in root) |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
Also make sure that Calibre is _not_ installed in Synaptics. That's the version of Calibre maintained by Ubuntu, and it's ancient (v0.6). Try to clear that package and reinstall according to the website's instructions.
N. |
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() Besides the common hardware issues for CPU's of that era. The dependencies for Python and QT5 will bite you You are probably stuck at 1.48 |
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
Thank you Aleyx I do know that the version in snyaptic is ancient and that is what I have currently installed but at your suggestion I will try and remove it again via terminal then try and reinstall via the web site. Thank you all for your replies however some are a little over my head. I will try Aleyx's way if nothing or the same results I will post it.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
Cannot remove via terminal:
mikey@R2D2:~$ sudo python /usr/bin/calibre-uninstall [sudo] password for mikey: python: can't open file '/usr/bin/calibre-uninstall': [Errno 2] No such file or directory To theducks I have no devices connected I am trying to just open the software and this is as far as I get. Going to try removing with Synaptic (which is odd why can't I remove it through the terminal?) |
![]() |
![]() |
![]() |
#8 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you did not 'eject' it, it can become persistent. If you installed with Synaptic, you should remove (including the install files) with Synaptic |
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
I have uninstalled calibre via synaptic and then went to the web site downloaded version 2.14.0-i386.txz and I got this:
There were 2 warnings * Setting up completion failed with error: * Setting up desktop integration failed with error: If I try opening calibre I get this: Run "calibre" to start calibre mikey@R2D2:~$ calibre Failed to unpickle stored object: Traceback (most recent call last): File "site-packages/calibre/utils/config.py", line 215, in refresh ImportError: ('No module named PyQt4.QtCore', <built-in function _unpickle_type>, ('PyQt4.QtCore', 'QByteArray', ('\x01\xd9\xd0\xcb\x00\x01\x00\x00\x00\x00\x03\r\x 00\x00\x00\xc5\x00\x00\x05\x99\x00\x00\x03d\x00\x0 0\x03\r\x00\x00\x00\xc5\x00\x00\x05\x99\x00\x00\x0 3d\x00\x00\x00\x00\x00\x00',))) This application failed to start because it could not find or load the Qt platform plugin "xcb". Available platform plugins are: linuxfb, minimal, offscreen, xcb. Reinstalling the application may fix this problem. Aborted I checked Synaptic and all but linuxfb were installed and offscreen doesn't even exist in Synaptic. I installed liuxfb (scim-gtk2-immodule). I have reinstalled Calibre as well with the same results. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
To PeterT you say to "calibre-debug -g > calibre.log 2>&1" then redirect to a calibre.log file? Okay is that sudo calibre-debug -g > calibre.log 2>&1?
I know a little about Linux but I am no where near fluent in it, please bear with me. I appreciate every one help. Thank you |
![]() |
![]() |
![]() |
#11 | |||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
|
Quote:
Code:
apt-get remove <package> Quote:
Code:
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()" Is there something keeping you from upgrading Ubuntu to 14.04? It's also a long-term support and the hardware requirements aren't much different, if I recall correctly. Quote:
Code:
calibre-debug -g > calibre.log 2>&1 "> calibre.log" means "redirect the standard output (AKA stdout, AKA whatever the program wants printed on the terminal), to the calibre.log file", and "2>&1" means "additionally, redirect output 2 (the standard error output, AKA stderr, AKA what gets printed on the terminal when things get horribly wrong) to stdout", so everything will end up in calibre.log. Technically we can also write it as "calibre-debug -g &> calibre.log", which means "redirect both stdout and stderr to calibre.log", but this is nitpicking and I'm getting sidetracked... N. |
|||
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,351
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sounds like a missing/outdated dependency, either glibc/libstdc++ or one of the X server libraries.
Run calibre as LD_DEBUG=libs calibre and examine the output for lines containg the words error or failed to see which libraries are failing to load. |
![]() |
![]() |
![]() |
#13 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Quote:
bernie |
||
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
wow! Thanks for all the help guys...
To Aleyx yes I did copy and paste the code into terminal. When I looked for the Qt4 it was installed according to Synaptic. Why don't I update to 14.04? My machine is older than Lucid 10.04 it was built by me back in 1999. I have been running Jaunty then upgraded to Lucid all the way to Narwhal and none performed as well as Lucid does for me. I hate to install another distro then again go back and reinstall Lucid. I just installed 12.04 on my netbook and so far I'm impressed. I am willing to attempt 14.04 on a live CD and run that for a while to get the feel for it. I did run: calibre-debug -g > calibre.log 2>&1 and proptly got the message: Aborted so I tried sudo with the same results. Aborted To Kovidgoyal: Thank you sir I love your product and have used it for many years. When you say to run Calibre as: LD_DEBUG=libs calibre Would that be sudo as well? To gbm I to found that glibc 2.11.1 is installed so if I understand correctly I need to update the OS? If that is the case why can't I flush the system and install a previous version of Calibre? One listed in the repositories? |
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 7054
Join Date: Dec 2014
Device: Ubuntu PC and Kindle II / Kindle Fire HD
|
To kovidgoyal: I ran LD_DEBUG=libs calibre and here are the results:
Spoiler:
And I found this error: 3171: /lib/tls/i686/cmov/libpthread.so.0: error: symbol lookup error: undefined symbol: pthread_setname_np (fatal) Last edited by BetterRed; 12-28-2014 at 10:36 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'RUN, RUN, RUN' a crime thriller $1.61 | tothepoint | Self-Promotions by Authors and Publishers | 10 | 09-01-2014 12:07 PM |
Do I need to run Calibre content server to use Calibre Companion | flyash | Calibre | 2 | 04-06-2013 10:19 PM |
calibre 0.8.51 for ubuntu 10.04 | anishtain4 | Calibre | 26 | 05-28-2012 08:43 AM |