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

exception handler seems broken #3

Open
op7ic opened this issue Apr 4, 2016 · 4 comments
Open

exception handler seems broken #3

op7ic opened this issue Apr 4, 2016 · 4 comments

Comments

@op7ic
Copy link

op7ic commented Apr 4, 2016

Hello,

I get the following error when loading this extension:

SyntaxError: ("mismatched input 'as' expecting COLON", ('\bapps\8b4fe2571ec54983b6d6c21fbfe17cb2\HeadersAnalyzer.py', 350, 27, ' except IOError as e:\n'))

at org.python.core.ParserFacade.fixParseError(ParserFacade.java:92)
at org.python.core.ParserFacade.parse(ParserFacade.java:184)
at org.python.core.Py.compile_flags(Py.java:1731)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:514)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at burp.tt.<init>(Unknown Source)
at burp.pxf.a(Unknown Source)
at burp.wke.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


at org.python.core.ParserFacade.fixParseError(ParserFacade.java:92)
at org.python.core.ParserFacade.parse(ParserFacade.java:184)
at org.python.core.Py.compile_flags(Py.java:1731)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:514)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at burp.tt.<init>(Unknown Source)
at burp.pxf.a(Unknown Source)
at burp.wke.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Java: 8.77
Env: Win 8.1

@ghost
Copy link

ghost commented Apr 4, 2016

Hi,

That is strange, I've checked that line, and it does have the colon:

[...]
except IOError as e:
[...]

What version of Jython do you have? Jython 2.7+ is needed.

@op7ic
Copy link
Author

op7ic commented Apr 4, 2016

yup 2.7 used

@ghost
Copy link

ghost commented Apr 4, 2016

Could you download the extension and install it manually instead of through the Burp "market"?, you have all the details here: https:/Dionach/HeadersAnalyzer

@op7ic
Copy link
Author

op7ic commented Apr 4, 2016

will do thx

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

1 participant