07-21-2015, 07:21 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: none
|
Calibre Library crashes on Ubuntu 14.04
Calibre Window quickly disappears (1 second after splash screen)
Is there a way to reset all change made to calibre settings via terminal? I can't use Calibre Library anymore. It won't start properly: its window (the blank one - after splash screen) disappears very shortly after it gets loaded. What might caused this: I changed port 8080 on server settings to 80 and enabled automatic startup of server. Note that calibre restarted without letting me apply settings... I uninstall and reinstall it several times but the problem persists. "calibre-debug -g" output this: calibre 1.25 isfrozen: False is64bit: False Linux-3.16.0-43-generic-i686-with-Ubuntu-14.04-trusty Linux ('32bit', 'ELF') ('Linux', '3.16.0-43-generic', '#58~14.04.1-Ubuntu SMP Mon Jun 22 10:21:00 UTC 2015') Python 2.7.6 Linux: ('Ubuntu', '14.04', 'trusty') Starting up... Traceback (most recent call last): File "/usr/lib/calibre/calibre/utils/Zeroconf.py", line 878, in run self.readers[socket].handle_read() File "/usr/lib/calibre/calibre/utils/Zeroconf.py", line 921, in handle_read data, (addr, port) = self.zeroconf.socket.recvfrom(_MAX_MSG_ABSOLUTE) File "/usr/lib/python2.7/socket.py", line 170, in _dummy raise error(EBADF, 'Bad file descriptor') error: [Errno 9] Bad file descriptor Last edited by Delly15; 07-21-2015 at 07:53 PM. |
07-21-2015, 07:41 PM | #2 |
Grand Sorcerer
Posts: 12,752
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
As far as I know, only applications running as root can open ports less than 1024; so presumably you will need to run calibre as root and correct that port assignment.
|
Advert | |
|
07-21-2015, 08:05 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: none
|
Thanks PeterT for your quick reply. Calibre does work when I run it as root. But I can't correct the port assignment because I see that it's on 8080 (the default).
When I run it as normal user, the problem is still there. |
07-21-2015, 08:29 PM | #4 | |
Wizard
Posts: 2,126
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
calibre is up to version 2.32 and you are on 1.25. Download for linux One thing to try is to rename .config/calibre then restart if calibre starts it will be as if it is a new install. bernie |
|
07-21-2015, 08:30 PM | #5 |
Grand Sorcerer
Posts: 12,752
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
You will manually have to edit the configuration file. I'm not sure where it is located under linux, but you are looking for a file called server.py. In this file you will find the following lines
Code:
### Begin group: DEFAULT # port # The port on which to listen. Default is 8080 port = 80 More than likely this is stored in a hidden directory within your home directory. (And no need to revert to the non distro version). |
Advert | |
|
07-21-2015, 08:34 PM | #6 | |
Wizard
Posts: 2,126
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
/home/yourusername/.config/calibre/server.py bernie |
|
07-21-2015, 09:16 PM | #7 |
Grand Sorcerer
Posts: 12,752
Karma: 75000002
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
While it might be recommended it should be noted that this issue would also happen with the official version.
|
07-22-2015, 11:15 AM | #8 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2015
Device: none
|
Thanks for your support. I edit server.py and calibre works again.
I will install official version 2.32... |
07-22-2015, 12:34 PM | #9 | |
Wizard
Posts: 2,126
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Then remove the distro version then install latests version. The 2.32.1 version will use your present .config folder and library. You will find many updates and improvements. The distro version is about two years and over fifty updates out of date. Backup, backup, backup. luck bernie |
|
Tags |
bug, calibre server, calibre-server, crash, ubuntu 14.04 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre opens in small window partly outside of screen | Flying_Squirrel | Calibre | 7 | 06-05-2015 01:51 AM |
Minor issue calibre 2.3: splash screen text has background collor | DrChiper | Calibre | 4 | 09-12-2014 09:37 AM |
Calibre window disappears | linglieglen | Calibre | 1 | 03-01-2012 10:20 AM |
Turning off calibre splash screen | siddharthp | Calibre | 2 | 05-23-2011 05:58 AM |