question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syntax Error by Following Documentation Code

See original GitHub issue

I followed the “workaround” for macOS for transparent proxying. However, after I pasted the code, pfctl gave the following output:

No ALTQ support in kernel
ALTQ related functions disabled
pf.conf:23: syntax error
pfctl: Syntax error in config file: pf rules not loaded
System information

Mitmproxy: 3.0.4 Python: 3.6.6 OpenSSL: OpenSSL 1.1.0h 27 Mar 2018 Platform: Darwin-17.6.0-x86_64-i386-64bit SIP disabled

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
akxcommented, Oct 15, 2018

Seeing the same problem here.

0reactions
Kriechicommented, Sep 28, 2019

Fixed by #3600

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax Errors in Coding and What You Can Do to Fix Them
A syntax error occurs when a programmer writes an incorrect line of code. Most syntax errors involve missing punctuation or a misspelled name....
Read more >
Invalid Syntax in Python: Common Reasons for SyntaxError
When the interpreter encounters invalid syntax in Python code, it will raise a SyntaxError exception and provide a traceback with some helpful information...
Read more >
Why does the following code produce syntax error?
I get the error: Traceback (most recent call last): File "python", line 5, in NameError: name 'has_chars' is not defined Thanks for any...
Read more >
SyntaxError - JavaScript - MDN Web Docs
The SyntaxError object represents an error when trying to interpret syntactically invalid code. It is thrown when the JavaScript engine encounters tokens or ......
Read more >
How to Think Like a Computer Scientist: Learning with Python ...
Syntax errors are produced by Python when it is translating the source code into byte code. They usually indicate that there is something...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found