X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/66f35e30dcea03c631a293e2341771277543b4ae..ad02f69836d988b339c570cfc325b16c1ca88cd3:/doc/bugs/attachment:_failed_to_get_filehandle.mdwn diff --git a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn index 906d01e24..09546dcb5 100644 --- a/doc/bugs/attachment:_failed_to_get_filehandle.mdwn +++ b/doc/bugs/attachment:_failed_to_get_filehandle.mdwn @@ -63,6 +63,28 @@ the error message like below: >>>>>>> though. I've checked in a second try at dealing with things, can >>>>>>> you try it? --[[Joey]] +>>>>>>>> Do you mean that [diff](http://git.ikiwiki.info/?p=ikiwiki;a=commitdiff;h=66f35e30dcea03c631a293e2341771277543b4ae)? +>>>>>>>> If so, then it causes "Internal Server Error" for me: + +>>>>>>>> Can't use string ("test.txt") as a symbol ref while "strict refs" in use at /usr/share/perl5/IkiWiki/Plugin/attachment.pm line 144. + +>>>>>>>> I can rebuild Debian stable source package with CGI for Perl. Maybe it will help me? What do you think? --[[Paweł|ptecza]] + +>>>>>>>>> Silly thinko on my part, fixed that in git.. --[[Joey]] + +>>>>>>>>>> Thanks for the fix, Joey! Now CGI doesn't fails, but still no success with attaching file: + +>>>>>>>>>> failed to open : No such file or directory + +>>>>>>>>>> Do you have any another idea how to resolve that problem? I can try with rebuilding +>>>>>>>>>> package `perl-modules` if it's necessary in that situation. --[[Paweł|ptecza]] + +>>>>>>>>>>> If CGI.pm is not creating a temp file, not providing a +>>>>>>>>>>> filehandle by either of its documented methods, then it's just +>>>>>>>>>>> broken; ikiwiki can't deal with that level of brokennecess. +>>>>>>>>>>> I need to find out if this affects stable in general, or just +>>>>>>>>>>> you/ubuntu. --[[Joey]] + The same message I can see in the Apache log file. There is also following warning: @@ -72,6 +94,9 @@ following warning: Is it Ikiwiki bug or my attachment plugin is misconfigured? --[[Paweł|ptecza]] -> Joey, please fix the colon in page name of my report. [...] +> I've reproduced the bug, and it does seem to be a bug with the perl in +> debian stable/ubuntu hardy. Trying to figure it out --[[Joey]] ->> Moved to [[colon:problem]] --[[Joey]] +> This was amazingly disgusting, see commit message for the full horror of +> the details. I think it's [[done]] -- at least it works on debian stable +> now. --[[Joey]]