You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This python code (taken from sDNA\sdna_vs2008\tests\benchmark_dll.py) requires the env var of the dll path not to include surrounding quotes (otherwise it errors when loading the dll):
If sDNA is installed to the default location on Windows (c:\Program Files (x86)\sDNA), the path to its dll contains a space. In this case, these commands that launch sDNA (taken from sDNA\sdna_vs2008\tests\run_debug_test.bat ) must have the %sdnadll% quoted in --dll %sdnadll%. Otherwise cmd.exe splits the path at the space, and sDNA treats the portion after the space as the config string, then complains about extra args. I assume producing such an error was not the intention behind all 7 command strings:
I've worked around this in my Pytest runner, but you might not choose to include that, and regardless it's better to fix the problem at its source and use the env var consistently.
The text was updated successfully, but these errors were encountered:
This python code (taken from sDNA\sdna_vs2008\tests\benchmark_dll.py) requires the env var of the dll path not to include surrounding quotes (otherwise it errors when loading the dll):
If sDNA is installed to the default location on Windows (c:\Program Files (x86)\sDNA), the path to its dll contains a space. In this case, these commands that launch sDNA (taken from sDNA\sdna_vs2008\tests\run_debug_test.bat ) must have the %sdnadll% quoted in
--dll %sdnadll%
. Otherwise cmd.exe splits the path at the space, and sDNA treats the portion after the space as the config string, then complains about extra args. I assume producing such an error was not the intention behind all 7 command strings:I've worked around this in my Pytest runner, but you might not choose to include that, and regardless it's better to fix the problem at its source and use the env var consistently.
The text was updated successfully, but these errors were encountered: