ELM-Python-Client icon indicating copy to clipboard operation
ELM-Python-Client copied to clipboard

Cli tools are not working anymore with the latest version

Open Sozhan308 opened this issue 7 months ago • 2 comments

represt cli commands are not working with the latest version 0.37.1

$ represt rm --help Traceback (most recent call last): File "dng/.venv/bin/represt", line 10, in <module> sys.exit(main()) ~~~~^^ File "dng/.venv/lib/python3.13/site-packages/elmclient/examples/represt.py", line 392, in main represt_main() ~~~~~~~~~~~~^^ File "dng/.venv/lib/python3.13/site-packages/elmclient/examples/represt.py", line 104, in represt_main appcls.add_represt_arguments( subparsers, common_args ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'AMApp' has no attribute 'add_represt_arguments'

Sozhan308 avatar Apr 29 '26 06:04 Sozhan308

Hi

I haven't tested this with AM at all. In fact alll the Reportable REST functions are little-tested and probably incomplete.

what was the commandline you used?

barny avatar Apr 30 '26 08:04 barny

Ah I see the problem - in _ccm.py change line 470: supports_reportable_rest = True to: supports_reportable_rest = False

barny avatar May 06 '26 12:05 barny