bugSkencil - Bugs: bug #9378, Exceptions after an interrupted...

 
 

bug #9378: Exceptions after an interrupted polyline

Submitter:  Antoon Pardon <apardon>
Submitted:  Fri 18 Jun 2004 12:13:29 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  0.6.x
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Jun 2004 06:13:36 PM UTC, comment #2: 

Fixed by patch #3141.  Will be in the next release.

For some reason I get the error with Python 2.2 today as well.  I have no idea why I didn't get it yesterday.

Bernhard Herzog <bh>
Group administrator
Fri 18 Jun 2004 01:20:01 PM UTC, comment #1: 

I can reproduce the bug with python 2.3.  It works fine with 2.2, though.

Bernhard Herzog <bh>
Group administrator
Fri 18 Jun 2004 12:13:29 PM UTC, original submission:  

If you start with a Draw Poly-Line, click for the first
point, click for the second point and then type <ESC>
you continously get the following kind of error messages.

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in _call_
    return self.func(*args)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/canvas.py", line 500, in PointerMotionEvent
    self.mode.mouse_move(p, event.state)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/canvas.py", line 885, in drag_mouse
    if abs(self.start_pos[0] - p) * self.scale > 3:
TypeError: unsubscriptable object
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in _call_
    return self.func(*args)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/canvas.py", line 500, in PointerMotionEvent
    self.mode.mouse_move(p, event.state)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/canvas.py", line 885, in drag_mouse
    if abs(self.start_pos[0] - p) * self.scale > 3:
TypeError: unsubscriptable object

Antoon Pardon <apardon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-19 bh Open/ClosedOpen Closed
2004-06-19 bh StatusNone Fixed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code