You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the following command and got the below response. I think it should just print till requires a subcommand and not the traceback, as it looks like the tool has crashed. Perhaps the intention is to show the traceback as it's in debug mode but this looks a confusing to users. Thoughts ?
pghole@pghole-thinkpadt14sgen2i:~/opensource_contribution/ramalama$ ramalama --debug
usage: ramalama [-h] [--container] [--debug] [--dryrun] [--engine ENGINE] [--image IMAGE] [--nocontainer] [--gpu] [--runtime {llama.cpp,vllm}] [--store STORE] [-v]
{help,convert,containers,ps,info,list,ls,login,logout,pull,push,rm,run,serve,stop,version} ...
ramalama: requires a subcommand
Traceback (most recent call last):
File "/usr/local/bin/ramalama", line 4, in <module>
__import__('pkg_resources').run_script('ramalama==0.3.0', 'ramalama')
File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 720, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1559, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python3.12/site-packages/ramalama-0.3.0-py3.12.egg/EGG-INFO/scripts/ramalama", line 95, in <module>
main(sys.argv[1:])
File "/usr/local/lib/python3.12/site-packages/ramalama-0.3.0-py3.12.egg/EGG-INFO/scripts/ramalama", line 72, in main
args.func(args)
^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'func'
The text was updated successfully, but these errors were encountered:
@ericcurtin Can I send a PR for this ? Should we print the entire help menu like podman or just printing ramalama: requires a subcommand should be fine (ramalama other commands are just printing this line) ?
I ran the following command and got the below response. I think it should just print till requires a subcommand and not the traceback, as it looks like the tool has crashed. Perhaps the intention is to show the traceback as it's in debug mode but this looks a confusing to users. Thoughts ?
The text was updated successfully, but these errors were encountered: