http://qs321.pair.com?node_id=1086955

neilwatson has asked for the wisdom of the Perl Monks concerning the following question:

Greetings,

I'm attempting to remove a cobbler profile using Frontier::Client. I get the error:

Fault returned from XML RPC Server, fault code 1: <type 'exceptions.TypeError'>:cannot marshal None unless allow_none is + enabled

I can't see any way to enable the allow_none setting. I tried passing allow_none => "True" in the new call, but error persisted. What can I do?

$server = Frontier::Client->new( url => $server_url ); ... $server->call( 'remove_profile', $profile_name, $token, "True" ) or die "Could not delete system $profile_name, $!";

Update

I switched to XMLRPC::Lite and the error did not return.

Neil Watson
watson-wilson.ca