-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
SyntaxError: invalid syntax !!! #116
Comments
This is when running |
Hi @mauritsvanrees , you are right, it is a harmless syntax error because the print statement is only for information and log output but the syntax error is due to missing parantheses, adding parantheses should fix the problem. Python 2.7 accepts print statement with and without parantheses, but to be compatible with Python 3, print statement must have paranthesis. |
I know. BTW, I have not got the faintest idea of what |
@mauritsvanrees You are right, jqTree is a different package that has been embeded in Plone, and its new version of insert.py has fixed the issue. so upgrading jqtree in plone should fix the issue, however I am not sure how Plone manages JavaScript installtion or upgrade. one need to fork, change the version in package.json and see if it upgrades to the latest package, or maybe it is afake, and one need to copy the new jqtree and replace the old one. jqtree is to produce menu in website based on json data. |
@mauritsvanrees jqtree might be moved to Volto some time in future if Volto is going to be the default front end, but until then, these files should be maintained. Like you said, it is only a syntax error in print statement and probably not worth the upgrade, the upgrade might break some menus in Plone, but it is good to know what is the source of problem. now we know there is a jqtree to produce menu 😄 Thanks for the reply and following up. |
Starting Plone docker container throw below Syntax Errors:
The text was updated successfully, but these errors were encountered: