bugMyPaint - Bugs: bug #21145, NoneType errors when selecting...

 
 
Show feedback again

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

bug #21145: NoneType errors when selecting brushes with various PixbufLists: "... "brush.py", line 414, in set_color_hsv ..."

Submitted by:  Salamander Rake <salamanderrake>
Submitted on:  Tue 17 Sep 2013 12:31:12 AM UTC  
 
Severity: 3 - NormalPriority: 5 - Normal
Status: Works For MePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: master at 373c2208Planned Release: None
Operating System: Gentoo / LinuxMint KDE

(Jump to the original submission Jump to the original submission)

Thu 26 Jun 2014 12:28:28 PM UTC, comment #8:

Should probably add links to that canned footer...

https://github.com/mypaint/mypaint/issues for the mypaint app, or
https://github.com/mypaint/libmypaint/issues for its brushlib

Thanks for reporting this. I'm sorry we've not been able to take it further.

Andrew Chadwick <achadwick>
Project Administrator
Thu 26 Jun 2014 12:27:25 PM UTC, comment #7:

It's been a while for this bug and bug #21119, and I've never been able to reproduce it myself. I'm no longer sure this is still happening to anyone either.

If you're still dealing with this error on the latest git master, tell us! This bug really needs a well-described method describing how to reproduce the problem before we can start to fix it, but feedback has dried up.

With the upcoming move to Github, I'm having to be fairly assertive about closing down bugs on the old tracker. I'm marking this one as "Works For Me" rather than "Confirmed", because I think that status was an error. If there's no feedback after a couple of weeks, this one should be moved to "Works For Me" + "Closed".

Sorry about that everyone.

By the way, if it is still happening and you have a github account, please feel free top open a new Issue there. It's a much nicer environment for describing bugs, in my experience ☺

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

This bug tracker will shortly be moving to github. As part of this
process, we're reviewing old bug reports on gna.org. Please
respond so that we know this bug is still live.

Andrew Chadwick <achadwick>
Project Administrator
Thu 03 Oct 2013 11:11:08 AM UTC, comment #6:

mred added as cc, OS and git revision on master updated.

Andrew Chadwick <achadwick>
Project Administrator
Thu 03 Oct 2013 11:07:59 AM UTC, comment #5:

Retitling and marking confirmed. Also, bug #21119 is a dup of this one.

Andrew Chadwick <achadwick>
Project Administrator
Thu 03 Oct 2013 10:46:41 AM UTC, comment #4:

From my bug email, salamanderrake's second reported backtrace was:

Two methods of selecting brushes, but same widget involved and same error. So same bug.

Andrew Chadwick <achadwick>
Project Administrator
Thu 03 Oct 2013 10:42:57 AM UTC, comment #3:

Sorry, I didn't see the second backtrace. To clarify, the "scons"-time bug is a duplicate of bug #20740. Let's address the other backtrace here.

Unmarked as duplicate, with apologies.

Andrew Chadwick <achadwick>
Project Administrator
Tue 17 Sep 2013 11:31:53 AM UTC, comment #2:

Duplicate of bug #20740. Gentoo user by any chance?

Updates at https://gna.org/bugs/?func=detailitem&item_id=20740 would be very welcome ☺

Andrew Chadwick <achadwick>
Project Administrator
Tue 17 Sep 2013 06:07:09 AM UTC, comment #1:

I just tried mypaint and now its working without issues, I don't know what I did if anything.

Salamander Rake <salamanderrake>
Tue 17 Sep 2013 12:31:12 AM UTC, original submission:

there are several errors involving NoneType, one with install and one while running.

Installed mypaint to /usr/local/ via
sudo scons install and got this error
---------------------------------------
...
Install file: "desktop/mypaint-ora.thumbnailer" as "/usr/local/share/thumbnailers/mypaint-ora.thumbnailer"
Chmod("/usr/local/share/thumbnailers/mypaint-ora.thumbnailer", 0644)
Chmod("/usr/local//share/thumbnailers", 0755)
scons: done building targets.
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method Popen.__del__ of <subprocess.Popen object at 0x26e7090>> ignored

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

