facebook / facebook/chisel

error: error: use of undeclared identifier 'self'

Aperta
#184 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
9.2k
Fork
790
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Any command I use I get the message from the title. It does not matter if I use 'self' or not.

When I used it: mask self.my_uitextfield
Returned:

error: error: use of undeclared identifier 'self'
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 83, in runCommand
command.run(args, options)
File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBDisplayCommands.py", line 153, in run
viewHelpers.maskView(viewOrLayer, options.color, options.alpha)
File "/usr/local/opt/chisel/libexec/fblldbviewhelpers.py", line 25, in maskView
origin = convertPoint(0, 0, viewOrLayer, window)
File "/usr/local/opt/chisel/libexec/fblldbviewhelpers.py", line 47, in convertPoint
fromLayer = convertToLayer(fromViewOrLayer)
File "/usr/local/opt/chisel/libexec/fblldbviewhelpers.py", line 52, in convertToLayer
if fb.evaluateBooleanExpression('[(id)%s isKindOfClass:(Class)[CALayer class]]' % viewOrLayer):
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 84, in evaluateBooleanExpression
return (int(evaluateIntegerExpression('(BOOL)(' + expression + ')', printErrors)) != 0)
File "/usr/local/opt/chisel/libexec/fblldbbase.py", line 76, in evaluateIntegerExpression
output = evaluateExpression('(int)(' + expression + ')', printErrors).replace('\'', '')
AttributeError: 'NoneType' object has no attribute 'replace'

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.