Epic-Breakfast-Productions / OpenQuarterMaster

Open Quartermaster is an open source inventory management system, designed to be simple to use yet powerful and extendable. The last inventory management system you will ever need!
https://openquartermaster.com
GNU General Public License v3.0
10 stars 6 forks source link

[FR]: Support Ubuntu 24.04 #599

Open GregJohnStewart opened 4 months ago

GregJohnStewart commented 4 months ago

Software

Core API, Base Station, Plugins- , SNH - Station Captain, SNH - Infra -

Describe what you'd like to see

Things are, at time of writing, no bueno for OQM on Ubuntu 24.04.

It appears that there is an issue with the docker library for python:

May 09 20:01:21 oqm-b4-test bash[37613]: TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'
May 09 20:01:21 oqm-b4-test bash[37613]: During handling of the above exception, another exception occurred:
May 09 20:01:21 oqm-b4-test bash[37613]: Traceback (most recent call last):
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/bin/oqm-captain", line 62, in <module>
May 09 20:01:21 oqm-b4-test bash[37613]:     ContainerUtils.ensureSharedDockerResources()
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/lib/oqm/station-captain/ContainerUtils.py", line 55, in ensureSharedDockerResources
May 09 20:01:21 oqm-b4-test bash[37613]:     client = docker.from_env()
May 09 20:01:21 oqm-b4-test bash[37613]:              ^^^^^^^^^^^^^^^^^
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/lib/python3/dist-packages/docker/client.py", line 96, in from_env
May 09 20:01:21 oqm-b4-test bash[37613]:     return cls(
May 09 20:01:21 oqm-b4-test bash[37613]:            ^^^^
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/lib/python3/dist-packages/docker/client.py", line 45, in __init__
May 09 20:01:21 oqm-b4-test bash[37613]:     self.api = APIClient(*args, **kwargs)
May 09 20:01:21 oqm-b4-test bash[37613]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
May 09 20:01:21 oqm-b4-test bash[37613]:     self._version = self._retrieve_server_version()
May 09 20:01:21 oqm-b4-test bash[37613]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 09 20:01:21 oqm-b4-test bash[37613]:   File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
May 09 20:01:21 oqm-b4-test bash[37613]:     raise DockerException(
May 09 20:01:21 oqm-b4-test bash[37613]: docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked'

Made a bug against ubuntu to see what they say: https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2065348

Is your feature request related to a problem?

No response

Describe alternatives you've considered

None

Additional context

None