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 install plumi over debian 7 #7

Closed
huiyiqun opened this issue May 28, 2015 · 8 comments
Closed

Cannot install plumi over debian 7 #7

huiyiqun opened this issue May 28, 2015 · 8 comments

Comments

@huiyiqun
Copy link

When I tried to install plumi over a newly-installed debian 7 yesterday, I failed with following messages:

...
Got MarkupSafe 0.23.
Picked: MarkupSafe = 0.23
While:
  Installing.
  Getting section cache.
  Initializing section cache.
  Loading zc.buildout recipe entry plone.recipe.varnish:default.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/huiyiqun/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/huiyiqun/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 439, in install
    [self[part]['recipe'] for part in install_parts]
  File "/home/huiyiqun/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 987, in __getitem__
    options._initialize()
  File "/home/huiyiqun/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1071, in _initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
  File "/home/huiyiqun/plumi.app/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1032, in _install_and_load
    req.project_name, group, entry)
  File "/home/huiyiqun/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/huiyiqun/plumi.app/eggs/distribute-0.6.27-py2.7.egg/pkg_resources.py", line 2306, in load_entry_point
    raise ImportError("Entry point %r not found" % ((group,name),))
ImportError: Entry point ('zc.buildout', 'default') not found
*********************************************
Writing picked versions to versions.cfg
*********************************************

I noticed that the buildout version is 1.4.4. Maybe a newer version is needed?

The step to reproduce the error:

  1. Just follow the docs/INSTALL.rst except that I didn't edit the site.cfg for that I don't which option is needed for a simple installation.
  2. The error appeared when I exce ./bin/python bootstrap.py && ./bin/buildout -v under plumi.app
@huiyiqun huiyiqun reopened this May 28, 2015
@mgogoulos
Copy link
Member

Hi,
the buildout needs update, there's a discussion here on how to make it run.

http://lists.plumi.org/pipermail/discuss/2015-March/006347.html

@huiyiqun
Copy link
Author

Thanks, It seems what I'm looking for.

@huiyiqun
Copy link
Author

This link has resolved the problem. But root seems needed for the installation or it will failed.

But when I try to buildout under ffmpeg, it fails again.

Here is the output:

Installing 'hexagonit.recipe.cmmi'.
We have the best distribution that satisfies 'hexagonit.recipe.cmmi'.
Picked: hexagonit.recipe.cmmi = 2.0
While:
  Installing.
  Getting section yasm-build.
  Initializing section yasm-build.
  Installing recipe hexagonit.recipe.cmmi.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
    getattr(buildout, command)(args)
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 439, in install
    [self[part]['recipe'] for part in install_parts]
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 987, in __getitem__
    options._initialize()
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1071, in _initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1027, in _install_and_load
    allow_hosts=buildout._allow_hosts
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 800, in install
    return installer.install(specs, working_set)
  File "/home/huiyiqun/plumi.app/ffmpeg/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/easy_install.py", line 662, in install
    [requirement] = err
ValueError: too many values to unpack

Could you please help me?

@mgogoulos
Copy link
Member

Did you try to make the same changes on the buildout.cfg of ffmpeg directory? It might be needed as well

@huiyiqun
Copy link
Author

There isn't a section named versions in buildout.cfg under ffmpeg. And according to the comments over the section versions, I guess that the section versions is a dirty hack. I'll try.

@huiyiqun
Copy link
Author

huiyiqun commented Jun 3, 2015

Yes, you are right. latest hexagonit.recipe.cmmi is not compable with buildout 1.4.4, after forcing buildout 1.7.1, it works.

Here is what I have done.

  1. checkout to branch update_bootstrap
  2. edit ffmpeg/buildout.cfg: Add versions = versions in section buildout ,create a new section named versions and then configure the version of buildout and distribute under which.
  3. bootstrap...

@huiyiqun huiyiqun closed this as completed Jun 3, 2015
@huiyiqun
Copy link
Author

huiyiqun commented Jun 3, 2015

If merge request is welcomed, I'd like to give one.

@mgogoulos
Copy link
Member

Hi,
pull requests are always welcome!

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