On 22/04/14 10:14, shawn wilson wrote:
This works when I have a class for ldd and nothing else, but when I run it like this: https://gist.github.com/ag4ve/11171201I don't get any of the libraries and I can't figure out where it's failing. ['fattr', [['/testroot', 0, 0, 777], ['/bin/dash']]] HERE1 [/testroot] HERE2 [/bin/dash] ['ldd', ['/lib/x86_64-linux-gnu/libc.so.6', '/lib64/ld-linux-x86-64.so.2']] HERE2 [/lib/x86_64-linux-gnu/libc.so.6] ['ldd', ['/lib64/ld-linux-x86-64.so.2']] HERE2 [/lib64/ld-linux-x86-64.so.2] ['ldd', ['statically']] HERE1 [statically] HERE2 [/lib64/ld-linux-x86-64.so.2] ['ldd', ['statically']] HERE1 [statically] [ 'filelist', [['/testroot', 0, 0, 777], ['/bin/dash', 0, 0, '755'], [[[]], []]]] Obviously it's returning something - but no usable info.
We have no clue what you are doing. You say "this works" but we can't see what 'this' is. Is the code on the pastebin link the working or the broken version? It's also a very long listing. Can you produce a shorter example, perhaps with hard coded values that exhibits the problem? HTH -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
