URL:
<http://gna.org/bugs/?20400>
Summary: ValueError: invalid flag value: 0
Project: MyPaint
Submitted by: ryandesign
Submitted on: Wed 02 Jan 2013 06:42:47 PM GMT
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.1.0
Planned Release: None
Operating System: OS X 10.8
_______________________________________________________
Details:
Hello, I'm the maintainer of MyPaint in MacPorts. Having braved the build
system and gotten MyPaint 1.1.0 to build and install, it runs, but displays
this error every time I start it:
A programming error has been detected.
It probably isn't fatal, but the details should be reported to the developers
nonetheless.
Clicking the "Details..." disclosure triangle produces this text:
Traceback (most recent call last):
File "/opt/local/share/mypaint/gui/application.py", line 190,
at_application_start(*junk=())
self.apply_settings()
if not self.pressure_devices:
variables: {'self.apply_settings': ('local', <bound method
Application.apply_settings of <gui.application.Application instance at
0x10e308c20>>)}
File "/opt/local/share/mypaint/gui/application.py", line 215,
apply_settings(self=<gui.application.Application instance>)
self.update_button_mapping()
prefs_win =
self.layout_manager.get_widget_by_role('preferencesWindow')
prefs_win.update_ui()
variables: {'self.layout_manager.get_widget_by_role': ('local', <bound
method LayoutManager.get_widget_by_role of <gui.layout.LayoutManager instance
at 0x10e112e60>>), 'prefs_win': (None, [])}
File "/opt/local/share/mypaint/gui/layout.py", line 98,
get_widget_by_role(self=<gui.layout.LayoutManager instance>,
role='preferencesWindow')
try:
result = self.factory(role, self, *self.factory_opts)
except ImportError:
variables: {'self.factory': ('local', <function window_factory at
0x10e26aa28>), 'role': ('local', 'preferencesWindow'), 'result': (None, []),
'self.factory_opts': ('local', [<gui.application.Application instance at
0x10e308c20>]), 'self': ('local', <gui.layout.LayoutManager instance at
0x10e112e60>)}
File "/opt/local/share/mypaint/gui/windowing.py", line 57,
window_factory(role='preferencesWindow',
layout_manager=<gui.layout.LayoutManager instance>,
app=<gui.application.Application instance>)
else:
window = module.Window(app)
return (window, )
variables: {'window': (None, []), 'app': ('local',
<gui.application.Application instance at 0x10e308c20>), 'module.Window':
('local', <class 'gui.preferenceswindow.Window'>)}
File "/opt/local/share/mypaint/gui/preferenceswindow.py", line 120,
__init__(self=<Window object at 0x10e16de60 (GtkDialog at 0x7f942a60d1e0)>,
app=<gui.application.Application instance>)
bindings=app.preferences["input.button_mapping"],
actions_possible=actions_possible)
self.button_map_editor.bindings_observers.append(
variables: {'actions_possible': ('local', ['LayerMoveMode', 'StraightMode',
'RotateViewMode', 'ColorPickMode', 'ZoomViewMode', 'EllipseMode',
'FrameEditMode', 'SequenceMode', 'PanViewMode', 'ShowPopupMenu', 'Undo',
'Redo', 'Bigger', 'Smaller', 'MoreOpaque', 'LessOpaque', 'PickContext',
'Fullscreen', 'ToggleSubwindows', 'BrushChooserPopup', 'ColorRingPopup',
'ColorDetailsDialog', 'ColorChangerWashPopup', 'ColorChangerCrossedBowlPopup',
'ColorHistoryPopup', 'PalettePrev', 'PaletteNext'])}
File "/opt/local/share/mypaint/gui/buttonmap.py", line 211,
__init__(self=<ButtonMappingEditor object at 0x10e17f3c0 (GtkEventBox at
0x7f942c031890)>, app=<gui.application.Application instance>, bindings={},
actions_possible=['LayerMoveMode', 'StraightMode', 'RotateViewMode',
'ColorPickMode', 'ZoomViewMode', 'EllipseMode', 'FrameEditMode',
'SequenceMode', 'PanViewMode', 'ShowPopupMenu', 'Undo', 'Redo', 'Bigger',
'Smaller', 'MoreOpaque', 'LessOpaque', 'PickContext', 'Fullscreen',
'ToggleSubwindows', 'BrushChooserPopup', ...])
for bp_name, action_name in tmp_bindings.iteritems():
bp_name = button_press_name(*button_press_parse(bp_name))
bindings[bp_name] = action_name
variables: {'button_press_name': ('global', <function button_press_name at
0x10e2ef398>), 'bp_name': ('local', 'Button3'), 'button_press_parse':
('global', <function button_press_parse at 0x10e2ef410>)}
File "/opt/local/share/mypaint/gui/buttonmap.py", line 27,
button_press_name(button=3, mods=0)
return None
mods = gdk.ModifierType(mods)
modif_name = gtk.accelerator_name(0, mods)
variables: {'mods': ('local', 0), 'gdk.ModifierType': ('global', <class
'gtk.gdk.ModifierType'>)}
ValueError: invalid flag value: 0
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20400>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs