PythoncadBugTraker item #3167092, was opened at 2011-01-28 16:03 Message generated for change (Tracker Item Submitted) made by moshanator You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=3167092&group_id=263167
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Bug Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mihhail Afanasjev (moshanator) Assigned to: Nobody/Anonymous (nobody) Summary: Syntax error in PythonCad/Generic/layer.py Initial Comment: Running gtkpycad.py directly from the git repo throws this at me: misa@compaq-nx6325:~/pythoncad$ ./gtkpycad.py Traceback (most recent call last): File "./gtkpycad.py", line 38, in <module> from PythonCAD.Generic import imageio File "/home/misa/pythoncad/PythonCAD/Generic/imageio.py", line 36, in <module> from PythonCAD.Generic import layer File "/home/misa/pythoncad/PythonCAD/Generic/layer.py", line 477 def setAutosplit(self, as): ^ SyntaxError: invalid syntax The ^ is pointing at the "as" keyword, which for some reason is used here as a variable. Changing "as" to "state" everywhere in that function fixes things and gtk will start normally again. Can I commit this to git? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1128790&aid=3167092&group_id=263167 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Pythoncad-developer mailing list Pythoncad-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pythoncad-developer