> On Fri, 16 Oct 2009 08:23:46 -0400, Michael DeHaan <[email protected]> > wrote: > > On 10/16/2009 04:55 AM, Léon Keijser wrote: > >> Hi, > >> > >> I've upgraded from cobbler 1.6.uh..6..i.think to 2.0.1. Running on > >> Fedora 11 locally. Web gui looks slick, really nice work. Just every > now > >> and then (not always) i get a mod_python error. It happens for all > menu > >> items (systems, distro, profiles) and i can't seem to reliably > reproduce > >> it, other than saying it happens every now and then. Any ideas? > >> > >> > >> > >> AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF' > >> > >> > >> > > > > Thanks! > > > > I'm wondering if this is mod_python occasionally getting confused > with > > module load order again? > > > > Previously we had a problem where it would pick up the wrong utils.py > > occasionally (it seemed like more predictable than occasionally). > > > > We have a class named Settings, and it does not have a ROOT_URLCONF. > > > > However I'm running F11 myself and have never seen this. Has anyone > > else seen this on F11? > > > > (Previously we fixed this by moving the function in question out of > the > > utils module and putting it in index.py, though we cannot do that > > here. We'd have to figure out some other way, if that theory was > > correct.) > > I used to see similar behavior after updating the modules but not > restarting httpd. I would shut down apache, and check to make sure all > httpd processes are gone, then restart. Sounds like odd mod_python > caching > behavior to me.
FYI, I can confirm this behavior on CentOS 5.3 i386, a simple restart of httpd fixed it .. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
