[kforge-user] database init problem
Rufus Pollock
rufus.pollock at okfn.org
Mon Feb 5 08:33:01 UTC 2007
You need the mx.DateTime module -- this is usually available by default
on most distros. You can get it direct from (follow download link):
http://www.egenix.com/files/python/mxDateTime.html
On debian you could just do:
apt-get install python-egenix-mxdatetime
Regards,
Rufus
Tom Dillon wrote:
> I am trying to get a new kforge installation up and running and gt teh
> following error when trying to init the database. It doesn't seem to matter
> what I have in the database portion of the config file.
>
> Any ideas what I am doing wrong?
>
> kforge-admin --config /etc/kforge.conf db init
>
> Traceback (most recent call last):
> File "/usr/local/bin/kforge-admin", line 8, in <module>
> kforge.cli.admin.UtilityRunner()
> File "build/bdist.linux-i686/egg/dm/cli/admin.py", line 276, in __init__
> File "build/bdist.linux-i686/egg/dm/cli/admin.py", line 343, in
> runUtilityOnce
> File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
> return func(arg)
> File "build/bdist.linux-i686/egg/dm/cli/admin.py", line 95, in do_db
> File "/usr/local/lib/python2.5/site-packages/kforge/cli/admin.py", line 24,
> in takeDatabaseAction
> actionMethod()
> File "/usr/local/lib/python2.5/site-packages/kforge/utils/db.py", line 21,
> in init
> import kforge.soleInstance
> File "/usr/local/lib/python2.5/site-packages/kforge/soleInstance.py", line
> 3, in <module>
> application = kforge.application.Application()
> File "build/bdist.linux-i686/egg/dm/application.py", line 51, in __init__
> File "build/bdist.linux-i686/egg/dm/application.py", line 55, in
> buildApplication
> File "/usr/local/lib/python2.5/site-packages/kforge/builder.py", line 14, in
> construct
> super(ApplicationBuilder, self).construct()
> File "build/bdist.linux-i686/egg/dm/builder.py", line 13, in construct
> File "build/bdist.linux-i686/egg/dm/builder.py", line 51, in
> findDatabaseFacade
> File "build/bdist.linux-i686/egg/dm/db.py", line 41, in <module>
> File "build/bdist.linux-i686/egg/dm/dom/meta.py", line 7, in <module>
> ImportError: No module named mx.DateTime
>
> _______________________________________________
> kforge-user mailing list
> kforge-user at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/kforge-user
More information about the kforge-user
mailing list