On Saturday, Jul 5, 2003, at 19:57 Europe/London, John Edstrom wrote:

[Sat Jul  5 10:39:44 2003] [warn] [client 192.168.1.13] [AxKit]
[OpenOffice]: path info found in get_strref: meta.xml
[Sat Jul  5 10:39:44 2003] [warn] [client 192.168.1.13] [AxKit] Caught
an exception

OK, for an exception to happen here, one of a few things can happen:


1. The code below returns undef, so when we try and execute methods on $member we get a "Can't call object method <foo> on undefined value" errors.

$member = $zip->memberNamed($path_info);

2. The code below throws the expected exception.

my ($data, $status) = $member->contents();
if ($status != AZ_OK) {
throw Apache::AxKit::Exception::Error(
-text => "Contents.xml could not be retrieved from $self->{file}"
);
}


3. Something mystical is happening.

My bet is on #3 ;-)

Where to go from here I'm totally unsure. The OpenOffice provider works perfectly for me. I'm beginning to wonder if this isn't something odd like a new libxml2/libxslt without recompiling XML::LibXML/LibXSLT, or perhaps a very weird bug in Archive::Zip?

I'm mostly lost now. Without you adding in lots of AxKit::Debug() statements in OpenOffice.pm and possibly various other places then I don't know where to go.

Matt.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to