[kforge-dev] Broken build: something to do with undefined DB_TYPE

Rufus Pollock rufus.pollock at okfn.org
Sun Dec 10 16:00:15 UTC 2006


See traceback below. Seems something has got broken in the automated 
build and deploy.

Regards,

Rufus

Traceback (most recent call last):
   File "/tmp/kforge-integrationtest2mMosL", line 146, in ?
     main()
   File "/tmp/kforge-integrationtest2mMosL", line 88, in main
     _run_cmd(adminCmd + 'db rebuild')
   File "/tmp/kforge-integrationtest2mMosL", line 25, in _run_cmd
     raise(Exception(msg))
Exception: Error running command 
[/home/kforge/test.kforgeproject.com/system/bin/kforge-admin --config 
/home/kforge/test.kforgeproject.com/kforge.conf --system 
/home/kforge/test.kforgeproject.com/system db rebuild]: Traceback (most 
recent call last):
   File "/home/kforge/test.kforgeproject.com/system/bin/kforge-admin", 
line 8, in ?
     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.4/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 
"/home/kforge/test.kforgeproject.com/system/lib/python/kforge/cli/admin.py", 
line 24, in takeDatabaseAction
     actionMethod()
   File "build/bdist.linux-i686/egg/dm/util/db.py", line 76, in rebuild
   File 
"/home/kforge/test.kforgeproject.com/system/lib/python/kforge/utils/db.py", 
line 21, in init
     import kforge.soleInstance
   File 
"/home/kforge/test.kforgeproject.com/system/lib/python/kforge/soleInstance.py", 
line 3, in ?
     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 
"/home/kforge/test.kforgeproject.com/system/lib/python/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 75, in ?
   File "build/bdist.linux-i686/egg/dm/db.py", line 264, in DatabaseFacade
   File "build/bdist.linux-i686/egg/dm/db.py", line 85, in __init__
   File "build/bdist.linux-i686/egg/dm/db.py", line 51, in __init__
NameError: global name 'DB_TYPE' is not defined





More information about the kforge-dev mailing list