Issue #5 resolved

Fails to start on Windows

Alexey Vikhorev
created an issue

If installed as per instructions "Getting Started on Windows", pyhacc fails with the following stacktrace: Traceback (most recent call last): File "/usr/local/bin/pyhaccgui", line 5, in <module> pkg_resources.run_script('PyHacc==0.7', 'pyhaccgui') File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script execfile(script_filename, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/PyHacc-0.7-py2.7.egg/EGG-INFO/scripts/pyhaccgui", line 16, in <module> pyhacc.gui_app(options.conn) File "/usr/local/lib/python2.7/dist-packages/PyHacc-0.7-py2.7.egg/pyhacc/PyHaccLib.py", line 80, in gui_app mainwindow = MainWindow(Session=SessionHolder.Session) File "/usr/local/lib/python2.7/dist-packages/PyHacc-0.7-py2.7.egg/pyhacc/PyHaccMainWindow.py", line 47, in init self.createMenus() File "/usr/local/lib/python2.7/dist-packages/PyHacc-0.7-py2.7.egg/pyhacc/PyHaccMainWindow.py", line 214, in createMenus self.fileCommands.fillMenu(self.menuBar().addMenu(self.tr("&File"))) File "/usr/local/lib/python2.7/dist-packages/qtalchemy-0.8.0-py2.7.egg/qtalchemy/commands.py", line 541, in fillMenu self.resetActions() File "/usr/local/lib/python2.7/dist-packages/qtalchemy-0.8.0-py2.7.egg/qtalchemy/commands.py", line 512, in resetActions action = cmd.action(actionParent) File "/usr/local/lib/python2.7/dist-packages/qtalchemy-0.8.0-py2.7.egg/qtalchemy/commands.py", line 66, in action action = QtGui.QAction(self.descr, parent) TypeError: 'PySide.QtGui.QAction' called with wrong argument types: PySide.QtGui.QAction(str, builtin_function_or_method) Supported signatures: PySide.QtGui.QAction(PySide.QtCore.QObject) PySide.QtGui.QAction(PySide.QtGui.QIcon, unicode, PySide.QtCore.QObject) PySide.QtGui.QAction(unicode, PySide.QtCore.QObject)

Comments (1)

  1. Log in to comment