ebadi / OpenScenarioEditor

ASAM Open Scenario Editor
BSD 3-Clause "New" or "Revised" License
141 stars 19 forks source link

Argument list not aligned with PyEsmini class #2

Closed thangh closed 3 years ago

thangh commented 3 years ago

PyEsmini class seems to expect "recordFile" as argument and not "record".

Receiving this error message when trying to open a OSC-file:

_disable_ctrls = False , use_viewer = True , threads = True , record = False Traceback (most recent call last): File "OpenScenarioEditor.py", line 462, in openxml self.gui.load_file(self.xmlfn) File "/home/thang/OpenScenarioEditor/gui_qt.py", line 1119, in load_file self.reload() File "/home/thang/OpenScenarioEditor/guiqt.py", line 885, in reload self.pyesmini = PyEsmini( TypeError: init() got an unexpected keyword argument 'record'

ebadi commented 3 years ago

Thanks for reporting this. I will fix this in the next version.

ebadi commented 3 years ago

The issue is now resolved.

Please remove OpenScenario directory and follow the build instruction and please let me know if you still have the same issue.

thangh commented 3 years ago

The bug is fixed. Thanks @ebadi !