facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.
MIT License
9.13k stars 803 forks source link

error: (lldb) command script import /usr/local/opt/chisel/libexec/fblldb.py #283

Closed wulinfeng198810 closed 4 years ago

wulinfeng198810 commented 4 years ago
(lldb) command script import /usr/local/opt/chisel/libexec/fblldb.py
error: module importing failed: Missing parentheses in call to 'print'. Did you mean print('Whoops! You are missing the <' + arg.argName + '> argument.')? (fblldb.py, line 98)
  File "temp.py", line 1, in <module>

Hi, how to deal with it?

lucidstream commented 4 years ago

me too

joey-bing commented 4 years ago

I meet the same problem in macOS Catalina 10.15.2, Xcode 11.3.1.

iandundas commented 4 years ago

this is fixed for me since updating to the latest chisel (2.0.0)

kolinkrewinkel commented 4 years ago

Yep, this is solved by updating to have Python 3 support! There's a new release coming later today (https://github.com/Homebrew/homebrew-core/pull/59799), so I'd recommending updating via brew in around 8 hours so you get the latest and greatest!