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
|