On Thu, Mar 12, 2009 at 2:11 PM, Gennadiy Nerubayev <[email protected]>wrote:

> This particular snippet is giving me issues in that it's apparently not
> templating at all. All other snippets are working fine. The rendered
> kickstart for a system that was only created with a name, still contains:
>
> $SNIPPET('post_install_network_config')
>
> If I look at the rendered view for the profile, it returns the following,
> as it should:
>
> # Start post_install_network_config generated code
> # End post_install_network_config generated code
>
> This is regardless if I use my custom kickstart template or sample.ks, on
> v1.4.2. There are no apparent errors in the logs - is there anything I can
> do to debug this further?



Well, two steps forward, one step back; installing the cobbler from current
git now makes that particular snippet parse properly for systems, but on the
other hand the webui no longer works :(

Mod_python error: "PythonHandler index"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch
    result = object(req)

  File "/var/www/cobbler/web/index.py", line 130, in handler
    content = func( **form )

  File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line
125, in index
    vdata =self.remote.extended_version()

  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)

  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose

  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)

  File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response
    return u.close()

  File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])

Fault: <Fault 1: 'exceptions.TypeError:cannot marshal None unless allow_none
is enabled'>


Thanks,

-Gennadiy
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to