Bug 1315081

Summary: unhandled error on startup
Product: [Fedora] Fedora Reporter: Teppo Turtiainen <teppot>
Component: python-CoherenceAssignee: Orphan Owner <extras-orphan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: extras-orphan, matthias, musuruan, paulo
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-06 18:52:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Teppo Turtiainen 2016-03-06 13:36:19 UTC
I get this on startup and no services are discovered:

Unhandled Error
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/lib64/python2.7/site-packages/twisted/internet/udp.py", line 248, in doRead
    self.protocol.datagramReceived(data, addr)
  File "/usr/lib/python2.7/site-packages/coherence/upnp/core/msearch.py", line 46, in datagramReceived
    host=host)
  File "/usr/lib/python2.7/site-packages/coherence/upnp/core/ssdp.py", line 136, in register
    louie.send('Coherence.UPnP.SSDP.new_device', None, device_type=st, infos=self.known[usn])
  File "/usr/lib/python2.7/site-packages/louie/dispatcher.py", line 348, in send
    **named
  File "/usr/lib/python2.7/site-packages/louie/robustapply.py", line 56, in robust_apply
    return receiver(*arguments, **named)
  File "/usr/lib/python2.7/site-packages/coherence/base.py", line 621, in create_device
    root = RootDevice(infos)
  File "/usr/lib/python2.7/site-packages/coherence/upnp/core/device.py", line 450, in __init__
    self.parse_description()
  File "/usr/lib/python2.7/site-packages/coherence/upnp/core/device.py", line 538, in parse_description
    utils.getPage(self.location).addCallbacks(gotPage, gotError, None, None, [self.location], None)
  File "/usr/lib/python2.7/site-packages/coherence/upnp/core/utils.py", line 588, in getPage
    scheme, host, port, path = client._parse(url)
  File "/usr/lib64/python2.7/site-packages/twisted/python/deprecate.py", line 399, in __getattribute__
    value = getattr(state._module, name)
exceptions.AttributeError: 'module' object has no attribute '_parse'

Comment 1 Andrea Musuruane 2016-03-06 16:32:21 UTC
The error you are getting is because of a problem in python-Coherence and not in upnp-inspector.

Please read:
https://bugs.mageia.org/show_bug.cgi?id=12438
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661416

python-Coherence was unmaintained and therefore it has been retired for F24+. upnp-inspector was retired because of this (you cannot have a package depending on an orphaned package).

Because of this I don't think there are many chances that this bug will be fixed for F23 :-(

Comment 2 Teppo Turtiainen 2016-03-06 18:52:43 UTC
OK, I understand. This just seems to be the only tool of it's kind on Linux. Also, a duplicate.

*** This bug has been marked as a duplicate of bug 1310251 ***

Comment 3 Andrea Musuruane 2016-04-15 08:14:01 UTC
*** Bug 1327328 has been marked as a duplicate of this bug. ***