See if following works for you?

# python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cobbler
>>> from cobbler.services import CobblerSvc
>>>


On Fri, Jan 31, 2014 at 4:56 AM, Steven Lokie <[email protected]>wrote:

> Running the local ksvalidator and get the following message
>
> Traceback (most recent call last):
>   File "/usr/bin/ksvalidator", line 48, in ?
>     f = urlgrabber.urlgrab(extra[0], filename="%s/ks.cfg" % destdir)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 602,
> in urlgrab
>     return default_grabber.urlgrab(url, filename, **kwargs)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 936,
> in urlgrab
>     return self._retry(opts, retryfunc, url, filename)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 854,
> in _retry
>     r = apply(func, (opts,) + args, {})
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 922,
> in retryfunc
>     fo = URLGrabberFileObject(url, filename, opts)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
> 1010, in __init__
>     self._do_open()
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
> 1093, in _do_open
>     fo, hdr = self._make_request(req, opener)
>   File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
> 1216, in _make_request
>     raise new_e
> urlgrabber.grabber.URLGrabError: [Errno 14] HTTP Error 500: Internal
> Server Error
>
>
> We run the new 2.4 with python 2.4
>
> This is what I find in the HTTP logs:
>
> [Thu Jan 30 16:25:22 2014] [error] [client 10.69.0.127] Traceback (most
> recent call last):
> [Thu Jan 30 16:25:22 2014] [error] [client 10.69.0.127]   File
> "/var/www/cobbler/svc/services.py", line 27, in <module>
> [Thu Jan 30 16:25:22 2014] [error] [client 10.69.0.127]     from
> cobbler.services import CobblerSvc
> [Thu Jan 30 16:25:22 2014] [error] [client 10.69.0.127] ImportError: No
> module named cobbler.services
>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to