Ticket #227 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

XML error while processing description of a device

Reported by: nickg Assigned to: dev (accepted)
Priority: major Milestone:
Component: Core Version:
Keywords: installation run coherence Cc:

Description (Last modified by dev)

Hello, with the command line I get this

[nick@localhost ~]$ coherence
no config file '/home/nick/.coherence' found
/usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
/usr/lib64/python2.6/site-packages/twisted/python/filepath.py:12: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
WARN  coherence                   May 19 20:27:34  Coherence UPnP framework version 0.6.2 starting... (coherence/base.py:275)
WARN  webserver                   May 19 20:27:34  WebServer on port 36936 ready (coherence/base.py:110)
36936Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/coherence/upnp/core/utils.py", line 449, in handleResponse
    self.factory.page(response)
  File "/usr/lib64/python2.6/site-packages/coherence/upnp/core/utils.py", line 503, in page
    self.deferred.callback((page, self.response_headers))
  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/python2.6/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib64/python2.6/site-packages/coherence/upnp/core/device.py", line 360, in gotPage
    tree = utils.parse_xml(data, 'utf-8').getroot()
  File "/usr/lib64/python2.6/site-packages/coherence/upnp/core/utils.py", line 54, in parse_xml
    return et_parse_xml(data,encoding)
  File "/usr/lib64/python2.6/site-packages/coherence/extern/et.py", line 142, in parse_xml
    p.close()
exceptions.SyntaxError: unbound prefix: line 37, column 0

in my browser: http://localhost:36936/ I get :Coherence - a Python DLNA/UPnP framework for the Digital Living

I look in /home/nick/ and there is not .coherence file could tell how What can I do thanks

Attachments

debug2.asc (226.5 kB) - added by nickg on 19.05.2009 21:45:00.
COHERENCE_DEBUG=*:5 coherence

Change History

19.05.2009 20:44:57 changed by nickg

  • keywords changed from installation to installation run coherence.

19.05.2009 21:10:06 changed by dev

  • status changed from new to assigned.
  • description changed.

19.05.2009 21:12:44 changed by dev

it seems that upon processing the XML description of a device on your network the XML parser refuses to do that due to an "unbound prefix: line 37, column 0".

Pls to a COHERENCE_DEBUG=*:5 coherence and attach the output here.

19.05.2009 21:45:00 changed by nickg

  • attachment debug2.asc added.

COHERENCE_DEBUG=*:5 coherence

27.11.2009 09:51:22 changed by jmsizun

  • summary changed from Testing the installation ΒΆ to XML error while processing description of a device.