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
Building test
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "compose/cli/main.py", line 58, in main
File "compose/cli/main.py", line 109, in perform_command
File "compose/cli/main.py", line 215, in build
File "compose/project.py", line 300, in build
File "compose/service.py", line 719, in build
File ".tox/py27/lib/python2.7/site-packages/docker/api/build.py", line 104, in build
File ".tox/py27/lib/python2.7/site-packages/docker/utils/decorators.py", line 46, in inner
AttributeError: 'NoneType' object has no attribute 'update'
docker-compose returned -1
I can't seem to be able to reproduce this on 1.7.1 or 1.8.0. What version of docker-compose are you using? Did you install it through pip, or are you using the binary distribution?
$ uname -a
Linux devmachine 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ docker-compose build
Building test
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "compose/cli/main.py", line 61, in main
File "compose/cli/main.py", line 113, in perform_command
File "compose/cli/main.py", line 219, in build
File "compose/project.py", line 300, in build
File "compose/service.py", line 727, in build
File "site-packages/docker/api/build.py", line 104, in build
File "site-packages/docker/utils/decorators.py", line 46, in inner
AttributeError: 'NoneType' object has no attribute 'update'
docker-compose returned -1
Oh, nevermind - the issue triggers when you have a HttpHeaders entry in your config.json file.
I've created issue docker/docker-py#1148 to track its resolution in docker-py, after which we can port the fix in compose.
Thank you for the report, and thanks for your patience.
Activity
shin- commentedon Jul 29, 2016
I can't seem to be able to reproduce this on 1.7.1 or 1.8.0. What version of docker-compose are you using? Did you install it through pip, or are you using the binary distribution?
feltraco commentedon Aug 1, 2016
Hi @shin- , I just tried with 1.8.0.
Installed (or download) from https://github.com/docker/compose/releases:
Running in Ubuntu:
shin- commentedon Aug 2, 2016
@feltraco Care to share your compose file? I still can't reproduce the issue using a similar environment.
shin- commentedon Aug 2, 2016
Oh, nevermind - the issue triggers when you have a
HttpHeadersentry in yourconfig.jsonfile.I've created issue docker/docker-py#1148 to track its resolution in docker-py, after which we can port the fix in compose.
Thank you for the report, and thanks for your patience.