#10819 (Bug) 3.5 error(s) on startup on Ubuntu 16.04:

+1 0

Closed
Component: DisplayCAL 3.5
Created by romplx

Last modified


ImportError: No module named faulthandler :I guess https://github.com/vstinner/faulthandler needs to be installed?

The same message also is coming when starting 3.4.

Connection to 127.0.0.1:15411 failed: [Errno 111] Connection refused: No clue on this one. The same message also is coming when starting 3.4

self._pressed or self.HasFocus()) and self.IsEnabled():
AttributeError: ‘TabButton’ object has no attribute ‘HasFocus’

This error is then printed out multiple times when I try to klick the empty popup windows…

Due to this error, the Gui looks like this:

displaycal startup error

Full startup output:

displaycal 3.5.0.0 2018-02-18T15:11:01.986371Z
Ubuntu 16.04 xenial x86_64
Python 2.7.12 (default, Dec 4 2017, 14:50:18) 
[GCC 5.4.0 20160609]
ImportError: No module named faulthandler
wxPython 2.8.12.1 (gtk2-unicode)
Encoding: UTF-8
File system encoding: UTF-8
Connection to 127.0.0.1:15411 failed: [Errno 111] Connection refused
Starting up...
Audio module: pygame 1.9.1release
Enumerating display devices and communication ports...
/usr/bin
ArgyllCMS 1.9.2
...ok.
Checking video card gamma table access for display 1...
Verify: 'test.cal' IS loaded (discrepancy 0.0%)
...ok.
Initializing GUI...

/usr/lib/python2.7/dist-packages/DisplayCAL/colord.py:87: Warning: property match 'OutputEdidMd5'='d5fcd186028d9e0a2e95d4cdf2efac36' does not exist
...ok.
Ready.
Setting up scripting host at 127.0.0.1:15411
AttributeError: 'TabButton' object has no attribute 'HasFocus'

Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/DisplayCAL/wxwindows.py", line 5971, in OnPaint
 self.__DrawButton()
 File "/usr/lib/python2.7/dist-packages/DisplayCAL/wxwindows.py", line 6074, in __DrawButton
 self._pressed or self.HasFocus()) and self.IsEnabled():
AttributeError: 'TabButton' object has no attribute 'HasFocus'
Check for application update...
DisplayCAL is up-to-date.


4 comments on “3.5 error(s) on startup on Ubuntu 16.04:”

  1. well then it would be nice if the displayCAL package would explicitly depend on python-wxgtk3.0.

    1. well then it would be nice if the displayCAL package would explicitly depend on python-wxgtk3.0.

      It did, but it also has a fallback dependency to the older 2.8 in case 3.0 is not available (I don’t test with 2.8 anymore since a few years though, as all distributions have 3.0). It would be interesting to see why the older 2.8 was chosen by the apt-get solver instead of the newer 3.0. Probably 2.8 was already on the system due to being a dependency of some other package, and thus the requirement was satisfied? Nevertheless, the 2.8 fallback is now removed.

      the other 2 errors still happen – shall I ignore them?

      faulthandler is not required. The connection error only happened because the previous instance was killed and thus the lockfile still existed, so this’ll go away on next launch.

Comments are closed.