Bug 691475

Summary: [abrt] PythonCAD-0.1.36-9.fc14: segment.py:251:setP2:AttributeError: 'NoneType' object has no attribute 'disconnect'
Product: [Fedora] Fedora Reporter: Gary Morris <gwmorris>
Component: PythonCADAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: kwizart
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:b3e6381b
Fixed In Version: PythonCAD-0.1.37-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-28 05:45:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Gary Morris 2011-03-28 16:25:46 UTC
abrt version: 1.1.17
architecture: i686
cmdline: python /usr/bin/gtkpycad
comment: As I said, I don't know if I could reproduce it. I had just installed the latest in the Fedora repository, opened it up to check it out, created a rectangle, zoomed/un-zoomed it, and CRASH!
component: PythonCAD
executable: /usr/bin/gtkpycad
kernel: 2.6.35.11-83.fc14.i686
package: PythonCAD-0.1.36-9.fc14
reason: segment.py:251:setP2:AttributeError: 'NoneType' object has no attribute 'disconnect'
release: Fedora release 14 (Laughlin)
time: 1301329205
uid: 503

backtrace
-----
segment.py:251:setP2:AttributeError: 'NoneType' object has no attribute 'disconnect'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/PythonCAD/Interface/Gtk/gtkimage.py", line 486, in __daEvent
    event, _tool)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Interface/Gtk/gtkmodify.py", line 134, in move_elem_button_press_cb
    move_objects(gtkimage, _objs, tool)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Interface/Gtk/gtkmodify.py", line 93, in move_objects
    PythonCAD.Generic.move.move_objects(objlist, _dx, _dy)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Generic/move.py", line 554, in move_objects
    _move_seg_cline(_obj, _objdict, _dx, _dy)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Generic/move.py", line 520, in _move_seg_cline
    _copy_seg_cline(obj, objdict, dx, dy)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Generic/move.py", line 478, in _copy_seg_cline
    obj.setP2(_np)
  File "/usr/lib/python2.7/site-packages/PythonCAD/Generic/segment.py", line 251, in setP2
    _pt.disconnect(self)
AttributeError: 'NoneType' object has no attribute 'disconnect'

Local variables in innermost frame:
_pt: None
p: <PythonCAD.Generic.point.Point object at 0x906be6c>
self: <PythonCAD.Generic.segment.Segment object at 0x906ba6c>

How to reproduce
-----
1. I'm not sure IF I could reproduce it. I had just installed it and was trying it out.
2. I drew a rectangle, zoomed it, un-zoomed it and then drew a line or something.
3. End of program, like it or not!

Comment 1 Gary Morris 2011-03-28 16:25:48 UTC
Created attachment 488191 [details]
File: backtrace

Comment 2 Fedora Update System 2011-08-22 20:47:02 UTC
PythonCAD-0.1.37-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/PythonCAD-0.1.37-1.fc16

Comment 3 Fedora Update System 2011-08-22 20:48:42 UTC
PythonCAD-0.1.37-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/PythonCAD-0.1.37-1.fc15

Comment 4 Fedora Update System 2011-08-22 20:49:39 UTC
PythonCAD-0.1.37-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/PythonCAD-0.1.37-1.fc14

Comment 5 Fedora Update System 2011-08-23 04:38:12 UTC
Package PythonCAD-0.1.37-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing PythonCAD-0.1.37-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/PythonCAD-0.1.37-1.fc14
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2011-08-28 05:45:36 UTC
PythonCAD-0.1.37-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-09-06 23:59:42 UTC
PythonCAD-0.1.37-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2011-09-07 00:23:16 UTC
PythonCAD-0.1.37-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.