
lannings at who
Apr 11, 2008, 12:14 PM
Post #8 of 8
(354 views)
Permalink
|
|
RE: bric_soap problem: TRANSPORT ERROR: 500
[In reply to]
|
|
The first one isn't an error per se, but a warning. I think I submitted a patch for it to RT for SOAP::Lite: --- SOAP/Transport/HTTP.pm~ 2008-04-11 21:16:10.000000000 +0200 +++ SOAP/Transport/HTTP.pm 2008-03-05 15:02:55.000000000 +0100 @@ -37,9 +37,11 @@ return if $_patched; BEGIN { local ($^W) = 0; } { + no warnings 'redefine'; sub LWP::UserAgent::redirect_ok; *LWP::UserAgent::redirect_ok = sub {1} } { + no warnings 'redefine'; package LWP::Protocol; my $collect = \&collect; # store original *collect = sub { though it doesn't address the underlying issue of "monkeypatching" LWP::UserAgent. -----Original Message----- From: Greg Heo [mailto:greg[at]node79.com] Sent: Fri 4/11/2008 7:48 PM To: users[at]lists.bricolage.cc Subject: Re: bric_soap problem: TRANSPORT ERROR: 500 I'm running SOAP::Lite 0.71 on a 1.10.3 installation on FreeBSD 6.2. list_ids works, but throws a few warnings: $ bric_soap story list_ids Subroutine LWP::UserAgent::redirect_ok redefined at /usr/local/lib/ perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 41. Subroutine LWP::Protocol::collect redefined at /usr/local/lib/perl5/ site_perl/5.8.8/SOAP/Transport/HTTP.pm line 59. story_1024 story_1025 story_1026 story_1030 I tried bringing LWP::UserAgent up to the most recent version, and now it's worse: Subroutine LWP::UserAgent::redirect_ok redefined at /usr/local/lib/ perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 41. Subroutine LWP::Protocol::collect redefined at /usr/local/lib/perl5/ site_perl/5.8.8/SOAP/Transport/HTTP.pm line 59. TRANSPORT ERROR: 500 Server closed connection without sending any data back Check the Apache error log for more information. My OS X Bricolage installation with SOAP::Lite 0.69 works just fine though. On 11-Apr-08, at 12:35 PM, David E. Wheeler wrote: > On Apr 11, 2008, at 03:47, Maik Arnold wrote: > >> SOAP::Lite is in version 0.71, think is the newest version > > Something may well have changed, then. Anyone else running that > version without trouble? > > D --- Greg Heo web/software systems developer greg[at]node79.com 416.826.7630
|