Skip to content

404/unexpected keyword argument 'name' #2

@benman1

Description

@benman1

This looks like a very cool project, well done, please keep going!

I want to report a problem - I am getting a 404 with the example usage:

(base) ben@admins-MacBook-Pro autopack-demo % autopack install erik-megarad/my_tools/disk_usage
Installing pack: erik-megarad/my_tools/disk_usage
Traceback (most recent call last):
  File "/Users/ben/anaconda3/lib/python3.11/site-packages/autopack/installation.py", line 99, in install_pack
    pack_data = get_pack_details(pack_id, remote=True)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ben/anaconda3/lib/python3.11/site-packages/autopack/api.py", line 17, in get_pack_details
    return get_pack_details_remotely(pack_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ben/anaconda3/lib/python3.11/site-packages/autopack/api.py", line 60, in get_pack_details_remotely
    raise AutoPackFetchError(f"Error: {response.status_code}")
autopack.errors.AutoPackFetchError: Error: 404

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/ben/anaconda3/bin/autopack", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/ben/anaconda3/lib/python3.11/site-packages/autopack/cli.py", line 31, in main
    result = install_pack(args.pack, args.force)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ben/anaconda3/lib/python3.11/site-packages/autopack/installation.py", line 105, in install_pack
    raise AutoPackInstallationError(f"Could not install pack {e}")
autopack.errors.AutoPackInstallationError: Could not install pack Error: 404

When I run the demo project, I get a bunch of these errors here, no idea what these are about (unexpected keyword argument 'name'):

ERROR:__main__:Pack AutoPackAI/official/wolfram_alpha_query could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/os_name_and_version could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/disk_usage could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/extract_information_from_webpage could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/wikipedia could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/delete_file could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/read_file could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/list_files could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/write_python_code could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/http_request could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/write_file could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
ERROR:__main__:Pack AutoPackAI/official/google_search could not be installed, leaving it out of the toolset. Could not install pack Pack fetch received invalid data: PackResponse.__init__() got an unexpected keyword argument 'name'
^CERROR:__main__:Pack AutoPackAI/official/get_webpage_html_content could not be installed, leaving it out of the toolset. Could not install pack

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