Follow-up Comment #9, bug #22182 (project mypaint):

Related to 'Placeholder at None',

Bug Detected Error with the latest Git when trying to rename a layer:
-----------------------------------------------------------------

Traceback (most recent call last):
  File "/home/homeuser/Desktop/MyPaint/mypaint/gui/document.py", line 918,
rename_layer_cb(self=<gui.document.Document object>, action=<Action object at
0xa3c3e64 (GtkAction at 0xa3206a8)>)
            if new_name:
                self.model.rename_current_layer(new_name)
  variables: {'new_name': ('local', u'Layer 3'),
'self.model.rename_current_layer': ('local', <bound method
Document.rename_current_layer of <Document nlayers=4 bbox=Rect(128, 256, 448,
256) paintonly=False>>)}
  File "/home/homeuser/Desktop/MyPaint/mypaint/lib/document.py", line 718,
rename_current_layer(self=<Document nlayers=4 bbox=Rect(128, 256, 448, 256)
paintonly=False>, name=u'Layer 3')
                return
            self.do(command.RenameLayer(self, name))
  variables: {'self.do': ('local', <bound method Document.do of <Document
nlayers=4 bbox=Rect(128, 256, 448, 256) paintonly=False>>), 'self': ('local',
<Document nlayers=4 bbox=Rect(128, 256, 448, 256) paintonly=False>), 'name':
('local', u'Layer 3'), 'command.RenameLayer': ('global', <class
'lib.command.RenameLayer'>)}
  File "/home/homeuser/Desktop/MyPaint/mypaint/lib/command.py", line 1035,
__init__(self=<Rename Layer>, doc=<Document nlayers=4 bbox=Rect(128, 256, 448,
256) paintonly=False>, name=u'Layer 3')
        def __init__(self, doc, name):
            super(RenameLayer, self).__init__(doc, **kwds)
            self.new_name = name
  variables: {'kwds': (None, []), 'doc': ('local', <Document nlayers=4
bbox=Rect(128, 256, 448, 256) paintonly=False>), 'self': ('local', <Rename
Layer>), 'RenameLayer': ('global', <class 'lib.command.RenameLayer'>),
'super': ('builtin', <type 'super'>), '__init__': (None, [])}
NameError: global name 'kwds' is not defined

-----------------------------------------------------------------

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22182>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to