All Qt apps suddenly stopped working.

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
AlighaThor
Level 1
Level 1
Posts: 1
Joined: Wed Apr 25, 2018 11:43 am

All Qt apps suddenly stopped working.

Post by AlighaThor » Wed Apr 25, 2018 11:51 am

Hi. I'm new to Linux in general.

Fresh Linux Mint 18.3 Mate install. I was installing apps here and there, and suddenly all my apps based on Qt stopped working.
This is the error I got when running HgTortoise, for example:

Code: Select all

~ $ thg --nofork
Traceback (most recent call last):
  File "/usr/bin/thg", line 97, in <module>
    sys.exit(tortoisehg.hgqt.run.dispatch(argv))
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 130, in __getattribute__
    self._load()
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 96, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/run.py", line 376, in <module>
    qtrun = qtapp.QtRunner()
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 130, in __getattribute__
    self._load()
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 96, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/tortoisehg/hgqt/qtapp.py", line 12, in <module>
    from PyQt4.QtGui import QApplication, QFont
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 217, in _demandimport
    mod = _hgextimport(_origimport, name, globals, locals)
  File "/usr/lib/python2.7/dist-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
ImportError: /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so: undefined symbol: _ZN15QSessionManager16staticMetaObjectE
The same (or similar) goes with other Qt apps like Clementine and so on. I was searching about this error, and in the Ubuntu forums its says that is a confirmed bug. I did this:

Code: Select all

sudo apt-get install --reinstall libqtcore4
No effect.
Does anyone found a workaround to this?

Thanks in advance!

Post Reply

Return to “Software & Applications”