Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637478 - app-emulation/docker-compose:1.7.1 - AttributeError: 'SocketIO' object has no attribute 'raw'
Summary: app-emulation/docker-compose:1.7.1 - AttributeError: 'SocketIO' object has no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alex Brandt (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-14 12:06 UTC by László Szalma
Modified: 2017-11-18 19:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description László Szalma 2017-11-14 12:06:53 UTC
docker-compose up fails with error:

... long stack trace ...
AttributeError: 'SocketIO' object has no attribute 'raw'

I think the issue is known by upstream: https://github.com/docker/compose/issues/5353

The fix (by upstream) is to depend on docker-py:2.6.1 (instead of 2.6.0). see: https://github.com/docker/compose/commit/c0366b71e9410f228c9839d4d74dd2f36b30b8f9

The portage tree includes docker-py:2.6.0 as latest ATM.

Downgrading docker-compose to app-emulation/docker-compose-1.16.1-r1::gentoo did not solve the problem for me.
Comment 1 László Szalma 2017-11-18 19:18:57 UTC
I confirm updating dev-python/docker-py to 2.6.1 (as it arrived to the tree) fixed the problem (as I expected).

docker-py-2.6.0 is not in the tree anymore, docker-compose depends on >=dev-python/docker-py:2.5.1 but I didn't tested docker-compose with it.

At least for me on ~amd64 the issue is solved. I suggest closing this issue. Thank you!
Comment 2 László Szalma 2017-11-18 19:19:35 UTC
upgrading dev-python/docker-py to 2.6.1 fixed the issue.