Terminator won't start: Missing name of pseudo-class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I think there is a GTK3 library issue.
Output upon trying to run Terminator:
Traceback (most recent call last):
File "terminator", line 117, in <module>
TERMINATOR.
File "./terminatorli
style_
gi._glib.GError: terminator.
The file it is referring to is:
"./terminatorli
The line it is having a problem with is:
.terminator-
Specifically the ":not" pseudo-class. Another use also had this issue and mentioned it on the blog page: https:/
Stephen had replied to that post with the following:
"""
Radoslaw, you are having an issue loading one of the extra css files used to "fix" transparency and other styling issues. From a look at the mentioned line, it is finding the file, but there is a problem with it. All the styling overrides I provided work on my system (using GTK_DEBUG to change the visual style/theme) so it may be an incompatibility across GTK versions. This looks like a bug, and this probably isn't the best forum for getting to the bottom of this. Better would be to raise a bug in Launchpad. Some things that may be relevant to mention would be the distro, desktop environment, and theme that you are using, along with the version of GTK. A quick search on the GError string gave me https:/
It may be that Python is being too sensitive to what sound more to be warnings than errors. We would need to wrap the css loader in a try/except clause to continue running instead of exiting.
"""
It seems to be a problem parsing the ":not" pseudo-class and this makes me think it's a library version issue. Perhaps there is a more uptodate GTK library which should be installed? I only have 3.0.
Related branches
Changed in terminator: | |
status: | New → Incomplete |
Changed in terminator: | |
status: | Fix Committed → Fix Released |
Chris, 3.0?!?! You sure, because that is really, really old. Although it could explain why it broke for you.
$ python [str(Gtk. get_major_ version( )), str(Gtk. get_minor_ version( )), str(Gtk. get_micro_ version( ))])
>>> from gi.repository import Gtk
>>> '.'.join(
On Ubuntu 16.04 LTS I get:
'3.18.9'
Also, how did you determine it was the :not pseudo? Did Radoslaw miss something out in his comment, or did you trial and error it by commenting css sections out till you found the culprit?
Anyway, can you test the accompanying patch? It might allow Terminator to start. I make no guarantees that the interface won't look like crap however.