facebook / facebook/chisel

pcurl error: error: use of undeclared identifier 'None'

Đang mở
#252 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
9.2k
Fork
790
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Just installed chisel.
`command script import /usr/local/opt/chisel/libexec/fblldb.py` in ~/.lldbinit
Also ran the above in the console while debbuging, printed no errors. However, when I try this command:
`pcurl urlRequest` (a Swift URLRequest). I get the following in the console:

> (lldb) pcurl urlRequest
error: error: use of undeclared identifier 'None'
error: error: use of undeclared identifier 'None'
error: error: use of undeclared identifier 'None'
error: error: use of undeclared identifier 'None'
error: error: use of undeclared identifier 'None'
Traceback (most recent call last):
File "/usr/local/opt/chisel/libexec/fblldb.py", line 84, in runCommand
command.run(args, options)
File "/usr/local/Cellar/chisel/1.8.1/libexec/commands/FBPrintCommands.py", line 550, in run
HTTPHeadersCount = fb.evaluateIntegerExpression('[{} count]'.format(HTTPHeaders))
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 108, in evaluateIntegerExpression
output = evaluateExpression('(int)(' + expression + ')', printErrors).replace('\'', '')
AttributeError: 'NoneType' object has no attribute 'replace'

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.