matzman666 / PyPipboyApp

A platform independent and extensible unofficial Fallout 4 Pipboy Companion App
GNU General Public License v3.0
83 stars 20 forks source link

Crash because not compatible with QT 5.6 #58

Open thePalindrome opened 6 years ago

thePalindrome commented 6 years ago

When attempting to run via python pypipboyapp.py, I'm greeted with the following:

Traceback (most recent call last):
  File "pypipboyapp.py", line 816, in <module>
    pipboyApp = PyPipboyApp(sys.argv, inifile)
  File "pypipboyapp.py", line 127, in __init__
    self.signalConnectToHost.connect(self.connectToHost)
TypeError: decorated slot has no signature compatible with PyPipboyApp.signalConnectToHost[str, int, bool]

Digging around has shown no specific fix, but https://github.com/spyder-ide/spyder/issues/3145 references it's related to QT 5.6+, and https://github.com/spyder-ide/spyder/pull/3198 documents their fixes.

For reference, I'm running QT 5.7.1, and python 3.4.6 and 3.5.4, neither of which function.

For completeness' sake, python 2.7.14 returns the following:

    if selectDialog.exec(self._autodiscoverHosts):
                       ^
SyntaxError: invalid syntax