pythoncad crashed at the program starting

Bug #345624 reported by Proyectos Cading
32
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pythoncad (Debian)
Fix Released
Unknown
pythoncad (Fedora)
Fix Released
Medium
pythoncad (Ubuntu)
Fix Released
Medium
Luca Falavigna

Bug Description

Binary package hint: pythoncad

I start Pythoncad, but nothing appears... it just crashes...

I'm using ubuntu 9.04 alpha 6...
the package version is 0.1.35-4

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/pythoncad
InterpreterPath: /usr/bin/python2.6
Package: pythoncad 0.1.35-4
PackageArchitecture: all
ProcCmdline: python /usr/bin/pythoncad
ProcEnviron:
 PATH=(custom, no user)
 LANG=es_MX.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/pythoncad']
SourcePackage: pythoncad
Title: pythoncad crashed with SyntaxError in <module>()
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
Proyectos Cading (proyectos-cading) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This will appear in 0.1.35-5 in Debian, in the meantime I'll apply the fix in Ubuntu.

visibility: private → public
Changed in pythoncad (Ubuntu):
assignee: nobody → Luca Falavigna (dktrkranz)
importance: Undecided → Medium
status: New → In Progress
Changed in pythoncad (Debian):
status: Unknown → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pythoncad - 0.1.35-4ubuntu1

---------------
pythoncad (0.1.35-4ubuntu1) jaunty; urgency=low

  * debian/patches/05_as_reserved.dpatch:
    - Do not use "as" as variable name, it's a reserved word in
      Python 2.6 (LP: #345624).

 -- Luca Falavigna <email address hidden> Mon, 13 Apr 2009 17:42:55 +0200

Changed in pythoncad (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
In , Russell (russell-redhat-bugs) wrote :

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

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

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

Revision history for this message
In , leigh (leigh-redhat-bugs) wrote :

Created attachment 349099
Fix for the layer.py error

Revision history for this message
In , leigh (leigh-redhat-bugs) wrote :

(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

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

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

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

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

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

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.

Changed in pythoncad (Fedora):
status: Unknown → Fix Released
Changed in pythoncad (Debian):
status: Fix Committed → Fix Released
Changed in pythoncad (Fedora):
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.