Selected a brush in the brush menu and got this error
---------------------------------------
WARNING: gui.gtk2compat: "import pygtkcompat" did not work, trying old deprecated way
/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `MyPaintDrawWindow' can't be set after construction
Gtk.Window.__init__(self, type=type, **kwds)

(mypaint:23551): Gtk-CRITICAL **: gtk_box_reorder_child: assertion `old_link != NULL' failed
WARNING: gui.workspace: Empty tab group in workspace, not added
WARNING: gui.workspace: Empty tab group in workspace, not added
INFO: lib.document: load_ora: u'/home/salamanderrake/.local/share/mypaint/scratchpads/autosave.ora'
ERROR: lib.document: Could not load any layer, document is empty.
INFO: lib.document: 0.004s load_ora total
INFO: gui.filehandling: Loaded scratchpad from u'/home/salamanderrake/.local/share/mypaint/scratchpads/autosave.ora'
INFO: gui.application: Looking for GTK devices with pressure
INFO: gui.application: Setting GDK_MODE_SCREEN mode for 'Wacom Bamboo Connect Pen eraser'
INFO: gui.application: Setting GDK_MODE_SCREEN mode for 'Wacom Bamboo Connect Finger touch'
INFO: gui.application: Setting GDK_MODE_SCREEN mode for 'Wacom Bamboo Connect Pen stylus'
Traceback (most recent call last):
File "/usr/local/share/mypaint/gui/pixbuflist.py", line 300, in button_press_cb
self.on_select(item)
File "/usr/local/share/mypaint/gui/dialogs.py", line 295, in on_select
self.chooser.on_select(brush)
File "/usr/local/share/mypaint/gui/toolbar.py", line 470, in on_quick_change_select
self.app.brushmanager.select_brush(brush)
File "/usr/local/share/mypaint/gui/brushmanager.py", line 678, in select_brush
self.brush_selected(brush, brushinfo)
File "/usr/local/share/mypaint/lib/observable.py", line 175, in _call_
observer(observed, args, *kwargs)
File "/usr/local/share/mypaint/lib/observable.py", line 288, in _call_
self._observer_method(observer, observed, args, *kwargs)
File "/usr/local/share/mypaint/gui/brushmodifier.py", line 280, in brush_selected_cb
b.set_color_hsv(color)
File "/usr/local/share/mypaint/lib/brush.py", line 414, in set_color_hsv
h, s, v = hsv
TypeError: 'NoneType' object is not iterable

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

Salamander Rake <salamanderrake>

 

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 (Add reporter of dup)
  • -unavailable- added by achadwick (Updated the item)
  • -unavailable- added by salamanderrake (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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 26 Jun 2014 12:27:25 PM UTCachadwickStatusConfirmed=>Works For Me
    Thu 03 Oct 2013 11:11:08 AM UTCachadwickCarbon-Copy-=>Added mred
    Thu 03 Oct 2013 11:09:59 AM UTCachadwickReleaseMaster Branch=>master at 373c2208
      Operating System=>Gentoo / LinuxMint KDE
    Thu 03 Oct 2013 11:07:59 AM UTCachadwickStatusNeed Info=>Confirmed
      SummaryNoneType errors=>NoneType errors when selecting brushes with various PixbufLists: "... "brush.py", line 414, in set_color_hsv ..."
    Thu 03 Oct 2013 10:42:57 AM UTCachadwickSeverity2 - Minor=>3 - Normal
      StatusDuplicate=>Need Info
    Tue 17 Sep 2013 11:31:53 AM UTCachadwickStatusNone=>Duplicate
    Tue 17 Sep 2013 11:25:47 AM UTCachadwickSeverity4 - Important=>2 - Minor
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup