Linux Lite Forums
Lite Control Center will not start - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: Lite Control Center will not start (/showthread.php?tid=2704)

Pages: 1 2


Lite Control Center will not start - mzito59 - 02-20-2016

The Lite Control Center will no longer start on my machine. 
This is a new issue and the control center has worked for me in the past. 
I tried reinstalling through synaptic with no success. 

When run in terminal I get the following message:
Traceback (most recent call last):
  File "/usr/share/litecc/litecenter.py", line 11, in <module>
    from gi.repository import Gtk as gtk
ImportError: No module named 'gi'

Did I accidentally remove a gtk lib? Which one?  How to restore it?

Any suggestions?

Thanks!

Michael

Lenovo x140e
8gb Ram
LL 2.8


Re: Lite Control Center will not start - Valtam - 02-20-2016

What is the output of:

Code:
apt-cache policy python3-gi

correction made


Re: Lite Control Center will not start - shaggytwodope - 02-20-2016

You need to install the package python3-gi

Code:
sudo apt-get install python3-gi

This should be a dependacy for control center's debian package in the future. You should not remove python depends without fully considering the impact.

This package among possible others depend on python3-gi, gdebi and other programs might be effected. If you want to remove programs in the future, don't be afraid to ask for advice on possible impact.



Re: Lite Control Center will not start - mzito59 - 02-20-2016

Shaggy

Thanks for the tip.  Didn't work though.  Terminal output shown below:

mjz@mjz-ThinkPad-X140e:~$ sudo apt-get install  gir1.2-webkit-3.0
Reading package lists... Done
Building dependency tree     
Reading state information... Done
gir1.2-webkit-3.0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

mjz@mjz-ThinkPad-X140e:~$ sudo apt-get install python3-gi
Reading package lists... Done
Building dependency tree     
Reading state information... Done
python3-gi is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Mike



Re: Lite Control Center will not start - Valtam - 02-20-2016

What software have you removed since you first installed?


Re: Lite Control Center will not start - shaggytwodope - 02-20-2016

Check if the pacakge gir1.2-gtk-3.0 is installed. Short of that, be much easier to just have to run a system report for me to look at. Menu > System > Create System Report.


Re: Lite Control Center will not start - mzito59 - 02-20-2016

What a great and responsive community.  Thanks to all for their suggestions.

Sheepishly reporting that it was a result of allowing anaconda to prepend its path in my ~/.bashrc file.

All is well now...

How do I mark the thread SOLVED?


Re: Lite Control Center will not start - Valtam - 02-20-2016

https://www.linuxliteos.com/forums/introductions/forum-posting-guidelines/


Re: Lite Control Center will not start - shaggytwodope - 02-20-2016

https://github.com/linuxlite/litecontrolcenter/pull/33

Removed some needless info, compressed images a bit more. Overall some speed should increase. Also added version req for gi import.


Re: Lite Control Center will not start - Valtam - 02-20-2016

Thanks shaggy, will merge and produce an update for this soon.