SteveDoyle2 / pyNastran

A Python-based interface tool for Nastran's file formats
Other
384 stars 147 forks source link

Unable to Launch 1.4.0_2024-2-29 Executable on Windows 10 #771

Closed sudoDrive closed 5 months ago

sudoDrive commented 5 months ago

Downloaded the version 1.4.0_2024-2-29 Windows executable from https://sourceforge.net/projects/pynastran/files/?source=navbar/

However, I get the following error when I try to launch

D:>pyNastranGUI.exe supported_formats = ['nastran', 'abaqus', 'bedge', 'surf', 'ugrid', 'ugrid3d', 'cart3d', 'fast', 'lawgs', 'panair', 'shabp', 'stl', 'su2', 'tecplot', 'tetgen', 'usm3d', 'avl', 'vtk'] Traceback (most recent call last): File "gui.py", line 114, in File "gui.py", line 110, in cmd_line File "main_window.py", line 162, in init File "gui_common.py", line 1529, in setup_gui File "gui_common.py", line 293, in set_tools File "gui_common.py", line 458, in get_recent_file_tools UnboundLocalError: cannot access local variable 'ifile' where it is not associated with a value [1560] Failed to execute script 'gui' due to unhandled exception!

Have no problems getting version 1.3.4_2022-5-30 to launch.

SteveDoyle2 commented 5 months ago

If you see issue 761 or the forum, there’s a file to fix it. On my phone, so hard to provide a link

On Tue, Mar 19, 2024 at 5:17 PM sudoDrive @.***> wrote:

Downloaded the version 1.4.0_2024-2-29 Windows executable from https://sourceforge.net/projects/pynastran/files/?source=navbar/

However, I get the following error when I try to launch

D:>pyNastranGUI.exe supported_formats = ['nastran', 'abaqus', 'bedge', 'surf', 'ugrid', 'ugrid3d', 'cart3d', 'fast', 'lawgs', 'panair', 'shabp', 'stl', 'su2', 'tecplot', 'tetgen', 'usm3d', 'avl', 'vtk'] Traceback (most recent call last): File "gui.py", line 114, in File "gui.py", line 110, in cmd_line File "main_window.py", line 162, in init File "gui_common.py", line 1529, in setup_gui File "gui_common.py", line 293, in set_tools File "gui_common.py", line 458, in get_recent_file_tools UnboundLocalError: cannot access local variable 'ifile' where it is not associated with a value [1560] Failed to execute script 'gui' due to unhandled exception!

Have no problems getting version 1.3.4_2022-5-30 to launch.

— Reply to this email directly, view it on GitHub https://github.com/SteveDoyle2/pyNastran/issues/771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAICUWLBB7SMZPDZF4YPSOLYZDIPVAVCNFSM6AAAAABE6Q5YF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TMMZRGI2TEMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SteveDoyle2 commented 5 months ago

https://github.com/SteveDoyle2/pyNastran/issues/761