Menu

#93 regression in _trim_arity

v1.0 (example)
closed-fixed
nobody
None
5
2016-05-11
2016-04-22
user
No

In a nutshell, _trim_arity fails if the source code for the program in unavailable, e.g. when compiling executables with PyInstaller. This is due to traceback.extract_tb returning None for exc_source_line and pyparsing calling exc_source_line.endswith()..

File "site-packages/pyparsing.py", line 803, in wrapper
AttributeError: 'NoneType' object has no attribute 'endswith'

https://github.com/mitmproxy/mitmproxy/issues/1087
https://docs.python.org/2/library/traceback.html#traceback.extract_tb

Related

Bugs: #93

Discussion

  • Paul McGuire

    Paul McGuire - 2016-04-22

    A candidate fix has been checked into SVN - please download and verify in your PyInstaller environment.

     
  • Paul McGuire

    Paul McGuire - 2016-05-11
    • status: open --> closed-fixed
     
  • Paul McGuire

    Paul McGuire - 2016-05-11

    Was fixed in 2.1.2, then fixed better in 2.1.3, just released.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.