Description of problem: I've installed upnp-inspector to check DLNA servers running in my LAN. Upnp-inspector doesn't list any server (Android smartphones, Twonky, rygel). I get only an empty program window... Servers are running as I can access and use them with my Philips-TV, an hardware streaming box and XBMC on my computers. Version-Release number of selected component (if applicable): 0.2.2-6.mga4 running on x86 and x64 How reproducible: I've checked it first on my x64 MGA4 RC1. As it doesn't work, I've tried it also on a x86 installation of MGA4 RC1. Steps to Reproduce: 1. urpmi upnp-inspector 2. start upnp-inspector Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedCC: (none) => erwanaliasr1, fundawang, pterjan, zen25000Source RPM: upnp-inspector 0.2.2-6.mga4 => upnp-inspector-0.2.2-6.mga4
This appears to be because something about the python environment is broken. It throws errors in 'twisted' (python-twisted). $ upnp-inspector Gtk-Message: Failed to load module "canberra-gtk-module" /usr/lib/python2.7/site-packages/coherence/extern/louie.py:44: UserWarning: extern.louie will soon be deprecated in favor of coherence.dispatcher. warnings.warn("extern.louie will soon be deprecated in favor of coherence.dispatcher.") Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 380, in callback self._startRunCallbacks(result) File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 488, in _startRunCallbacks self._runCallbacks() File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 575, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python2.7/site-packages/coherence/dispatcher.py", line 81, in deferred_emit dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs)) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 137, in maybeDeferred result = f(*args, **kw) File "/usr/lib/python2.7/site-packages/coherence/dispatcher.py", line 17, in __call__ return self.callback(*args, **kw) 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) exceptions.AttributeError: 'module' object has no attribute '_parse' Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 380, in callback self._startRunCallbacks(result) File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 488, in _startRunCallbacks self._runCallbacks() File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 575, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python2.7/site-packages/coherence/dispatcher.py", line 81, in deferred_emit dfrs.append(defer.maybeDeferred(receiver, *args, **kwargs)) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 137, in maybeDeferred result = f(*args, **kw) File "/usr/lib/python2.7/site-packages/coherence/dispatcher.py", line 17, in __call__ return self.callback(*args, **kw) 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) exceptions.AttributeError: 'module' object has no attribute '_parse'
CC: (none) => smorgan
Hardware: i586 => AllVersion: Cauldron => 4
The error is in upnp not twisted: File "/usr/lib/python2.7/site-packages/coherence/upnp/core/utils.py", line 588, in getPage scheme, host, port, path = client._parse(url) exceptions.AttributeError: 'module' object has no attribute '_parse'
(That's from python-coherence)
https://github.com/coherence-project/Coherence/commit/17e186713233a400b141b9c809322a73f62e3727
I can confirm that the patch fixes the issue for me.
Thanks Pascal for the link. I had a local workaround but the upstream fix is better. I have applied this patch and others (to fix description downloading) in cauldron. This is fixed in python-coherence-0.6.6.2-13.mga5 Keeping the bug open for a Mageia 4 backport, if needed.
CC: (none) => mageia
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version. Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't able to fix it before Mageia 4's end of life. If you are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. If it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release. Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. If you would like to help fixing bugs in the future, don't hesitate to join the packager team via our mentoring program [1] or join the teams that fit you most [2]. [1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager [2] http://www.mageia.org/contribute/
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates. This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version) If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED" 2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release. Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO. 3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page: https://wiki.mageia.org/en/How_to_report_a_bug_properly If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). If you would like to help fixing bugs in the future, don't hesitate to join the packager team via our mentoring program [1] or join the teams that fit you most [2]. [1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager [2] http://www.mageia.org/contribute/
Status: NEW => RESOLVEDResolution: (none) => OLD