Deluged and web ui are crushing since last system update

Problems with packages? Post here, using [tags] of the package name.

Deluged and web ui are crushing since last system update

Postby sulimo » Wed Apr 22, 2015 12:47 pm

I have done a system wide update yesterday and today. Yesterday the system was updated to 3.18.11-3-ARCH and today to 3.18.11-4-ARCH.
When I did the last update that came with updating several packages deluged stopped working. It starts for a few seconds and if a web interface request comes in it crushes due to a python error:

Apr 22 14:48:15 hostname systemd[1]: Started Deluge Daemon.
Apr 22 14:48:15 hostname systemd[1]: Starting Deluge Daemon...
Apr 22 14:49:00 hostname deluged[403]: [ERROR ] 14:49:00 main:237 cannot create weak reference to 'Struct' object
Apr 22 14:49:00 hostname deluged[403]: Traceback (most recent call last):
Apr 22 14:49:00 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/deluge/main.py", line 229, in start_daemon
Apr 22 14:49:00 hostname deluged[403]: from deluge.core.daemon import Daemon
Apr 22 14:49:00 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/deluge/core/daemon.py", line 39, in <module>
Apr 22 14:49:00 hostname deluged[403]: from twisted.internet import reactor
Apr 22 14:49:00 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/reactor.py", line 38, in <module>
Apr 22 14:49:00 hostname deluged[403]: from twisted.internet import default
Apr 22 14:49:00 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/default.py", line 56, in <module>
Apr 22 14:49:00 hostname deluged[403]: install = _getInstallFunction(platform)
Apr 22 14:49:00 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/default.py", line 44, in _getInstallFunction
Apr 22 14:49:00 hostname deluged[403]: from twisted.internet.epollreactor import install
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/epollreactor.py", line 24, in <module>
Apr 22 14:49:01 hostname deluged[403]: from twisted.internet import posixbase
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 24, in <module>
Apr 22 14:49:01 hostname deluged[403]: from twisted.internet import error, udp, tcp
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/tcp.py", line 29, in <module>
Apr 22 14:49:01 hostname deluged[403]: from twisted.internet._newtls import (
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
Apr 22 14:49:01 hostname deluged[403]: from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/twisted/protocols/tls.py", line 41, in <module>
Apr 22 14:49:01 hostname deluged[403]: from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
Apr 22 14:49:01 hostname deluged[403]: from OpenSSL import rand, crypto, SSL
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/OpenSSL/rand.py", line 11, in <module>
Apr 22 14:49:01 hostname deluged[403]: from OpenSSL._util import (
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/OpenSSL/_util.py", line 3, in <module>
Apr 22 14:49:01 hostname deluged[403]: from cryptography.hazmat.bindings.openssl.binding import Binding
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 60, in <module>
Apr 22 14:49:01 hostname deluged[403]: class Binding(object):
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 109, in Binding
Apr 22 14:49:01 hostname deluged[403]: libraries=_get_libraries(sys.platform)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 97, in build_ffi_for_binding
Apr 22 14:49:01 hostname deluged[403]: extra_link_args=extra_link_args,
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cryptography/hazmat/bindings/utils.py", line 106, in build_ffi
Apr 22 14:49:01 hostname deluged[403]: ffi.cdef(cdef_source)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cffi/api.py", line 106, in cdef
Apr 22 14:49:01 hostname deluged[403]: self._parser.parse(csource, override=override, packed=packed)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cffi/cparser.py", line 165, in parse
Apr 22 14:49:01 hostname deluged[403]: self._internal_parse(csource)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cffi/cparser.py", line 184, in _internal_parse
Apr 22 14:49:01 hostname deluged[403]: self._parse_decl(decl)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cffi/cparser.py", line 256, in _parse_decl
Apr 22 14:49:01 hostname deluged[403]: self._get_struct_union_enum_type('struct', node)
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/site-packages/cffi/cparser.py", line 434, in _get_struct_union_enum_type
Apr 22 14:49:01 hostname deluged[403]: return self._structnode2type[type]
Apr 22 14:49:01 hostname deluged[403]: File "/usr/lib/python2.7/weakref.py", line 315, in __getitem__
Apr 22 14:49:01 hostname deluged[403]: return self.data[ref(key)]
Apr 22 14:49:01 hostname deluged[403]: TypeError: cannot create weak reference to 'Struct' object
Apr 22 14:49:02 hostname systemd[1]: deluged.service: main process exited, code=exited, status=1/FAILURE
Apr 22 14:49:02 hostname systemd[1]: Unit deluged.service entered failed state.
Apr 22 14:49:02 hostname systemd[1]: deluged.service failed.

I had two different version of python installed (both 2.7 and 3.x). So I uninstalled python3 and all apps depending on it and then I uninstalled and installed again both python2 and deluged with web support getting the same error.
sulimo
 
Posts: 2
Joined: Wed Apr 22, 2015 12:33 pm

Re: Deluged and web ui are crushing since last system update

Postby sulimo » Wed Apr 22, 2015 12:49 pm

I forgot to mention that this system is a raspberry pi 1 B. I will try the installation to a B+ that I also have available
sulimo
 
Posts: 2
Joined: Wed Apr 22, 2015 12:33 pm

Re: Deluged and web ui are crushing since last system update

Postby WarheadsSE » Wed Apr 22, 2015 2:13 pm

I highly doubt the kernel update is the cause. Please get a list from the pacman log of the rest of the packages, as that will provide us with the actual likely culprit.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 7 guests