unable to use after install new version

1 view
Skip to first unread message

bertd

unread,
Mar 30, 2009, 12:19:00 PM3/30/09
to Manent
I downloaded 90.2
Then installed it with:
sudo python setup.py install

Now when I try to invoke manent I get this:

bertd@bertd-desktop:~$ manent
/usr/bin/manent: line 2: exec: manent-dispatch.py: not found

bertd

unread,
Mar 30, 2009, 2:21:11 PM3/30/09
to Manent
More information.

There was error in build.

bertd@bertd-desktop:~/manent-0.90.2/src$ sudo python setup.py install
running install
running build
running build_py
file manent.py (for module manent) not found
file manent.py (for module manent) not found
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/manent to 755
running install_data
running install_egg_info
Removing /usr/lib/python2.5/site-packages/manent-DEVELOPMENT.egg-info
Writing /usr/lib/python2.5/site-packages/manent-DEVELOPMENT.egg-info

bertd

unread,
Mar 30, 2009, 2:22:56 PM3/30/09
to Manent
More information.

The contents of /usr/bin/manent are:

#/bin/bash
exec manent-dispatch.py $*

This is mistake.
The first line should be:

#!bin/bash

bertd

unread,
Mar 30, 2009, 2:31:34 PM3/30/09
to Manent
Yet more information. Now seems to be working for me.

I copied "manent-dispatch.py" to /usr/bin
Then modified /usr/bin/manent as follows:

#!/bin/bash
python /usr/bin/manent-dispatch.py $*

This file contained carriage returns (dos style end of line).
I changed to unix style newline.

Alex Gontmakher

unread,
Mar 30, 2009, 6:04:24 PM3/30/09
to man...@googlegroups.com
Oh.
I recently had to switch my laptop to Windows, and so I'm doing less testing on linux.
Guess I'll have to do automatic installation testing... configuring buildbot is planned, but this is a lot of work yet.


Not sure I'll continue keeping tickets there, but so far it seems to be OK.
Reply all
Reply to author
Forward
0 new messages