You are not logged in.
I'm using both nicotine-plus http://aur.archlinux.org/packages.php?ID=8050 and museekd http://aur.archlinux.org/packages.php?ID=20439 for p2p filesharing on the slsk.net network.
The last few days I can no longer use both clients;
nicotine crashes with the following error:
nicotine.py
File "/usr/bin/nicotine.py", line 55
except AttributeError, error:
^
SyntaxError: invalid syntax
Looking at the segment around line 55 in /usr/bin/nicotine.py gives me:
LOAD_PSYCO = False
if win32 and platform.architecture()[0] == "32bit":
LOAD_PSYCO = True
else:
try:
if os.uname()[4] in ("i386", "i586", "i686") and platform.architecture()[0] == "32bit":
LOAD_PSYCO = True
except AttributeError, error:
pass
if LOAD_PSYCO:
try:
import psyco
psyco.profile()
except ImportError:
log.addwarning(_("""Nicotine supports \"psyco\", an inline optimizer for python code, you can get it at http://sourceforge.net/projects/psyco/"""))
As I try to recompile from AUR it gives me an architecture error (unable to compile on x86_64 what I'm using.
Also as I read in http://psyco.sourceforge.net/ python 2.7 is not supported (let alone 3.1.2 installed on my system..)
Recompiling nicotine from AUR using yaourt also gives me an error (related?)
Checked out revision 1432.
File "setup.py", line 40
print "Py2exe is required to build Windows binaries."
^
SyntaxError: invalid syntax
An alternative (and a pretty fine one since it's running as a daemon) would be museek+ http://www.museek-plus.org/
Unfortunatly this client also gives me trouble..
It uses a binary called musetup to configure the client (it writes to ~/.museekd/config.xml) and a script called muscan to rescan shared files. After invoking muscan a few days ago `i got an error (can't recall anymore) so I started to fiddle around a bit using musetup but now also gave me an error:
File "/usr/bin/musetup", line 23
if child.nodeName == u'key':
^
SyntaxError: invalid syntax
that particular section in the musetup script gives me:
config = {}
def readDomain(node):
domain = {}
child = node.firstChild
while child:
if child.nodeName == u'key':
id = child.getAttribute('id')
if child.firstChild:
domain[id] = child.firstChild.nodeValue
else:
domain[id] = ''
child = child.nextSibling
return domain
I accidently rm-ed my original config.xml file so Im no longer capable os using my favorite p2p client.
Running the windows client in wine results after several hour in an unresponsive system due to a cpu and memory overload so that's also no option..
Anyone capable of helping me out?
Offline
Have you tried using Nicotine from the repos instead?
Offline
Righto.. that build works just fine. Silly it didn't occur to me to try that package..
In the past I learned the habit to use svn versions since there were some flaws with previous builds of nicotine.
Thanks for the tip.. hopefully museekd will be revised somehow since the idea of running this client as a daemon is really nice.
Cheers
Offline