Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
klische opened this issue Oct 27, 2018 · 2 comments
Open

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

klische opened this issue Oct 27, 2018 · 2 comments

Comments

@klische
Copy link

klische commented Oct 27, 2018

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'

@vivandro
Copy link

Were you able to resolve this issue? I'm seeing similar error as well. Here;s my console output for pviews.

screen shot 2019-02-12 at 6 06 23 pm

@klische
Copy link
Author

klische commented Mar 7, 2019

No, I was not able to resolve this issue. I gave up on it and removed Chisel from my project :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants