URL:
<http://gna.org/bugs/?18316>
Summary: error File -> Document Frame
Project: MyPaint
Submitted by: mred
Submitted on: mar 05 jul 2011 12:05:02 COT
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: MyPaint 0.9.1+git
Planned Release: None
Operating System: Linux - Ubuntu
_______________________________________________________
Details:
option to call the document frame is generated this error
from commit 6e2f40b6f177a23ade87765965f7cbc67785495b of July 4
Traceback (most recent call last):
File "/usr/local/share/mypaint/gui/drawwindow.py", line 427,
toggleWindow_cb(self=<Window object at 0x8d2d914 (GtkWindow at 0x9326000)>,
action=<gtk.Action object at 0x8d31414 (GtkAction at 0x92dcaf8)>)
# If it's a tool, get it to hide/show itself
t = self.app.layout_manager.get_tool_by_role(window_name)
if t is not None:
variables: {'self.app.layout_manager.get_tool_by_role': ('local', <bound
method LayoutManager.get_tool_by_role of <gui.layout.LayoutManager instance at
0x8d2bbcc>>), 't': (None, []), 'window_name': ('local', 'frameWindow')}
File "/usr/local/share/mypaint/gui/layout.py", line 131,
get_tool_by_role(self=<gui.layout.LayoutManager instance>,
role='frameWindow')
newly_loaded = role not in self.widgets
_junk = self.get_widget_by_role(role)
tool = self.tools.get(role, None)
variables: {'role': ('local', 'frameWindow'), '_junk': (None, []),
'self.get_widget_by_role': ('local', <bound method
LayoutManager.get_widget_by_role of <gui.layout.LayoutManager instance at
0x8d2bbcc>>)}
File "/usr/local/share/mypaint/gui/layout.py", line 83,
get_widget_by_role(self=<gui.layout.LayoutManager instance>,
role='frameWindow')
else:
result = self.factory(role, self, *self.factory_opts)
if role == 'main-window':
variables: {'self.factory': ('local', <function window_factory at
0x8c336bc>), 'role': ('local', 'frameWindow'), 'result': (None, []),
'self.factory_opts': ('local', [<gui.application.Application instance at
0x8c4ac8c>]), 'self': ('local', <gui.layout.LayoutManager instance at
0x8d2bbcc>)}
File "/usr/local/share/mypaint/gui/windowing.py", line 47,
window_factory(role='frameWindow', layout_manager=<gui.layout.LayoutManager
instance>, app=<gui.application.Application instance>)
if role not in app.window_names:
raise ValueError, 'Window %r is missing in DEFAULT_CONFIG
(application.py)' % role
# Load module, and initialize tool widget or subwindow from it
variables: {'role': ('local', 'frameWindow'), 'ValueError': ('builtin',
<type 'exceptions.ValueError'>)}
ValueError: Window 'frameWindow' is missing in DEFAULT_CONFIG
(application.py)
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18316>
_______________________________________________
Mensaje enviado vía/por Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs