Hi Luke,
Sorry for the late reply... (I somehow missed it going into my spam folder) I'm
using python-fedora-0.3.20-1. The command that you gave me, `pydoc
fedora.tg.tg1utils.tg_url` gives me a help page for fedora.tg.tg1utils.tg_url.
Unfortunately, I'm at a loss as to what do do with that info. I managed to find this
commit
https://fedorahosted.org/bodhi/changeset/1e43dd04dcaf05ae27d9348dfea3c89b...
the changeset appears to be in my local files..
/usr/lib/python2.4/site-packages/bodhi/admin.py for example has this...
try:
from fedora.tg.tg1utils import request_format
except ImportError:
from fedora.tg.util import request_format
Thanks,
Brian
On Oct 4, 2010, at 11:19 AM, Luke Macken wrote:
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
_______________________________________________
bodhi mailing list
bodhi(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/bodhi