URL:
  <http://gna.org/bugs/?21203>

                 Summary: Palette panel options: exception when trying to open
                 Project: MyPaint
            Submitted by: achadwick
            Submitted on: Sun 20 Oct 2013 05:05:27 AM GMT
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: git master a4121b65
         Planned Release: None
        Operating System: Debian jessie/testing

    _______________________________________________________

Details:

Clicking on the panel options icon when the palette is visible results in the
following exception when running from a new config or at other times.


$ mypaint -c /tmp/cfgtmp.$$
INFO: gui.application: Created basedir u'/tmp/cfgtmp.31228'
INFO: gui.application: Created data subdir u'/tmp/cfgtmp.31228/backgrounds'
INFO: gui.application: Created data subdir u'/tmp/cfgtmp.31228/brushes'
INFO: gui.application: Created data subdir u'/tmp/cfgtmp.31228/scratchpads'

(mypaint:32059): Gtk-CRITICAL **: gtk_box_reorder_child: assertion `old_link
!= NULL' failed
INFO: gui.brushmanager: Merging upstream brush changes into your collection.
INFO: gui.application: Looking for GTK devices with pressure
WARNING: gui.application: No pressure sensitive devices found.
Traceback (most recent call last):
  File "/usr/local/share/mypaint/gui/workspace.py", line 1345, in
_properties_button_clicked_cb
    tool_widget.tool_widget_properties()
  File "/usr/local/share/mypaint/gui/colortools.py", line 60, in <lambda>
    show_props = lambda *a: page.show_properties()
  File "/usr/local/share/mypaint/gui/colors/paletteview.py", line 107, in
show_properties
    dialog = PaletteEditorDialog(toplevel, self.get_color_manager())
  File "/usr/local/share/mypaint/gui/colors/paletteview.py", line 136, in
__init__
    datapath=target_color_manager.get_data_path())
  File "/usr/local/share/mypaint/gui/colors/adjbases.py", line 140, in
__init__
    hist_hex = list(prefs.get(PREFS_KEY_COLOR_HISTORY, []))
AttributeError: 'NoneType' object has no attribute 'get'


Steps to reproduce:

1. Open the palette panel (Shift+C)
2. Click on the "Palette: edit properties" button (next to the close button,
same row as the palette tab, icon's appearance varies)





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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