All pastes #392042 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-12 16:44 UTC
rendered paste body
<propertyset xmlns="urn:schemas-upnp-org:event-1-0"><property><SinkProtocolInfo>internal:192.168.1.86:audio/mpeg:*,http-get:*:audio/mpeg:*</SinkProtocolInfo></property><property><CurrentConnectionIDs /></property><property><SourceProtocolInfo /></property></propertyset>
12 mar 2007 17:44:59 Event: send_notification.send_request to uuid:6578b567-51c4-4142-a13d-cbcda57f39c6 http://192.168.1.91:3332/events
12 mar 2007 17:44:59 Event: request: NOTIFY /events HTTP/1.1
HOST:  192.168.1.91:3332
SEQ:  0
CONTENT-TYPE:  text/xml;charset="utf-8"
SID:  uuid:6578b567-51c4-4142-a13d-cbcda57f39c6
NTS:  upnp:propchange
NT:  upnp:event
Content-Length: 283

<propertyset xmlns="urn:schemas-upnp-org:event-1-0"><property><SinkProtocolInfo /></property><property><CurrentConnectionIDs /></property><property><SourceProtocolInfo>http-get:*:image/jpeg:*,http-get:*:image/gif:*,http-get:*:image/png:*</SourceProtocolInfo></property></propertyset>
12 mar 2007 17:44:59 Event: send_notification.send_request to uuid:0631d65d-0d3b-4e49-93f0-6032613d721b http://192.168.1.91:3332/events
12 mar 2007 17:44:59 Event: request: NOTIFY /events HTTP/1.1
HOST:  192.168.1.91:3332
SEQ:  0
CONTENT-TYPE:  text/xml;charset="utf-8"
SID:  uuid:0631d65d-0d3b-4e49-93f0-6032613d721b
NTS:  upnp:propchange
NT:  upnp:event
Content-Length: 225

<propertyset xmlns="urn:schemas-upnp-org:event-1-0"><property><ContainerUpdateIDs>1000,1</ContainerUpdateIDs></property><property><SystemUpdateID>2</SystemUpdateID></property><property><TransferIDs /></property></propertyset>
12 mar 2007 17:44:59 Event: EventServer received request, code: 200
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 240, in dataReceived
    return self.rawDataReceived(data)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1054, in rawDataReceived
    self.allContentReceived()
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in process
    self.render(resrc)
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in render
    body = resrc.render(self)
  File "/usr/lib/python2.4/site-packages/twisted/web/resource.py", line 189, in render
    return m(request)
  File "/home/phil/devel/coherence/coherence/upnp/core/event.py", line 54, in render_NOTIFY
    self.control_point.propagate(event)
  File "/home/phil/devel/coherence/coherence/upnp/devices/control_point.py", line 87, in propagate
    tree = parse_xml(var_value).getroot()
  File "/home/phil/devel/coherence/coherence/upnp/core/utils.py", line 23, in parse_xml
    data = data.encode(encoding)
exceptions.AttributeError: 'NoneType' object has no attribute 'encode'
12 mar 2007 17:44:59 Event: EventServer received request, code: 200
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 240, in dataReceived
    return self.rawDataReceived(data)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1054, in rawDataReceived
    self.allContentReceived()
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in process
    self.render(resrc)
  File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in render
    body = resrc.render(self)
  File "/usr/lib/python2.4/site-packages/twisted/web/resource.py", line 189, in render
    return m(request)
  File "/home/phil/devel/coherence/coherence/upnp/core/event.py", line 54, in render_NOTIFY
    self.control_point.propagate(event)
  File "/home/phil/devel/coherence/coherence/upnp/devices/control_point.py", line 87, in propagate
    tree = parse_xml(var_value).getroot()
  File "/home/phil/devel/coherence/coherence/upnp/core/utils.py", line 23, in parse_xml
    data = data.encode(encoding)
exceptions.AttributeError: 'NoneType' object has no attribute 'encode'
12 mar 2007 17:44:59 FlickrStore: initialized photo set Most Wanted with 100 images
12 mar 2007 17:44:59 Event: send_notification.send_request to uuid:74243982-8d12-4ff4-8030-bfb289e2d48e http://192.168.1.91:3332/events
12 mar 2007 17:44:59 Event: request: NOTIFY /events HTTP/1.1
HOST:  192.168.1.91:3332
SEQ:  1
CONTENT-TYPE:  text/xml;charset="utf-8"
SID:  uuid:74243982-8d12-4ff4-8030-bfb289e2d48e
NTS:  upnp:propchange
NT:  upnp:event
Content-Length: 121

<propertyset xmlns="urn:schemas-upnp-org:event-1-0"><property><SystemUpdateID>0</SystemUpdateID></property></propertyset>
12 mar 2007 17:44:59 Event: send_notification.send_request to uuid:0631d65d-0d3b-4e49-93f0-6032613d721b http://192.168.1.91:3332/events
12 mar 2007 17:44:59 Event: request: NOTIFY /events HTTP/1.1
HOST:  192.168.1.91:3332
SEQ:  1
CONTENT-TYPE:  text/xml;charset="utf-8"
SID:  uuid:0631d65d-0d3b-4e49-93f0-6032613d721b
NTS:  upnp:propchange
NT:  upnp:event
Content-Length: 200

<propertyset xmlns="urn:schemas-upnp-org:event-1-0"><property><SystemUpdateID>102</SystemUpdateID></property><property><ContainerUpdateIDs>1000,1,1001,100</ContainerUpdateIDs></property></propertyset>
12 mar 2007 17:44:59 Event: event.subscribe.teardown_connection