facebook / facebook/chisel

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

未关闭
#252 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
9.2k
派生
790
PR 合并指标
30 天内没有已合并 PR

描述

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'

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。