bugMyPaint - Bugs: bug #21256, error in rotate

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #21256: error in rotate

Submitted by:  Edgar Gonz├ílez <mred>
Submitted on:  Tue 05 Nov 2013 02:12:44 PM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: git master 823fd27Planned Release: None
Operating System: Linux mint 15

Mon 23 Jun 2014 09:56:40 PM UTC, comment #2:

[This is a canned response, please forgive the broken formatting: it's one of the many things Gna! unfortunately does not do well.]

This bug tracker will shortly be moving to Github. As part of this process, we are reviewing old bug reports on gna.org.

This bug was marked as Fixed long ago, but was still classified as Open. Github does not distinguish between Fixed+Open and Fixed+Closed in the
way we once did here, so this bug is now being marked Closed, and will not be migrated into the github issues tracker.

If you believe that this bug still affects the most recent git master of MyPaint (and thus the next release), please feel free to open a new
issue on Github about it. Our new issue trackers are:

https://github.com/mypaint/mypaint/issues
https://github.com/mypaint/libmypaint/issues

Andrew Chadwick <achadwick>
Project Administrator
Tue 05 Nov 2013 02:33:18 PM UTC, comment #1:

This should be fixed in current master since https://gitorious.org/mypaint/mypaint/commit/51e6834d. Please update and re-test.

Andrew Chadwick <achadwick>
Project Administrator
Tue 05 Nov 2013 02:12:44 PM UTC, original submission:

Traceback (most recent call last):
File "/usr/local/share/mypaint/gui/document.py", line 101, motion_notify_cb(self=<gui.document.Document object>, tdw=<TiledDrawWidget object at 0x3549be0 (TiledDrawWidget at 0x29a4610)>, event=<void>)
"""
result = self.modes.top.motion_notify_cb(tdw, event)
self.__update_last_event_info(tdw, event)
variables: {'tdw': ('local', <TiledDrawWidget object at 0x3549be0 (TiledDrawWidget at 0x29a4610)>), 'result': (None, []), 'self.modes.top.motion_notify_cb': ('local', <bound method SwitchableFreehandMode.motion_notify_cb of <gui.freehand.SwitchableFreehandMode object at 0x3555c10>>), 'event': ('local', <void at 0x4a9ff30>)}
File "/usr/local/share/mypaint/gui/freehand.py", line 420, motion_notify_cb(self=<gui.freehand.SwitchableFreehandMode object>, tdw=<TiledDrawWidget object at 0x3549be0 (TiledDrawWidget at 0x29a4610)>, event=<void>, fakepressure=None)
if tdw.rotation != 0:
tilt_angle = math.atan2(ytilt, xtilt) - tdw.rotation
tilt_magnitude = math.sqrt((xtilt**2) + (ytilt**2))
variables: {'xtilt': ('local', -1.0), 'ytilt': ('local', -1.0), 'tilt_angle': (None, []), 'tdw.rotation': ('local', -6.083334454106533), 'math': (None, [])}
NameError: global name 'math' is not defined

Edgar González <mred>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by achadwick (Posted a comment)
  • -unavailable- added by mred (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Jun 2014 09:56:40 PM UTCachadwickOpen/ClosedOpen=>Closed
    Tue 05 Nov 2013 02:34:05 PM UTCachadwickRelease=>git master 823fd27
    Tue 05 Nov 2013 02:33:18 PM UTCachadwickStatusNone=>Fixed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup