PySnooper: Runtime error (IronPython)

I get the following runtime error with the demo code provided in the readme:

Runtime error (MissingMemberException): 'NoneType' object has no attribute 'get'
Traceback:
  line 72, in decorate, "pysnooper.py"
  line 59, in get_source_from_frame, "pysnooper\tracer.py"
  line 209, in trace, "pysnooper\tracer.py"
  line 2, in number_to_bits, "<decorator-gen-10>"
  line 20, in script

(line 20 calls the “number_to_bits” function)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 25 (12 by maintainers)

Commits related to this issue

Most upvoted comments

@runxel could you fetch the path that includes the illegal path? Like put a print statement just before the line that fails?

On Sun, Apr 28, 2019, 23:29 Lucas Becker notifications@github.com wrote:

True, I will just clone it 😃

Thank you very much already for looking into this crude edge cases!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cool-RR/PySnooper/issues/75#issuecomment-487412833, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN3SU5RR3CKVYEYGL5COTPSYCL5ANCNFSM4HI66E5Q .