Bugs: Browse | Submit New | Admin

[#28699] Dependency on soap4r means UPnP doesn't work on 1.9

Date:
2010-11-09 02:27
Priority:
3
Submitted By:
Tod Beardsley (todb)
Assigned To:
Eric Hodel (drbrain)
Category:
UPnP
State:
Open
Summary:
Dependency on soap4r means UPnP doesn't work on 1.9

Detailed description
Various and sundry character encoding problems.

Upstream ticket: http://dev.ctor.org/soap4r/ticket/503

Just dropping this here. I'm taking a look now, but since the upstream's bug is two years old, I'm not exactly holding
my breath.

Steps to Reproduce:

todb@mazikeen:~/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0$ ruby test/test_UPnP_SSDP.rb 

Result:

/home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP.rb:1: warning: variable $KCODE is no longer effective;
ignored
/home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:132: warning: encoding option is ignored -
NONE
/home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:137: warning: encoding option is ignored -
NONE
/home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:137:in `initialize': invalid multibyte escape:
/\A(?:[\x9\xa\xd\x20-\x7F]|(?:[\x8E\xA1-\xFE][\xA1-\xFE])|(?:\x8F[\xA1-\xFE][\xA1-\xFE]))*\z/ (RegexpError)
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:137:in `new'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:137:in `<module:Charset>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:12:in `<module:XSD>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/xsd/charset.rb:9:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/soap/soap.rb:10:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/soap/soap.rb:10:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/soap/rpc/driver.rb:9:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/soap4r-1.5.8/lib/soap/rpc/driver.rb:9:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control/service.rb:6:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control/service.rb:6:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control/device.rb:7:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control/device.rb:7:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control.rb:9:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/control.rb:9:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/SSDP.rb:8:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/SSDP.rb:8:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/device.rb:2:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/lib/UPnP/device.rb:2:in `<top (required)>'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/test/utilities.rb:5:in `require'
	from /home/todb/.rvm/gems/ruby-1.9.1-p378/gems/UPnP-1.2.0/test/utilities.rb:5:in `<top (required)>'
	from test/test_UPnP_SSDP.rb:2:in `require'
	from test/test_UPnP_SSDP.rb:2:in `<main>'

Expected:

Not a stack trace.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item