[Clipart] [Fwd: 500 internal server error]
Jonadab the Unsightly One
jonadab at bright.net
Wed Jul 20 06:53:41 PDT 2005
Jonathan Leighton <turnip at turnipspatch.com> writes:
> I can confirm the problem.
Umm.
Well, it works here on my workstation, for me. And it worked since
the last change I made for Gerald, who uploaded a zipfile. But I was
starting to wonder if there was a problem, since not much else had
been uploaded since my changes. This may be why.
> Some searching in the log file produced this, dunno if it helps
> anyone?
>
> turnip at gabe:/var/log/apache2$ tail clipart.freedesktop.org-error.log -n
> 100 | grep upload_svg
> [Tue Jul 19 13:54:22 2005] [error] [client 84.12.137.162] Use of
> uninitialized value in split at
> /srv/clipart.freedesktop.org/www/cgi-bin/upload_svg.cgi line 700, <FH>
> line 8., referer: http://openclipart.org/
> [Tue Jul 19 13:54:22 2005] [error] [client 84.12.137.162] Use of
> uninitialized value in split at
> /srv/clipart.freedesktop.org/www/cgi-bin/upload_svg.cgi line 700, <FH>
> line 8., referer: http://openclipart.org/
> [Tue Jul 19 13:54:22 2005] [error] [client 84.12.137.162] Premature end
> of script headers: upload_svg.cgi, referer: http://openclipart.org/
Wow, that is... not telling me what the problem is, I think. Line
700 is not even close to being in the part of the file that I changed.
I ran my own tail just now with a much longer n, and got warnings at
lines 424, 685, and 692, none of which appear to be the problem
either, although I ought to look into them.
I may have to create a piece of clipart just so I can upload it and
find the problem. What a bummer ;-)
Okay, that methodology shows me the real problem:
[Wed Jul 20 06:28:51 2005] [error] [client 209.143.57.19] Can't locate object method "first_descendant" via package "XML::Twig::Elt" at /srv/clipart.freedesktop.org/lib/perl/5.8.3//SVG/Metadata.pm line 298, <FH> line 8., referer: http://openclipart.org/cgi-bin/upload_svg.cgi
[Wed Jul 20 06:28:51 2005] [error] [client 209.143.57.19] Premature end of script headers: upload_svg.cgi, referer: http://openclipart.org/cgi-bin/upload_svg.cgi
Huh? We *seem* to have XML::Twig installed, version 3.15. The
version I have here is only 3.17, so I find it hard to believe that
3.15 wouldn't have the first_descendant method. Nevertheless,
something is wrong with it, because first_descendant *is* defined in
my version of XML::Twig. On my system, it's on line 4740 in
/usr/share/perl5/XML/Twig.pm
--
$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}}
split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/
More information about the clipart
mailing list