You are not logged in.
Hello all. Question for you: my deluge (deluged+deluge-web) shows all torrents as paused; seeding seems to continue, as does downloading. However, if I download a fresh torrent it downloads to 100% but never gets transferred to the completed folder (indicating that something is wonky with libtorrent?).
journalctl shows:
Dec 24 10:08:28 yochai-server systemd[1]: Started Deluge Daemon.
Dec 24 10:08:28 yochai-server systemd[1]: Started Deluge WebUI.
Dec 24 10:08:28 yochai-server deluged[8890]: Unhandled error in Deferred:
Dec 24 10:08:28 yochai-server deluged[8890]: Traceback (most recent call last):
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/deluge/component.py", line 112, in on_start
Dec 24 10:08:28 yochai-server deluged[8890]: self._component_start_timer()
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/deluge/component.py", line 106, in _component_start_timer
Dec 24 10:08:28 yochai-server deluged[8890]: self._component_timer.start(self._component_interval)
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line 168, in start
Dec 24 10:08:28 yochai-server deluged[8890]: self()
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line 213, in __call__
Dec 24 10:08:28 yochai-server deluged[8890]: d = defer.maybeDeferred(self.f, *self.a, **self.kw)
Dec 24 10:08:28 yochai-server deluged[8890]: --- <exception caught here> ---
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
Dec 24 10:08:28 yochai-server deluged[8890]: result = f(*args, **kw)
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/deluge/core/alertmanager.py", line 73, in update
Dec 24 10:08:28 yochai-server deluged[8890]: self.handle_alerts()
Dec 24 10:08:28 yochai-server deluged[8890]: File "/usr/lib/python2.7/site-packages/deluge/core/alertmanager.py", line 118, in handle_alerts
Dec 24 10:08:28 yochai-server deluged[8890]: alert = self.session.pop_alert()
Dec 24 10:08:28 yochai-server deluged[8890]: exceptions.TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<libtorrent::alert>
Dec 24 10:08:34 yochai-server sudo[8947]: yochai : TTY=pts/0 ; PWD=/home/yochai ; USER=root ; COMMAND=/usr/bin/journalctl -b
Dec 24 10:08:34 yochai-server sudo[8947]: pam_unix(sudo:session): session opened for user root by yochai(uid=0)
Most recent upgraded packages relating to deluge:
[2015-12-20 09:20] [ALPM] upgraded python2-setuptools (1:18.8.1-1 -> 1:19.1.1-1)
[2015-12-23 20:34] [ALPM] upgraded libtorrent-rasterbar (1:1.0.7-2 -> 1:1.0.7-3)
Falling back to old versions doesn't help.
Any ideas?
Edit: SOLVED by downgraded a few packages, see thread.
Last edited by yochaigal (2015-12-24 17:07:05)
Offline
Happened to me as well after an upgrade - looks like something is not playing nice between libtorrent, deluge and the latest version of Boost :S
A quick workaround is to downgrade libtorrent and boost to the following versions:
libtorrent-rasterbar-1:1.0.7-2
boost-libs-1.59.0-5
If you've updated recently...
pacman -U /var/cache/pacman/pkg/boost-libs-1.59.0-5-x86_64.pkg.tar.xz /var/cache/pacman/pkg/libtorrent-rasterbar-1:1.0.7-2-x86_64.pkg.tar.xz
...should do the trick.
Last edited by Lysander (2015-12-24 17:01:41)
Offline
Yes - that did the trick. I had to downgrade libtorrent-rasterbar, boost and boostlibs. I used downgrade from AUR, and added the packages to IgnorePKG for now.
Thanks a bunch!
EDIT: openmw wouldn't launch without the latest boostlibs, and I didn't want to downgrade. So I installed latest boost and boost-libs, and then made symlinks for the deluge requirements (e.g 1.6.0 > 1.59.0) and everything works as it should now.
Last edited by yochaigal (2015-12-27 12:23:24)
Offline
You can obtain the error message
TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<libtorrent::alert>
without Deluge, so Deluge is not to blame.
we are not condemned to write ugly code
Offline
Any downgrade options available for armv7h users without a local cache (fresh install)?
Last edited by sepbot (2015-12-27 00:16:27)
Offline
Same problem here. I downgraded libtorrent-rasterbar, boost, and boost-libs and deluge works again.
But does anybody knows whether any bug report has been submitted for the packages in question?
Last edited by geo909 (2015-12-29 19:00:18)
Offline
whether any bug report has been submitted
Yes, the bug reports were submitted to the ArchLinux bugtracker and to the "libtorrent-rasterbar" mailing list.
we are not condemned to write ugly code
Offline
whether any bug report has been submitted
Yes, the bug reports were submitted to the ArchLinux bugtracker and to the "libtorrent-rasterbar" mailing list.
Great, thanks.
Offline
whether any bug report has been submitted
Yes, the bug reports were submitted to the ArchLinux bugtracker and to the "libtorrent-rasterbar" mailing list.
Could you please give a link for the bugtracker page? Other things don't run well after the downgrade, so I wanted to keep an eye on how this goes and upgrade as soon as they fix it.
Offline
The bugtracker page is here. You can also access the libtorrent mailing list archive for some useful response, though from what I see the developer has been unable to reproduce the bug on OSX.
Offline
The bugtracker page is here. You can also access the libtorrent mailing list archive for some useful response, though from what I see the developer has been unable to reproduce the bug on OSX.
Many thanks!
Offline
There's a github pull for libtorrent linked in bugtracker that fixes problem. If you want to get fix now, just rebuilt libtorrent-rasterbar with this patch applied: https://github.com/aresch/libtorrent/co … a214.patch
Offline
There's a github pull for libtorrent linked in bugtracker that fixes problem. If you want to get fix now, just rebuilt libtorrent-rasterbar with this patch applied: https://github.com/aresch/libtorrent/co … a214.patch
Thanks! I think I can wait a little bit but if it takes long I'll have it in mind.
Offline
There's a github pull for libtorrent linked in bugtracker that fixes problem. If you want to get fix now, just rebuilt libtorrent-rasterbar with this patch applied: https://github.com/aresch/libtorrent/co … a214.patch
thanks.. works like a charm after bulding it with this patch
Linux Gaming Videos:http://www.youtube.com/user/Xpander666
Offline
My PKGBUILD with the patch (download the patch in the same directory).
# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
pkgname=libtorrent-rasterbar
pkgver=1.0.7
pkgrel=3
epoch=1
pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!emptydirs')
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz
5330ba5af717b983e456be9f576d66b78d9ca214.patch)
sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61'
'aeef8300f91b2842776feac8ca3717f62539ac74')
build() {
cd $pkgname-$pkgver
# fix build with new boost
patch -Np1 -i ../5330ba5af717b983e456be9f576d66b78d9ca214.patch
PYTHON=/usr/bin/python2 \
./configure \
--prefix=/usr \
--enable-python-binding \
--with-libgeoip=system \
--with-libiconv
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Thanks all for the solution, deluge is fine now.
Offline
and my pacth for adding patch to PKGBUILD
--- a/PKGBUILD 2016-01-06 00:46:24.741536732 +0300
+++ b/PKGBUILD 2016-01-05 23:59:40.504095000 +0300
@@ -13,8 +13,15 @@
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!emptydirs')
-source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
-sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61')
+source=("https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz"
+"https://github.com/aresch/libtorrent/commit/5330ba5af717b983e456be9f576d66b78d9ca214.patch")
+sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61'
+'aeef8300f91b2842776feac8ca3717f62539ac74')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i "$srcdir/5330ba5af717b983e456be9f576d66b78d9ca214.patch"
+}
build() {
cd $pkgname-$pkgver
@@ -32,3 +39,4 @@
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
+
Last edited by HansAnderson (2016-01-05 23:23:04)
Offline
OMG! I have been hours trying to fix this error until I came across this thread!!!!
Thank you guys: Still not fixed: This method works today, january 8 th 2016
Offline
Yeah ! We got an update to libtorrent-rasterbar (version 1:1.0.7-4) that seems to fix the problem. Anyway, thanks for the PKGBUILD, got me a working setup a few days ahead of the update.
Offline