Skip Menu |
 

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 56140
Status: open
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: FAIL SOAP-WSDL-2.00.99_3/t/SOAP/WSDL/Server/CGI.t
Download (untitled) / with headers
text/plain 6.9k
When you do local %ENV; you destroy $ENV{PATH} so ...auto\XML\Parser\Expat\Expat.dll cant find libexpat.dll $ perl t/SOAP/WSDL/Server/CGI.t 1..16 ok 1 - use SOAP::WSDL::Server; ok 2 - use SOAP::WSDL::Server::CGI; ok 3 not ok 4 - error without SOAPAction header # Failed test 'error without SOAPAction header' # at t/SOAP/WSDL/Server/CGI.t line 58. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDCan't load 'C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread/auto/XML/Parser/Expat/Expat.dll' for module XML::Parser::Expat: load_file:The specified module could not be found at C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/DynaLoader.pm line 200. # at C:/perl/site/5.10.1/lib/SOAP/WSDL/Expat/Base.pm line 5 # Compilation failed in require at C:/perl/site/5.10.1/lib/SOAP/WSDL/Expat/Base.pm line 5. # BEGIN failed--compilation aborted at C:/perl/site/5.10.1/lib/SOAP/WSDL/Expat/Base.pm line 5. # Compilation failed in require at (eval 75) line 3. # ...propagated at C:/perl/5.10.1/lib/base.pm line 94. # BEGIN failed--compilation aborted at C:/perl/site/5.10.1/lib/SOAP/WSDL/Expat/MessageParser.pm line 9. # Compilation failed in require at C:/perl/site/5.10.1/lib/SOAP/WSDL/Deserializer/XSD.pm line 6. # BEGIN failed--compilation aborted at C:/perl/site/5.10.1/lib/SOAP/WSDL/Deserializer/XSD.pm line 6. # Compilation failed in require at (eval 38) line 3. # ' # doesn't match '(?msx-i:Not \s found: \s No \s SOAPAction \s given)' not ok 5 - error with bad SOAPAction # Failed test 'error with bad SOAPAction' # at t/SOAP/WSDL/Server/CGI.t line 66. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 77) line 3. # ' # doesn't match '(?msx-i:No \s method \s found \s for \s the \s SOAPAction)' ok 6 - Continue not ok 7 - error with bad EXPECT and bad SOAPAction # Failed test 'error with bad EXPECT and bad SOAPAction' # at t/SOAP/WSDL/Server/CGI.t line 83. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 81) line 3. # ' # doesn't match '(?msx-i:No \s method \s found \s for \s the \s SOAPAction)' not ok 8 - No handler # Failed test 'No handler' # at t/SOAP/WSDL/Server/CGI.t line 103. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 83) line 3. # ' # doesn't match '(?msx-i: No \s handler)' not ok 9 - bad content # Failed test 'bad content' # at t/SOAP/WSDL/Server/CGI.t line 116. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 85) line 3. # ' # doesn't match '(?msx-i: Error \s deserializing \s message)' not ok 10 - error with bad request content # Failed test 'error with bad request content' # at t/SOAP/WSDL/Server/CGI.t line 125. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 87) line 3. # ' # doesn't match '(?msx-i: Error \s deserializing )' not ok 11 - empty request # Failed test 'empty request' # at t/SOAP/WSDL/Server/CGI.t line 138. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 89) line 3. # ' # doesn't match '(?msx-i: \A Status: \s 200 \s OK)' not ok 12 - non-serializable exception # Failed test 'non-serializable exception' # at t/SOAP/WSDL/Server/CGI.t line 158. # 'HTTP/1.0 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 91) line 3. # ' # doesn't match '(?msx-i:EXCEPTION)' not ok 13 - IIS response # Failed test 'IIS response' # at t/SOAP/WSDL/Server/CGI.t line 171. # 'HTTP/1.0 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 93) line 3. # ' # doesn't match '(?msx-i: \A HTTP/1.0 \s 200 \s OK)' not ok 14 - IIS response # Failed test 'IIS response' # at t/SOAP/WSDL/Server/CGI.t line 184. # 'HTTP/1.1 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 95) line 3. # ' # doesn't match '(?msx-i: \A HTTP/1.1 \s 200 \s OK)' not ok 15 - response # Failed test 'response' # at t/SOAP/WSDL/Server/CGI.t line 196. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 97) line 3. # ' # doesn't match '(?msx-i: \A Status: \s 200 \s OK)' not ok 16 - response # Failed test 'response' # at t/SOAP/WSDL/Server/CGI.t line 208. # 'Status: 500 Internal Server Error # Content-Type: text/xml; charset="utf-8" # # Cannot load serializer SOAP::WSDL::Deserializer::XSDAttempt to reload SOAP/WSDL/Deserializer/XSD.pm aborted. # Compilation failed in require at (eval 99) line 3. # ' # doesn't match '(?msx-i: \A Status: \s 200 \s OK)' # Looks like you failed 12 tests of 16. a safe solution local @ENV{qw' CONTENT_LENGTH EXPECT HTTP_SOAPAction REQUEST_METHOD SERVER_PROTOCOL SERVER_SOFTWARE '} ; delete @ENV{qw' CONTENT_LENGTH EXPECT HTTP_SOAPAction REQUEST_METHOD SERVER_PROTOCOL SERVER_SOFTWARE '} ; $ perl t/SOAP/WSDL/Server/CGI.t 1..16 ok 1 - use SOAP::WSDL::Server; ok 2 - use SOAP::WSDL::Server::CGI; ok 3 ok 4 - error without SOAPAction header ok 5 - error with bad SOAPAction ok 6 - Continue ok 7 - error with bad EXPECT and bad SOAPAction ok 8 - No handler ok 9 - bad content ok 10 - error with bad request content ok 11 - empty request ok 12 - non-serializable exception ok 13 - IIS response ok 14 - IIS response ok 15 - response ok 16 - response
Download (untitled) / with headers
text/plain 479b
Because the local %ENV is an artifact of the test, I think it's safe for us to workaround the problem for that one test. Adding the following before the local %ENV line removes the crash for me. ... { # On Win32 the local %ENV breaks DLL loading, which breaks Expat loading, # which causes this test to throw a DLL popup window and then crash. # Preload Expat to prevent the following line causing this damage. use XML::Parser::Expat; local %ENV; ...
Download (untitled) / with headers
text/plain 212b
I think this can be closed. Whatever updates happened in the past 5 years solved the issue. Tested with Srawberry Perl 5.16.3: the CGI.t test passes fine. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
From: b244145 [...] tyldd.com
Download (untitled) / with headers
text/plain 442b
On Thu May 28 10:11:20 2015, ZOFFIX wrote: Show quoted text
> I think this can be closed. Whatever updates happened in the past 5 > years solved the issue. > > Tested with Srawberry Perl 5.16.3: the CGI.t test passes fine.
Its still broken. You can't just wipe out %PATH% if you're going trying to "require XML::Parser;" or other XS modules later that may depend on %PATH%. But if you just want to clear the cue go right ahead, you don't need permission :D
Download (untitled) / with headers
text/plain 487b
On 2015-05-28 10:11:20, ZOFFIX wrote: Show quoted text
> I think this can be closed. Whatever updates happened in the past 5 > years solved the issue. > > Tested with Srawberry Perl 5.16.3: the CGI.t test passes fine.
Maybe you were lucky because of a missing prerequisite? t/SOAP/WSDL/Server/CGI.t .............................. skipped: IO::Scalar required for testing... http://matrix.cpantesters.org/?dist=SOAP-WSDL%203.003;os=mswin32;reports=1 still shows many FAIL reports on Windows systems.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.