Skip to content

Failed to update camp: "error in camp setup command" #44

Description

@danzone

Characteristics

  • Issue Type: bug
  • Reproducibility: always
  • Severity: block
  • Tool/Service/Component: CAMP, 0.3.4
  • Execution Environment: vmi2.stamp-project.eu, Debian Jessie, amd64
  • Reporter: Daniele Gagliardi, daniele.gagliardi@eng.it

Description

I tried to update CAMP installation within STAMP CI/CD server (vmi2.stamp-project.eu), using pip to update it, but I got following error:

    Complete output from command python setup.py egg_info:
    error in camp setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-zGl9AM/

The worst thing is that now camp is no longer working (and the Lutece Jenkins pipeline doesn't work anymore). If I type:
camp -h
I get following error:

Traceback (most recent call last):
  File "/usr/local/bin/camp", line 6, in <module>
    from camp.run import main
ImportError: No module named camp.run

Steps to reproduce

As root user:

  • After login, I went to camp project cloned a month ago:
    cd camp
  • Then I update camp repo:
    git pull
  • Then I performed installation as I did last time:
    pip install -e .

I tried also, after removing camp folder, to update it launching following command:
pip install -U git+https://github.com/STAMP-project/camp.git@master#egg=camp

The output is quite similar:

Collecting camp from git+https://github.com/STAMP-project/camp.git@master#egg=camp
  Cloning https://github.com/STAMP-project/camp.git (to revision master) to /tmp/pip-install-kG_3I6/camp
    Complete output from command python setup.py egg_info:
    error in camp setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kG_3I6/camp/

Other files and URLs

Relationships

Help on issue template

Preview to follow the link or open file .github/ISSUE_DOC.md

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions