facebook/chisel

Chisel not working; 'sys' is not defined

acoomans opened this issue · 3 comments

Added command script import /usr/local/opt/chisel/libexec/fblldb.py to ~/.lldbinit; not working.

Running command script import /usr/local/opt/chisel/libexec/fblldb.py directly into lldb gives:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
NameError: name 'sys' is not defined

Solved by importing sys manually in ~/.lldbinit:

command script import sys
command script import /usr/local/opt/chisel/libexec/fblldb.py

You saved me!

Thanks for the report. I've opened #255 to resolve the issue.