retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.88k stars 197 forks source link

I keep getting console error messages: "XmbTextListToTextProperty result code -2" #448

Open eyalroz opened 5 years ago

eyalroz commented 5 years ago

For every interaction with the retext UI, one or multiple copies of the following message show up on my console:

XmbTextListToTextProperty result code -2

Why, and how can I avoid this happening?

Additional information:

mitya57 commented 5 years ago

Did you install PyQt5 from PyPI? This may be an incompatibility issue between new Qt and X11 libraries from Stretch.

Please try uninstalling PyQt5 from PyPI and using distro packages (python3-pyqt5, python3-pyqt5.qtwebkit) instead.

Also, if these warnings do not cause any harm, you can just ignore them.

eyalroz commented 5 years ago

I use my distribution's versions of everything... if you want me to check something and list the output here, I'll gladly do that.

$ pip uninstall PyQT5
Skipping PyQT5 as it is not installed.
$ pip uninstall PyQt5
Skipping PyQt5 as it is not installed.
$ pip3 uninstall PyQt5
Cannot uninstall requirement PyQt5, not installed
$ pip3 uninstall PyQT5
Cannot uninstall requirement PyQT5, not installed
mitya57 commented 5 years ago

OK, then I do not have any idea what could cause them.

But do these warnings really cause any issues? Is the user interface buggy or slow because of them?

eyalroz commented 5 years ago

Well, it takes up some CPU time trying to do useless work. I can't say it makes the UI buggy.