On Fri, Jul 27, 2012 at 1:42 PM, Florian Friesdorf <f...@chaoflow.net> wrote: > On Fri, 27 Jul 2012 13:29:03 +0200, Mathijs Kwik <math...@bluescreen303.nl> > wrote: >> That's strange then :) >> >> I disabled the test too, but the problem remains. >> Just to be clear, it's a warning, not an error: >> >> % bup meta >> Warning: Linux xattr support missing; install python-pyxattr. >> Warning: POSIX ACL support missing; install python-pylibacl. >> usage: bup meta --create [OPTION ...] <PATH ...> >> or: bup meta --extract [OPTION ...] >> or: bup meta --start-extract [OPTION ...] >> or: bup meta --finish-extract [OPTION ...] > > sorry - I have the same - was looking out for python import errors. > >> How can I debug this further? > > % > /nix/store/5qmz5wc596kl7rywx56phyl2gb0052w7-python-2.7.3/lib/python2.7/pdb.py > .nix-profile/bin/bup > Traceback (most recent call last): > File > "/nix/store/5qmz5wc596kl7rywx56phyl2gb0052w7-python-2.7.3/lib/python2.7/pdb.py", > line 1314, in main > pdb._runscript(mainpyfile) > File > "/nix/store/5qmz5wc596kl7rywx56phyl2gb0052w7-python-2.7.3/lib/python2.7/pdb.py", > line 1233, in _runscript > self.run(statement) > File > "/nix/store/5qmz5wc596kl7rywx56phyl2gb0052w7-python-2.7.3/lib/python2.7/bdb.py", > line 387, in run > exec cmd in globals, locals > File "<string>", line 1, in <module> > File ".nix-profile/bin/bup", line 2 > export > PYTHONPATH=/nix/store/ixp90035n4xrr6y4kcvcb36cd6rpcz0a-python-pyxattr-0.5.1/lib/python2.7/site-packages:/nix/store/kczagr8sv3yx355jy63byv7i7jngbx9v-python-pylibacl-0.5.1/lib/python2.7/site-packages:/nix/store/5qmz5wc596kl7rywx56phyl2gb0052w7-python-2.7.3/lib/python2.7/site-packages:/nix/store/93lbhnm76wlkmq7r0z8lwk3g9ch76hjp-git-1.7.11/lib/python2.7/site-packages${PYTHONPATH:+:}$PYTHONPATH > ^ > SyntaxError: invalid syntax > Uncaught exception. Entering post mortem debugging > Running 'cont' or 'step' will restart the program >> <string>(1)<module>() > (Pdb) > > So the wrapper actually is not good.
If I understand correctly, you've run pdb on the wrapper, which is a shell script, rather than the wrapped python code, is that right? _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev