Skip to content

Error with decompile_replay #265

@Rulerofzeworld

Description

@Rulerofzeworld

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions