Bug#734247: flumotion: Fails with error when unable to pass feed
Matti Lattu
matti.lattu at iki.fi
Sun Jan 5 07:24:15 UTC 2014
Package: flumotion
Version: 0.10.0-3
Severity: normal
Tags: patch
Flumotion fails with
exceptions.TypeError: _closeSocket() takes exactly 2 arguments (1 given)
Full traceback from the log:
Twisted traceback:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py", line
319, in run
self.__run()
File "/usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py", line
350, in _simulate
self.runUntilCurrent()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800,
in
runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/flumotion/python/flumotion/common/poller.py", line 103, in run
d = maybeDeferred(self.proc)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134,
i
n maybeDeferred
result = f(*args, **kw)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445c
e0/flumotion/component/padmonitor.py", line 193, in <lambda>
self._reconnectPoller = Poller(lambda: reconnectEater(*args),
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feedcomponent010.py",
line 777, in reconnectEater
self.medium.connectEater(eaterAlias)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feedcomponent.py",
line 166, in connectEater
cancel()
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feed.py",
line 264, in stopConnecting
self._factory.disconnect()
File "/usr/lib/flumotion/python/flumotion/twisted/pb.py", line 92, in
disconnect
self._fpbconnector.stopConnecting()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1035,
in stopConnecting
self.transport.failIfNotConnected(error.UserError())
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 345, in
failIfNotConnected
self._closeSocket(True)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feed.py",
line 53, in _closeSocket
tcp._SocketCloser._closeSocket(self)
exceptions.TypeError: _closeSocket() takes exactly 2 arguments (1 given)
DEBUG [ 9745] twisted Jan 05
08:55:11 [-] Traceback (most recent call last):
File "/usr/lib/python2.7/dist-
packages/twisted/internet/gtk2reactor.py", line 319, in run
self.__run()
File "/usr/lib/python2.7/dist-
packages/twisted/internet/gtk2reactor.py", line 350, in _simulate
self.runUntilCurrent()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py",
line 800, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/flumotion/python/flumotion/common/poller.py", line
103, in run
d = maybeDeferred(self.proc)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
line 134, in maybeDeferred
result = f(*args, **kw)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/padmonitor.py",
line 193, in <lambda>
self._reconnectPoller = Poller(lambda: reconnectEater(*args),
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feedcomponent010.py",
line 777, in reconnectEater
self.medium.connectEater(eaterAlias)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feedcomponent.py",
line 166, in connectEater
cancel()
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feed.py",
line 264, in stopConnecting
self._factory.disconnect()
File "/usr/lib/flumotion/python/flumotion/twisted/pb.py", line 92, in
disconnect
self._fpbconnector.stopConnecting()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py",
line 1035, in stopConnecting
self.transport.failIfNotConnected(error.UserError())
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
345, in failIfNotConnected
self._closeSocket(True)
File
"/var/cache/flumotion/.flumotion/component/687f0b7797c03e09a8b6e9d26d445ce0/flumotion/component/feed.py",
line 53, in _closeSocket
tcp._SocketCloser._closeSocket(self)
exceptions.TypeError: _closeSocket() takes exactly 2 arguments (1
given)
The error is probably related to the situation where Flumotion feed cannot be
retrieved by the worker B from instance A. I have not studied this in great
depth since I found a working solution at
https://code.flumotion.com/trac/changeset/8a6636a5382988d9a07460d119e8f0d9797a17d4
You may want to add this change to flumotion package.
-- System Information:
Debian Release: 7.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages flumotion depends on:
ii adduser 3.113+nmu3
ii gstreamer0.10-ffmpeg 0.10.13-5
ii gstreamer0.10-plugins-bad [gstreamer0.10-schroedinger] 0.10.23-7.1
ii gstreamer0.10-plugins-base 0.10.36-1.1
ii gstreamer0.10-plugins-good 0.10.31-3+nmu1
ii libc6 2.13-38
ii python 2.7.3-4+deb7u1
ii python-cairo 1.8.8-1+b2
ii python-dateutil 1.5+dfsg-0.1
ii python-glade2 2.24.0-3+b1
ii python-gobject 3.2.2-2
ii python-gst0.10 0.10.22-3
ii python-gtk2 2.24.0-3+b1
ii python-kiwi 1.9.22-2
ii python-openssl 0.13-2+deb7u1
ii python-rrdtool 1.4.7-2
ii python-twisted-core 12.0.0-1
ii python-twisted-web 12.0.0-1
ii python2.7 2.7.3-6
ii ssl-cert 1.0.32
ii xsltproc 1.1.26-14.1
Versions of packages flumotion recommends:
ii python-gnome2 2.28.1+dfsg-1
flumotion suggests no packages.
-- Configuration Files:
/etc/flumotion/managers/default/planet.xml [Errno 13] Permission denied: u'/etc/flumotion/managers/default/planet.xml'
/etc/flumotion/workers/default.xml [Errno 13] Permission denied: u'/etc/flumotion/workers/default.xml'
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list