Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build #42

Closed
davidpelaez opened this issue Apr 22, 2014 · 2 comments
Closed

Cannot build #42

davidpelaez opened this issue Apr 22, 2014 · 2 comments

Comments

@davidpelaez
Copy link

Hi,

I was trying to play a little bit with STI to test some stuff with geard. I didn't manage to make if work in OS X or Fedora 20. When I run sti build test_sources/applications/html pmorie/fedora-mock sti_app this is what I get:

INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): localhost
INFO:sti.cmd.builder:Building new docker image
Traceback (most recent call last):
  File "/usr/local/bin/sti", line 10, in <module>
    sys.exit(main())
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sti/cmd/builder.py", line 362, in main
    builder.main()
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sti/cmd/builder.py", line 348, in main
    self.build(working_dir, build_image, source, is_incremental, user, app_image, env_str)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sti/cmd/builder.py", line 245, in build
    img = self.build_deployable_image(image_name, build_dir, tag, env_str, incremental_build)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sti/cmd/builder.py", line 229, in build_deployable_image
    img, logs = self.docker_client.build(tag=tag, path=context_dir, rm=True)
ValueError: too many values to unpack

I don't really know Python so digging into the code to find out myself isn't that easy. Any help is appreciated, thanks.

@mfojtik
Copy link
Contributor

mfojtik commented May 21, 2014

@davidpelaez I think python version is now slightly behind of the Go version. The main focus is on the Go version so you should give that a shot :-)

@davidpelaez
Copy link
Author

Yep, figured that out through some updates on geard. I'll let you know if I have any issues on the go version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants