Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-27-2017, 12:59 PM   #1
LQ Newbie
Registered: Oct 2015
Distribution: Ubuntu, Raspian
Posts: 21

Rep: Reputation: Disabled
HELP! Calibre and/or Python? apps lock system, harddrive churning

This is a really strange problem that has just started. It appears to happen to other python apps as well? At the risk of misleading, I think it might have to do with moving my user files?

First, a bit of background. I am dual booting Windows 10 and Ubuntu 16.04. I have my user files for both OS's(Documents, Downloads, Pictures, etc.) on a shared ntfs partition. I am mounting the shared partition in fstab with:

UUID=xxxxxxxxxx /media/SHARED/ ntfs-3g defaults,auto,exec,uid=1000,gid=1000,umask=002 0 0
All was working fine, until somehow my Windows install got corrupted and it started putting user info in the wrong place. When I tried to fix it, I borked it, and was no longer able to log in. My only choice was a repair install to windows where I moved my user files from (S: is the SHARED partition) S:/chad to S:/Users/chad.

My first thought was a permissions issue, but I THINK I have that all sorted.

If I start Calibre on Ubuntu (Unity) it starts right up, but on Cinnamon and Xubuntu sessions it will hang with very high hard drive usage at "Initializing user interface..".

The reason I think it might be related to moving my user files: I had a similar issue with Dropbox. If I changed the dropbox folder location in the dropbox app, Xubuntu would hang on opening the file browser with the same hard drive churning. If I tried the same on Ubuntu, no problems.

I have tried uninstalling xubuntu, xfce and reinstalling, still same problem. If I use the XFCE session things again work fine.

Where do I start to track down the error?


I tried to run calibre from the command line with debug option `calibre-debug --gui`. The system completely hangs, and this is the error that keeps repeating:

> Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed

Last edited by deerewright; 02-27-2017 at 01:39 PM.
Old 02-27-2017, 02:15 PM   #2
LQ Newbie
Registered: Oct 2015
Distribution: Ubuntu, Raspian
Posts: 21

Original Poster
Rep: Reputation: Disabled
Okay, I found an answer (workaround?) to my calibre problem.

From the Mobileread forums:

In terminal I entered:

calibre-debug -c "from calibre.gui2 import gprefs; gprefs['ui_style'] = 'calibre'"
That solved my problem. I don't know what theme I had selected instead. Maybe 'system'?


calibre, dropbox, python, xubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Calibre 2.21 Lets Users Open and Convert eBooks in External Apps LXer Syndicated Linux News 0 03-14-2015 09:51 AM
LXer: Search and Read Books from Calibre's Library in Ubuntu 13.10 with Unity Calibre Scope LXer Syndicated Linux News 0 11-22-2013 08:12 PM
Why do we need Python installed if we use Python apps in Linux? Mr. Alex Linux - Software 3 07-29-2011 06:05 AM
Python: Stdin and python apps fighting? enigma_0Z Programming 2 07-15-2008 08:45 AM
Python: X Screen Lock thinkgeek Programming 1 07-11-2005 03:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration