[PyQt] [bug]pyqtdeploy crashed

Zhao Lee redstone-cold at 163.com
Fri Jul 29 09:01:57 BST 2016


I am using pyqtdeploy to deployment my PyQt5 application,
Working environment :
OS: Linux Mint 18 "Sarah" - Cinnamon (64-bit)
latest version of pyqt5,sip, pyqtdeploy installed using pip
python 3.5.1
qt-opensource-linux-x64-5.7.0.run





when click the indicated button, then pyqtdeploy crashed with the following error:

i at i ~/文档 $ /home/i/.local/bin/pyqtdeploy
Traceback (most recent call last):
  File "/home/i/.local/lib/python3.5/site-packages/pyqtdeploy/gui/filename_editor.py", line 88, in _browse
    default = self._project.path_from_user(default)
  File "/home/i/.local/lib/python3.5/site-packages/pyqtdeploy/project/project.py", line 136, in path_from_user
    fi = self._fileinfo_from_user(user_path)
  File "/home/i/.local/lib/python3.5/site-packages/pyqtdeploy/project/project.py", line 190, in _fileinfo_from_user
    fi = QFileInfo(self._name.canonicalPath() + '/' + fi.filePath())
AttributeError: 'NoneType' object has no attribute 'canonicalPath'
Aborted
i at i ~/文档 $


please fix the bug, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160729/62ae6c26/attachment-0001.html>


More information about the PyQt mailing list