Syntax Error by Following Documentation Code
See original GitHub issueI 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:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seeing the same problem here.
Fixed by #3600