Bug 499932

Summary: PythonCAD contains a syntax error
Product: [Fedora] Fedora Reporter: Russell Strong <russell>
Component: PythonCADAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: kwizart, leigh123linux
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.1.36-7.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-11 17:05:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix for the layer.py error none

Description Russell Strong 2009-05-09 03:04:25 UTC
Description:

[russell@studio ~]$ gtkpycad

Traceback (most recent call last):
  File "/usr/bin/gtkpycad", line 38, in <module>
    from PythonCAD.Generic import imageio
  File "/usr/lib/python2.6/site-packages/PythonCAD/Generic/imageio.py", line 36, in <module>
    from PythonCAD.Generic import layer
  File "/usr/lib/python2.6/site-packages/PythonCAD/Generic/layer.py", line 477
    def setAutosplit(self, as):
                            ^
SyntaxError: invalid syntax

Comment 1 Bug Zapper 2009-06-09 15:30:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 leigh scott 2009-06-23 14:59:19 UTC
Created attachment 349099 [details]
Fix for the layer.py error

Comment 3 leigh scott 2009-06-23 15:05:30 UTC
(In reply to comment #2)
> Created an attachment (id=349099) [details]
> Fix for the layer.py error

It works fine with the patch :-)  

Patch: http://leigh123linux.fedorapeople.org/pub/patches/layer.py.patch

SPECS: http://leigh123linux.fedorapeople.org/pub/SPECS/PythonCAD.spec

SRPMS: http://leigh123linux.fedorapeople.org/pub/srpm/PythonCAD-0.1.36-7.fc11.src.rpm

Comment 4 Fedora Update System 2009-06-29 16:40:43 UTC
PythonCAD-0.1.36-7.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/PythonCAD-0.1.36-7.fc11

Comment 5 Fedora Update System 2009-07-02 05:49:52 UTC
PythonCAD-0.1.36-7.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update PythonCAD'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7244

Comment 6 Fedora Update System 2009-07-11 17:05:33 UTC
PythonCAD-0.1.36-7.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.