Open dholbach opened 6 years ago
[daniel@reef scope-http-statistics ]$ make docker run --rm -it \ --privileged --net=host --pid=host \ -v /lib/modules:/lib/modules \ -v /usr/src:/usr/src \ -v /sys/kernel/debug/:/sys/kernel/debug/ \ -v /var/run/scope/plugins:/var/run/scope/plugins \ --name weaveworksplugins-scope-http-statistics weaveworksplugins/scope-http-statistics Traceback (most recent call last): File "/usr/bin/http-statistics.py", line 294, in <module> kernel_inspector = KernelInspector() File "/usr/bin/http-statistics.py", line 57, in __init__ self.bpf = bcc.BPF(EBPF_PROGRAM) File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 299, in __init__ src_file = BPF._find_file(src_file) File "/usr/lib/python2.7/dist-packages/bcc/__init__.py", line 211, in _find_file t = b"/".join([os.path.abspath(os.path.dirname(argv0)), filename]) File "/usr/lib/python2.7/posixpath.py", line 122, in dirname i = p.rfind('/') + 1 AttributeError: 'ArgString' object has no attribute 'rfind' Makefile:12: recipe for target 'run' failed make: *** [run] Error 1 [daniel@reef scope-http-statistics ]$