[Bug 2065348] [NEW] python3-docker `from_env()` broken

2024-05-09 Thread Greg Stewart
Public bug reported:

I have a python script that manages some docker resources. It uses the
`from_env()` method to build the client. This script always runs as
root.

This worked in Ubuntu 22.04. However, it seems like something is
mismatched in 24.04, as I now get the following error, even after a
reboot (which seemed to solve this for others in the past?). It appears
based on cursory googling that a library version might be out of sync.

```
Traceback (most recent call last):
  File "/usr/bin/oqm-captain", line 62, in 
ContainerUtils.ensureSharedDockerResources()
  File "/usr/lib/oqm/station-captain/ContainerUtils.py", line 55, in 
ensureSharedDockerResources
client = docker.from_env()
 ^
  File "/usr/lib/python3/dist-packages/docker/client.py", line 96, in from_env
return cls(
   
  File "/usr/lib/python3/dist-packages/docker/client.py", line 45, in __init__
self.api = APIClient(*args, **kwargs)
   ^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in 
__init__
self._version = self._retrieve_server_version()
^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in 
_retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: 
HTTPConnection.request() got an unexpected keyword argument 'chunked'
```

This is on a fresh 24.04 install.

Willing to help diagnose, but to replicate:

 1. `apt install docker.io python3-docker`
 2. `python3`
 3. `import docker`
 4. `docker.from_env()`

** Affects: python-docker (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2065348

Title:
  python3-docker `from_env()` broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2065348/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1868105] Re: No Sound, dummy output in settings

2021-07-23 Thread Greg Stewart
This same bug affects me as well. It might of happened the last time I
updated but hard to say (I didn't notice right away)

I have several sound card/devices; NVIDIA 1080 graphics card, intel, and
a sound blaster, all of which are now gone. Running Ubuntu 20.04.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1868105

Title:
  No Sound, dummy output in settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-osp1/+bug/1868105/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs