roster_database_bootstrap error

5 views
Skip to first unread message

daveg

unread,
Jul 3, 2010, 10:40:37 PM7/3/10
to roster-discussion
Hi,

I'm attempting to get roster working. So far I've used the latest
version of roster checked out from the svn repo on Friday. I use
python setup tools and all the packages installed without complaint.
But when I attempt to run roster_database_bootstrap, I get this:

# roster_database_bootstrap -c roster.conf -u <username> -U <username>
-d roster-db -n localhost
Traceback (most recent call last):
File "/usr/bin/roster_database_bootstrap", line 5, in ?
pkg_resources.run_script('RosterCore==0.1',
'roster_database_bootstrap')
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407,
in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1084,
in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.4/site-packages/RosterCore-0.1-py2.4.egg/EGG-
INFO/scripts/roster_database_bootstrap", line 47, in ?
import roster_server
File "build/bdist.linux-i686/egg/roster_server/__init__.py", line
35, in ?
File "/usr/lib/python2.4/site-packages/RosterServer-0.1-py2.4.egg/
roster_server/general_ldap.py", line 103
finally:
^
SyntaxError: invalid syntax

Any help would be great.
Thanks,
David.

Stephen Lien Harrell

unread,
Jul 4, 2010, 8:29:41 AM7/4/10
to roster-d...@googlegroups.com
Hi Dave,
I am glad to hear you are giving us another try, we have done a lot
of work on everything since your last attempt and I think it will be
workable.

As far as your problem, it is because you are using python2.4,
roster requires python2.5 or higher. If you need help getting
python2.5 or using it please let me know and I would be happy to walk
you through it.

Thanks,
-stephen

Message has been deleted

David Gillies

unread,
Jul 5, 2010, 12:39:58 AM7/5/10
to roster-d...@googlegroups.com
Thanks Stephen. I was a little worried there for a moment since
RHEL/CentOS 5 only has python 2.4 but its looks like python 2.6 is in
the EPEL repository, so happy days. I'll give it another go and I'll try
any report back and successes or failures.

Thanks again,
David.

Reply all
Reply to author
Forward
0 new messages