PythoncadBugTraker item #3167092, was opened at 2011-01-28 15:03
Message generated for change (Comment added) made by matteoboscolo
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: R37
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Mihhail Afanasjev (moshanator)
>Assigned to: Matteo Boscolo (matteoboscolo)
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?

----------------------------------------------------------------------

>Comment By: Matteo Boscolo (matteoboscolo)
Date: 2011-01-28 15:37

Message:
Hi,

You are using an old branch of the application with an old user
interface.

The new version of PythonCAD use the PyQt interface and is under the R38
branch .

Regards,
Matteo


----------------------------------------------------------------------

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

Reply via email to