On 10/04/2010 01:16 PM, Brian_Kosick(a)McAfee.com wrote:
Hi Luke,
I'm trying to get bodhi setup again and am running into this error (httpd 500 ISE)
when attempting to go to
http://myserv.er/updates.
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] mod_wsgi (pid=16253): Target WSGI
script '/usr/share/bodhi/bodhi.wsgi' cannot be loaded as Python module.
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] mod_wsgi (pid=16253): Exception
occurred processing WSGI script '/usr/share/bodhi/bodhi.wsgi'.
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] Traceback (most recent call
last):
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] File
"/usr/share/bodhi/bodhi.wsgi", line 18, in ?
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] from bodhi.util import
load_config
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] File
"/usr/lib/python2.4/site-packages/bodhi/util.py", line 43, in ?
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] from fedora.tg.util import
url as csrf_url, tg_url, request_format
[Mon Oct 04 10:58:25 2010] [error] [client 10.30.0.156] ImportError: cannot import name
tg_url
I'm running RH 5.5 w/EPEL and rebuilt the bodhi 0.7.9-2 (fc14) from the src rpm on
koji.fedoraproject.org. Can you point me in the correct direction to resolve this?
Hi Brian,
What version of python-fedora are you running?
Bodhi should probably be importing fedora.tg.tg1utils.tg_url instead.
Does `pydoc fedora.tg.tg1utils.tg_url` work?
Thanks,
luke