File>View Scenario is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS Wrowser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you select View Scenario from the File menu and open any configuration file of openWNS, wrowser crashes with an import error. It seems that the path to the sandbox is not properly included in the sys.path variable.
Traceback (most recent call last):
File "/usr/lib/
p = scenario.
File "/usr/lib/
inspector = inspect.
File "/usr/lib/
exec(
File "<string>", line 3, in <module>
ImportError: No module named wns.WNS
description: | updated |
Changed in openwns-wrowser: | |
status: | New → Fix Released |
Same here.
The exakt ImportError depends on the config you load.
For me it says "ImportError: No module named pyconfig" when I load a wimac-tests/ configIMTA file. It is possible to work around the bug by doing: $PYTHONPATH: /path-to/ openwns- sdk/sandbox/ dbg/lib/ PyConfig
export PYTHONPATH=