Hi,
My laptop seems to have overheated whilst downloading some newspapers. This caused the laptop to immidiately power down. Since then I've been unable to use calibre normally. After reboot, when I tried to run calibre again, it came up with the install screen where you select your e-reader device. i selected sony prs 500 as it was the closest to the one I actually have, the prs 600.
If it makes any difference, the reader device was connected to the laptop throughout.
Now when I start calibre, it very very briefly looks like it's about to draw a screen, then it dies. Well, the GUI dies, but the process still appears in ps:
Code:
john@john-laptop:~$ ps waux|grep calibre
john 4744 0.0 0.0 4004 580 pts/0 S 13:34 0:00 /bin/sh /opt/calibre/calibre-parallel
john 4747 0.1 0.8 226192 25944 pts/0 S 13:34 0:00 /opt/calibre/loader
john 4749 0.0 0.0 4004 576 pts/0 S 13:34 0:00 /bin/sh /opt/calibre/calibre-parallel
john 4752 0.1 0.8 226192 25940 pts/0 S 13:34 0:00 /opt/calibre/loader
john 4908 0.0 0.0 7340 892 pts/1 R+ 13:43 0:00 grep --color=auto calibre
john@john-laptop:~$
So I killed all processes and went looking in my home dir for lock files, core files, that kind of thing and deleted them. $HOME/Calibre Library is intact and unchanged. Then I went looking in /tmp - it looks like this - after a reboot, and just firing up calibre:
Code:
drwxrwxrwt 14 root root 20480 2010-02-03 13:46 .
drwxr-xr-x 23 root root 4096 2010-02-03 13:31 ..
-rw------- 1 john john 0 2010-02-03 13:34 calibre_0.6.37_czHCYJ_worker_redirect.log
-rw------- 1 john john 0 2010-02-03 13:34 calibre_0.6.37_NU201M_worker_redirect.log
drwx------ 2 john john 4096 2010-02-03 13:31 .esd-1000
drwx------ 2 gdm gdm 4096 2010-02-03 13:31 .esd-114
drwxrwxrwt 2 root root 4096 2010-02-03 13:31 .ICE-unix
srwxr-xr-x 1 john john 0 2010-02-03 13:34 john-calibre-gui.socket
drwx------ 2 john john 4096 2010-02-03 13:31 keyring-kVZLC9
drwx------ 2 gdm gdm 4096 2010-02-03 13:31 orbit-gdm
drwx------ 2 john john 4096 2010-02-03 13:35 orbit-john
drwx------ 2 gdm gdm 4096 2010-02-03 13:31 pulse-PKdhtXMmr18n
drwx------ 2 john john 4096 2010-02-03 13:31 pulse-rii9k28bzgbh
drwx------ 2 john john 4096 2010-02-03 13:34 pymp-J5MXMM
drwx------ 2 john john 4096 2010-02-03 13:31 ssh-JRXHZf4015
drwx------ 2 john john 4096 2010-02-03 13:31 virtual-john.RyRut6
-r--r--r-- 1 root root 11 2010-02-03 13:29 .X0-lock
drwxrwxrwt 2 root root 4096 2010-02-03 13:29 .X11-unix
So I rebooted again and this time just reinstalled over the top of my old installation, like when one does an upgrade. It didn't fix the problem, but maybe you might find the output useful as it contains a number of errors:
Code:
john@john-laptop:~$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
[sudo] password for john:
Enter the installation directory for calibre [/opt]:
Will download and install calibre-0.6.37-x86_64.tar.bz2
Downloading calibre-0.6.37-x86_64.tar.bz2
100% [======================================================================]
Extracting files to /opt/calibre ...
Extracting application files...
Creating symlinks...
Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
Symlinking /opt/calibre/pdfmanipulate to /usr/bin/pdfmanipulate
Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
Symlinking /opt/calibre/calibre to /usr/bin/calibre
Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
Symlinking /opt/calibre/librarything to /usr/bin/librarything
Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Setting up bash completion...
Installing bash completion to /etc/bash_completion.d/calibre
Trying to setup udev rules...
Installing MAN pages...
Installing MAN page for ebook-meta
Installing MAN page for ebook-convert
Installing MAN page for web2disk
Installing MAN page for calibre-server
Installing MAN page for lrf2lrs
Installing MAN page for lrs2lrf
Installing MAN page for librarything
Installing MAN page for calibre-debug
Installing MAN page for calibredb
Installing MAN page for calibre-customize
Installing MAN page for pdfmanipulate
Installing MAN page for fetch-ebook-metadata
Installing MAN page for calibre-smtp
Setting up desktop integration...
Run "calibre" to start calibre
john@john-laptop:~$ calibre
** (<unknown>:4734): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
link hasn't been detected!
link hasn't been detected!
Traceback (most recent call last):
File "/tmp/init.py", line 48, in <module>
File "/home/kovid/build/calibre/src/calibre/gui2/main.py", line 139, in main
File "/home/kovid/build/calibre/src/calibre/gui2/main.py", line 55, in run_gui
File "/home/kovid/build/calibre/src/calibre/gui2/ui.py", line 579, in __init__
File "/home/kovid/build/calibre/src/calibre/gui2/dialogs/scheduler.py", line 207, in __init__
File "/home/kovid/build/calibre/src/calibre/web/feeds/recipes/model.py", line 129, in __init__
File "/home/kovid/build/calibre/src/calibre/web/feeds/recipes/collection.py", line 128, in __init__
File "lxml.etree.pyx", line 2538, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48266)
File "parser.pxi", line 1536, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71653)
File "parser.pxi", line 1415, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70514)
File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67438)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63820)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64741)
File "parser.pxi", line 576, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64256)
lxml.etree.XMLSyntaxError: None
uname -a
Linux john-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux
The OS is updated daily.
Any idea how to fix this would be most welcome
thanks