Skip to content

Error right clicking and pressing new #362

@EmmanuelMess

Description

@EmmanuelMess

---- Notes ----
Please provide additional information about the crash here
---- System Information ----
Operating System: Linux 6.8.0-60-generic x86_64
Python Version: 3.12.11 (main, Jun 4 2025, 08:56:18) [GCC 11.4.0]
wxPython Version: 4.2.3 gtk3 (phoenix) wxWidgets 3.2.7
wxPython Info: (WXGTK, wxGTK, unicode, unicode-wchar, gtk3, wx-assertions-on, phoenix, wxWidgets 3.2.7, autoidman, sip-6.10.0, build-type: development)
Python Encoding: Default=utf-8 File=utf-8
wxPython Encoding: 1
System Architecture: 64bit x86_64
Byte order: little
Frozen: False
---- End System Information ----

---- Traceback Info ----
*** 05 July 2025 @ 00:01:47 ***
Traceback (most recent call last):
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2257, in OnNewModel
gmwiz = self.OnStartWizard(event)
^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2233, in OnStartWizard
gmwiz = ShapeCanvas.StartWizard(parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2216, in StartWizard
gmwiz = WizardGUI.ModelGeneratorWizard(**kargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/WizardGUI.py", line 553, in init
init = os.path.join(domain_path, "%s.amd"%vbox2.GetItem(1).GetWindow().GetValue())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

*** 05 July 2025 @ 00:02:43 ***
Traceback (most recent call last):
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2257, in OnNewModel
gmwiz = self.OnStartWizard(event)
^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2233, in OnStartWizard
gmwiz = ShapeCanvas.StartWizard(parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/Container.py", line 2216, in StartWizard
gmwiz = WizardGUI.ModelGeneratorWizard(**kargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..."/DEVSimPy/.venv/lib/python3.12/site-packages/devsimpy/WizardGUI.py", line 553, in init
init = os.path.join(domain_path, "%s.amd"%vbox2.GetItem(1).GetWindow().GetValue())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType

---- End Traceback Info ----

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions