Skip to content

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

Open

Description

@klische

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'

Activity

  1. vivandro commented on Feb 13, 2019

    @vivandro

    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

  2. klische commented on Mar 7, 2019

    @klische
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions