Re: [lamson] Lamson newb problem
- From:
- H.c. v. Stockhausen
- Date:
- 2010-10-06 @ 16:56
Hi Al,
I had the exact same problem when I installed Lamson for the first
time a couple of days ago.
There's already a ticket for the problem here
http://support.lamsonproject.org/tktview?name=06d488141d
that I updated ...
"""
...one has to use http://pypi.python.org/pypi/lockfile/0.8 as 0.9.1's
API changes break python_daemon-1.5.5-py2.5.egg/daemon/pidlockfile.py.
0.9.1 comes with easy_install. So, it's not a lamson issue really.
"""
So you have to remove lockfile 0.9.1 from your Python site-packages
and get 0.8 from the cheese shop instead.
That fixed it for me.
Greeting,
HC
On 6 October 2010 18:41, Alasdair Macmillan <al@atomised.coop> wrote:
> Hi there
>
> My name is AL and I have only being programming for a few months.
>
> have installed Lamson on my webfaction shared hosting using
easy_install. I went to try the 30 Second Introduction but I get:
>
> [almacmillan@web129 python2.6]$ lamson gen -project mymailserver
> Traceback (most recent call last):
> File "/home/almacmillan/bin/lamson", line 5, in <module>
> pkg_resources.run_script('lamson==1.0', 'lamson')
> File "/usr/local/lib/python2.6/site-packages/pkg_resources.py", line
448, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/local/lib/python2.6/site-packages/pkg_resources.py", line
1166, in run_script
> execfile(script_filename, namespace, namespace)
> File
"/home/almacmillan/lib/python2.6/lamson-1.0-py2.6.egg/EGG-INFO/scripts/lamson",
line 3, in <module>
> from lamson import args, commands
> File
"/home/almacmillan/lib/python2.6/lamson-1.0-py2.6.egg/lamson/commands.py",
line 28, in <module>
> from lamson import server, args, utils, mail, routing, queue, encoding
> File
"/home/almacmillan/lib/python2.6/lamson-1.0-py2.6.egg/lamson/utils.py",
line 12, in <module>
> from daemon import pidlockfile
> File
"/home/almacmillan/lib/python2.6/python_daemon-1.5.5-py2.6.egg/daemon/pidlockfile.py",
line 33, in <module>
> class PIDLockFile(LinkFileLock, object):
> TypeError: Error when calling the metaclass bases
> function() argument 1 must be code, not str
>
>
> What am I doing wrong?
>
> Any help would be greatly appreciated. I have emailed Zed but I know he
is a busy man.
>
> Kind thanks
> AL
>
Re: [lamson] Lamson newb problem
- From:
- Zed A. Shaw
- Date:
- 2010-10-06 @ 22:56
On Wed, Oct 06, 2010 at 06:56:20PM +0200, H.C. v. Stockhausen wrote:
> Hi Al,
>
> I had the exact same problem when I installed Lamson for the first
> time a couple of days ago.
> There's already a ticket for the problem here
> http://support.lamsonproject.org/tktview?name=06d488141d
> that I updated ...
Grrrrrr, I swear those guys just hate Python. I'll try to get this
fixed soon (unless someone just wants to take over and fix everything
for me).
--
Zed A. Shaw
http://zedshaw.com/