Syntax errors when installing juju-deployer
Daniele Stroppa
daniele.stroppa at joyent.com
Mon Feb 3 13:43:28 UTC 2014
Hi All,
I'm writing tests for the Node.js app charm using the Amulet framework.
However, I'm running into some syntax errors when installing juju-deployer,
see attached log. It happens both on Ubuntu 12.04 with Python 3.2 and on
Mac OS X with Python 3.3.
Has anyone come across the same issue?
Cheers,
Daniele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140203/92fdb782/attachment.html>
-------------- next part --------------
vagrant at vagrant-ubuntu-precise-64:/vagrant/charms/precise/node-app$ ./bin/pip-3.2 install juju-deployer
Downloading/unpacking juju-deployer
Downloading juju-deployer-0.3.1.tar.gz (70Kb): 70Kb downloaded
Running setup.py egg_info for package juju-deployer
Requirement already satisfied (use --upgrade to upgrade): jujuclient>=0.15 in ./lib/python3.2/site-packages/jujuclient-0.17.1-py3.2.egg (from juju-deployer)
Requirement already satisfied (use --upgrade to upgrade): PyYAML==3.10 in ./lib/python3.2/site-packages (from juju-deployer)
Requirement already satisfied (use --upgrade to upgrade): websocket-client in ./lib/python3.2/site-packages/websocket_client-0.12.0-py3.2.egg (from jujuclient>=0.15->juju-deployer)
Installing collected packages: juju-deployer
Running setup.py install for juju-deployer
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/action/diff.py", line 154
print yaml_dump(diff)
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/cli.py", line 131
print "Tool for declarative management of complex deployments."
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/config.py", line 45
except Exception, e:
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/env/base.py", line 123
except ErrorExit, e:
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/env/go.py", line 48
except socket.error, e:
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/operations.py", line 12
class
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_config.py", line 24
[u'openstack-precise-ec2',
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_pyenv.py", line 43
except UnitErrors, e:
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/tests/test_utils.py", line 103
self.addCleanup(os.chmod, self.playground, 0700)
^
SyntaxError: invalid token
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/utils.py", line 52
node = yaml.ScalarNode(tag=u'tag:yaml.org,2002:str', value=uni)
^
SyntaxError: invalid syntax
File "/vagrant/charms/precise/node-app/lib/python3.2/site-packages/deployer/vcs.py", line 31
except subprocess.CalledProcessError, e:
^
SyntaxError: invalid syntax
Installing juju-deployer script to /vagrant/charms/precise/node-app/bin
Successfully installed juju-deployer
Cleaning up...
vagrant at vagrant-ubuntu-precise-64:/vagrant/charms/precise/node-app$
More information about the Juju
mailing list