![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
Calibre crashes xserver in 11.04
Hi there, I've been using calibre for about a year now, and recently upgraded to Ubuntu 11.04.
I was using one of the pre 0.8 releases and it worked fine, including the server. About a week ago, when I opened calibre, right after the new download available window popped up, I was booted unceremoniously back to the login screen. So I thought, no big deal, i'll just upgrade and that will fix the problem. Didn't work, now it crashes as soon as the main screen appears, back to the login screen. I read the other threads on calibre crashes, I updated my system, i tried removing caliber and reinstalling. I also turned off compiz, and switched to the classic gnome interface and turned off sync to vblank in my display settings as suggested by other folks on the internet. I'm new to linux so I don't know what log files you need to see to help diagnose this problem. Oh, and my drivers are up to date. If someone could help me with this, or tell me where to find the log files I need, that would be great. It's a very nice program and i've gotten used to being able to access and download books from home when I'm out on business. Oh one more thing, I tried replacing the files in /opt/calibre with an older release, that didn't work either. I have two other computers running linux and I can't reproduce this error on either of them. They both have intel graphics, and the computer with the problem has an Nvidia gs7600 in it. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I am guessing that you probably have something corrupt in your Calibre preferences. These will be stored in your home folder (I think in a .calibre folder on Linux). If you rename that folder and start up Calibre then (assuming it starts OK) it should then start as if it were a new installation. Point it at your existing library and you should be good to go although you will have to redo any prefences you changed from default values..
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
I found a folder labeled calibre under .config. I renamed it, it started up, gave me the wizard for a new installation, and I thought it was fixed, but as soon as I hit finished and the main screen came up, back to the main login screen I went. Can anyone confirm that I renamed the correct directory? I didn't see a .calibre directory in my home folder. Or tell me where calibre stores it's preferences in Linux.
Last edited by EvilWayz; 05-21-2011 at 04:50 PM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The preferences are in ~/.config/calibre
But I doubt this has anything to do with that. It sounds like a problem with your graphics card drivers. If I were you, I'd either: 1)revert to last known Ubuntu version that worked on your machine. 2) try using the vesa driver for my graphics card. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
So I have to decide which I want more until Nvidia gets off its butt, dual monitor support or calibre, as the "vesa" and "nv" open source drivers don't support Twinview.
Ouch. I think I'll give up the server and just run calibre on another computer. I gotta have my books, but I also have to have the ability to watch porn, I mean educational family entertainment, on my gynormous HDTV. Last edited by EvilWayz; 05-21-2011 at 05:27 PM. Reason: numerous spelling and grammatical errors |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
This happens to me, as well, and only ever since the .8* versions. Previously, it worked fine.
It seems to crash at different times. Sometimes, it crashes as soon as Calibre starts up. Other times, I'm able to browse through my library and poke around alright. This morning, I was even able to play with my preferences for a while, making some tweaks and smoothing things out (the crashing started prior to this, however). I'm unsure how to get a log or debug info for this. When I tried to restart into debug mode earlier, it crashed xserver. Code:
> calibre-debug -c "import sys; print sys.version_info" sys.version_info(major=2, minor=7, micro=1, releaselevel='final', serial=0) Last edited by homeofpoe; 05-21-2011 at 05:44 PM. |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
Just managed to get a debug log.
Code:
<unknown>: Fatal IO error 104 (Connection reset by peer) on X server :0. calibre Debug log calibre 0.8.2 Linux-2.6.38-9-generic-pae-i686-with-Ubuntu-11.04-natty Linux ('Linux', '2.6.38-9-generic-pae', '#43-Ubuntu SMP Thu Apr 28 17:12:11 UTC 2011') Python 2.7.1+ Linux: ('Ubuntu', '11.04', 'natty') Starting up... Failed to load high performance sqlite C extension 'Connection' object has no attribute 'enable_load_extension' Code:
>sudo apt-cache show sqlite3 Package: sqlite3 Priority: optional Section: misc Installed-Size: 176 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu> Architecture: i386 Version: 3.7.4-2ubuntu5 Depends: libc6 (>= 2.4), libncurses5 (>= 5.5-5~), libreadline6 (>= 6.0), libsqlite3-0 (>= 3.7.3) Suggests: sqlite3-doc Filename: pool/main/s/sqlite3/sqlite3_3.7.4-2ubuntu5_i386.deb Size: 24152 MD5sum: b5f34660bee59fa4da38bdcd8912f52c SHA1: a34debc46361a263d3588fa6eedc2c05c0e8f5e1 SHA256: 779b99153d627c6afb9ce7bdabf32d7bbc2925158c93506814c387295a45971b Description: A command line interface for SQLite 3 SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. Multi-Arch: foreign Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 18m Last edited by homeofpoe; 05-21-2011 at 05:35 PM. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@homeofpoe: Use the calibre binary install rather than the Ubuntu package.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
This seems to have made a difference so far! No issues so far, and I have been able to edit metadata, convert files, send to device, et cetera.
Thanks for the help! I just finished my in-progress book about ten minutes ago and was in need of a replacement. |
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
I've never used anything but the binary install.
![]() |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2011
Device: Amazon Kindle3
|
Was having the same issue as homeofpoe.
Uninstalled Ubuntu Package and installed through binary and its working great, thank you! |
![]() |
![]() |
![]() |
#14 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
Quote:
The binary did make a significant difference for me though. Occasional xserver crash versus regular crashes. So, Calibre's generally usable for me. |
|
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jul 2010
Device: prs-505
|
I suspect there's a serious underlying problem, as now Amarok, Mobloquer, and sometimes VLC cause the same unceremonious drop to the login screen.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Crashes | llessieur | Devices | 12 | 03-25-2011 01:35 PM |
Calibre crashes Finder in OS X | hyperact | Calibre | 9 | 04-15-2009 03:36 PM |
Calibre 0.5.0 crashes on startup | gilamon | Calibre | 28 | 03-20-2009 12:42 AM |
Calibre 73 crashes, won't open in OS X | Mitchll | Calibre | 2 | 06-22-2008 05:50 PM |
My installation of calibre crashes | dynabook | Calibre | 1 | 06-02-2008 05:04 PM |