Gentoo Archives: gentoo-user

From: Les Henderson <ljhender@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] bittorrent 5.0.5 fails
Date: Mon, 26 Feb 2007 20:02:13
Message-Id: b35412cf0702261153m6102789eje2d052ba44a684a5@mail.gmail.com
1 I recently emerged bittorrent 5.0.5, but it keeps on crashing.
2
3 I've set wxGTK and wxpython to use unicode.
4
5 $ cat /etc/portage/package.use
6 x11-libs/wxGTK unicode
7 dev-python/wxpython unicode
8
9 I've upgraded twisted-web since I read somewhere that could make a difference.
10
11 $ cat /etc/portage/package.keywords
12 =dev-python/twisted-web-0.7.0 ~x86
13 =dev-python/twisted-2.5.0 ~x86
14
15 And of course I tried re-emerging bittorrent as well. This appears to
16 be a permissions issue. I can run the program as root (at least it
17 doesn't crash, I haven't actually tried to download or seed torrents
18 as root). Any idea which permissions need to change to keep the
19 program from crashing when I run it as a regular user? Is it safe to
20 do so? Any suggestions?
21
22 $ bittorrent
23 >>> unable to setrlimit not allowed to raise maximum limit
24 Exception in thread bittorrent:263 in ?:
25 threading.Thread(target=init_core, args=(mainloop,)).start():
26 Traceback (most recent call last):
27 File "/usr/bin/bittorrent", line 263, in ?
28 threading.Thread(target=init_core, args=(mainloop,)).start()
29 File "/usr/bin/bittorrent", line 215, in init_core
30 init_torrents=False)
31 File "/usr/lib/python2.4/site-packages/BitTorrent/MultiTorrent.py",
32 line 167, in __init__
33 self._restore_state(init_torrents)
34 File "/usr/lib/python2.4/site-packages/BitTorrent/MultiTorrent.py",
35 line 823, in _restore_state
36 t = decode_line(line)
37 File "/usr/lib/python2.4/site-packages/BitTorrent/MultiTorrent.py",
38 line 758, in decode_line
39 t.working_path = t.working_path.decode('utf-8')
40 File "/usr/lib/python2.4/site-packages/BitTorrent/Torrent.py", line
41 268, in _set_working_path
42 self.config['working_path'] = value
43 File "/usr/lib/python2.4/site-packages/BitTorrent/prefs.py", line
44 49, in __setitem__
45 assert not isinstance(self._options[option], str) or \
46 AssertionError: 'working_path' is not str
47 non-daemon threads not shutting down in a timely fashion:
48 <StackThread(disk_thread-1, started)>
49 <StackThread(disk_thread-2, started)>
50 <StackThread(disk_thread-3, started)>
51 You have no chance to survive make your time.
52 Killed
53
54 --
55 Les Henderson
56 ljhender@×××××.com
57 --
58 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] bittorrent 5.0.5 fails "Bo Ørsted Andresen" <bo.andresen@××××.dk>