Problem with pyqtdeploy 3.1.0

Olaf-Marie Sergent olafsergent at gmail.com
Tue Sep 15 14:44:55 BST 2020


I have recently updated *pyqtdeploy* to its latest version (3.1.0)

Unfortunately I get an error code that I can't solve.

$ pyqtdeployTraceback (most recent call last):
  File "/home/sergent/.local/bin/pyqtdeploy", line 8, in <module>
    sys.exit(main())
  File "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/pyqtdeploy_main.py",
line 69, in main
    gui = ProjectGUI(project)
  File "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/gui/project_gui.py",
line 59, in __init__
    self._set_project(project)
  File "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/gui/project_gui.py",
line 220, in _set_project
    self._name_changed(self._project.name)
  File "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/gui/project_gui.py",
line 160, in _name_changed
    title = os.path.basename(name) if name != '' else "Unnamed"
  File "/usr/lib/python3.8/posixpath.py", line 142, in basename
    p = os.fspath(p)TypeError: expected str, bytes or os.PathLike
object, not NoneType

I am on Ubuntu 20.04.1 LTS How can I easily fix this problem please ?

Thank you in advance for any help.


BenoƮt Eirik


https://stackoverflow.com/questions/63754512/pyqtdeploy-typeerror-expected-str-bytes-or-os-pathlike-object-not-nonetype
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200915/a5f7ec1b/attachment.htm>


More information about the PyQt mailing list