carball icon indicating copy to clipboard operation
carball copied to clipboard

Error with decompile_replay

Open Rulerofzeworld opened this issue 3 years ago • 0 comments

When running the example code:

import carball
_json = carball.decompile_replay('9EB5E5814D73F55B51A1BD9664D4CBF3.replay', 
                                output_path='9EB5E5814D73F55B51A1BD9664D4CBF3.json', 
                                overwrite=True)

I receive the following error:

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    _json = carball.decompile_replay('9EB5E5814D73F55B51A1BD9664D4CBF3.replay',
TypeError: decompile_replay() got an unexpected keyword argument 'output_path'

Looking at the code in decompile_replays.py, the function has no output_path variable.

It was, however, present one commit before.

What should I do to get the same output as before, using the new version?

Rulerofzeworld avatar Oct 02 '21 14:10 Rulerofzeworld