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

Environment Conflicts #1

Open
jw3 opened this issue May 18, 2018 · 0 comments
Open

Environment Conflicts #1

jw3 opened this issue May 18, 2018 · 0 comments

Comments

@jw3
Copy link
Owner

jw3 commented May 18, 2018

OpenShift created environment variables are conflicting with the Conan configuration environment.

Traceback (most recent call last):
  File "/opt/app-root/bin/conan_server", line 9, in <module>
    load_entry_point('conan==1.3.3', 'console_scripts', 'conan_server')()
  File "/opt/app-root/lib/python3.5/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/opt/app-root/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/opt/app-root/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/opt/app-root/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/app-root/lib/python3.5/site-packages/conans/conan_server.py", line 1, in <module>
    from conans.server.server_launcher import main
  File "/opt/app-root/lib/python3.5/site-packages/conans/server/server_launcher.py", line 52, in <module>
    launcher = ServerLauncher()
  File "/opt/app-root/lib/python3.5/site-packages/conans/server/server_launcher.py", line 43, in __init__
    self.ra = ConanServer(server_config.port, credentials_manager, updown_auth_manager,
  File "/opt/app-root/lib/python3.5/site-packages/conans/server/conf/__init__.py", line 93, in port
    return int(self._get_conf_server_string("port"))
ValueError: invalid literal for int() with base 10: 'tcp://172.30.33.99:9300'

https://github.com/conan-io/conan/blob/master/conans/server/conf/__init__.py

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

1 participant