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

setup.py is broken #11338

Closed
UtahDave opened this issue Mar 18, 2014 · 3 comments
Closed

setup.py is broken #11338

UtahDave opened this issue Mar 18, 2014 · 3 comments
Assignees
Labels
Bug broken, incorrect, or confusing behavior Packaging Related to packaging of Salt, not Salt's support for package management. severity-high 2nd top severity, seen by most users, causes major problems

Comments

@UtahDave
Copy link
Contributor

Latest git
OS: Ubuntu 12.04

[boucha@dasalt salt (develop u=)]$ sudo python setup.py install 
2014.1.0-3503-ga5153ba
running install
running build
running build_py
package init file 'salt/templates/__init__.py' not found (or not a regular file)
running build_scripts
running install_lib
copying build/lib.linux-x86_64-2.7/salt/_version.py -> /usr/local/lib/python2.7/dist-packages/salt
copying build/lib.linux-x86_64-2.7/salt/_syspaths.py -> /usr/local/lib/python2.7/dist-packages/salt
byte-compiling /usr/local/lib/python2.7/dist-packages/salt/_version.py to _version.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/salt/_syspaths.py to _syspaths.pyc
Traceback (most recent call last):
  File "setup.py", line 648, in <module>
    setup(**SETUP_KWARGS)
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 381, in run
    install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 613, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 392, in run
    idx = inp.index('build/lib/salt/templates/git/ssh-id-wrapper')
ValueError: 'build/lib/salt/templates/git/ssh-id-wrapper' is not in list
@s0undt3ch
Copy link
Collaborator

Thanks! I'll get to this one as soon as I can.

@cachedout
Copy link
Contributor

This appears to be fixed. I ran the same command as @UtahDave on a fresh copy of develop and it ran without errors. Here are the final few lines:

changing mode of /usr/bin/salt-cp to 755
changing mode of /usr/bin/salt-run to 755
running install_data
copying doc/man/salt-cp.1 -> /usr/share/man/man1
copying doc/man/salt-call.1 -> /usr/share/man/man1
copying doc/man/salt-minion.1 -> /usr/share/man/man1
copying doc/man/salt-master.1 -> /usr/share/man/man1
copying doc/man/salt-key.1 -> /usr/share/man/man1
copying doc/man/salt.1 -> /usr/share/man/man1
copying doc/man/salt-syndic.1 -> /usr/share/man/man1
copying doc/man/salt-run.1 -> /usr/share/man/man1
copying doc/man/salt-ssh.1 -> /usr/share/man/man1
copying doc/man/salt-cloud.1 -> /usr/share/man/man1
copying doc/man/salt.7 -> /usr/share/man/man7
running install_egg_info
Writing /usr/lib/python2.6/site-packages/salt-2014.1.0_4199_g2b5c31a-py2.6.egg-info

@UtahDave
Copy link
Contributor Author

UtahDave commented Apr 2, 2014

Yes, it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Packaging Related to packaging of Salt, not Salt's support for package management. severity-high 2nd top severity, seen by most users, causes major problems
Projects
None yet
Development

No branches or pull requests

4 participants