[Nix-dev] PYTHONPATH and eggs

Florian Friesdorf flo at chaoflow.net
Fri Jul 27 13:42:18 CEST 2012


On Fri, 27 Jul 2012 13:29:03 +0200, Mathijs Kwik <mathijs at 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.

-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120727/77cc9b73/attachment.bin 


More information about the nix-dev mailing list