[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] fabric on python2.4
From: |
Erwin Elling |
Subject: |
[Fab-user] fabric on python2.4 |
Date: |
Thu, 12 Jun 2008 14:06:59 +0200 |
Hi all,
The Fabric website states "Python 2.5 (2.4 might work but is not
tested)." as one of the system requirements.
[http://www.nongnu.org/fab/index.html]
Since we wanted to try Fabric for the deployment of our projects,
we've been playing around with it and ran into some problems on
python2.4.
When going through the tutorial, the "hello_remote" command does not
seem to work on python2.4 (transcript of my terminal below). After
switching to python2.5 we haven't run into any problems yet.
Don't know whether this is indeed a problem of fabric on python2.4,
but it seems like it is. Hopefully this information is useful to some
of you.
Cheers,
Erwin
-------
Fabric v. 0.0.5, Copyright (C) 2008 Christian Vest Hansen.
Fabric comes with ABSOLUTELY NO WARRANTY; for details type `fab
warranty'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `fab license' for details.
Running hello_remote...
Logging into the following hosts as [...]:
[...]
Password:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
bin/fab", line 32, in ?
fabric.main(sys.argv[1:])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/fabric.py", line 1021, in main
_execute_commands(commands)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/fabric.py", line 1011, in _execute_commands
COMMANDS[cmd](**(args or {}))
File "fabfile.py", line 13, in hello_remote
run("echo hello from $(fab_host) to $(fab_user).")
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/fabric.py", line 92, in wrapper
_connect()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/
lib/python2.4/site-packages/fabric.py", line 874, in _connect
host, _, port = host.partition(':')
AttributeError: 'str' object has no attribute 'partition'
- [Fab-user] fabric on python2.4,
Erwin Elling <=