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
The conda-store solve command no longer works. It looks like this is issue as to do with how arguments are parsed from the api. This is the error message from the worker:
File "/home/sophia/miniconda3/envs/conda-store-server-dev/bin/conda-store", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/sophia/projects/conda-store/conda-store/conda_store/__main__.py", line 43, in main
cli()
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/projects/conda-store/conda-store/conda_store/_internal/utils.py", line 25, in wrapper
return asyncio.run(f(*args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/sophia/projects/conda-store/conda-store/conda_store/_internal/cli.py", line 307, in solve_environment
packages = await conda_store.solve_environment(**arguments)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/projects/conda-store/conda-store/conda_store/api.py", line 179, in solve_environment
return (await response.json())["solve"]
^^^^^^^^^^^^^^^^^^^^^
File "/home/sophia/miniconda3/envs/conda-store-server-dev/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1277, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 500, message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='http://localhost:8080/conda-store/api/v1/specification/?channels=conda-forge&conda=python+%3D%3D3.12&conda=flask/'
Versions and dependencies used.
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Looking more into this issues, there seems to be a whole can of problems to resolve in order to fully fix this issue. Since we are actively working on designing a new cli, we are going to choose to not fix this issue.
Describe the bug
The
conda-store solve
command no longer works. It looks like this is issue as to do with how arguments are parsed from the api. This is the error message from the worker:Expected behavior
The environment is solved and conda-store returns the list of packages in the environment.
How to Reproduce the problem?
For an environment.yaml, for example
Try to use the cli to submit a solve
Output
Output is an error
Versions and dependencies used.
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: