bugMyPaint - Bugs: bug #20422, [possible-1.1.1] Error after...

Show feedback again

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

bug #20422: [possible-1.1.1] Error after saving file as multiple transparent png-

Submitted by:  Violetta <shaggy>
Submitted on:  Fri Jan 11 17:40:41 2013  
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: MyPaint1.0 *and* 1.1.0+gitPlanned Release: None
Operating System: All (inc. Windows XP pro sp3)

Mon Jun 23 21:50:37 2014, comment #4:

[This is a canned response, please forgive the broken formatting: it's one of the many things Gna! unfortunately does not do well.]

This bug tracker will shortly be moving to Github. As part of this process, we are reviewing old bug reports on gna.org.

This bug was marked as Fixed long ago, but was still classified as Open. Github does not distinguish between Fixed+Open and Fixed+Closed in the
way we once did here, so this bug is now being marked Closed, and will not be migrated into the github issues tracker.

If you believe that this bug still affects the most recent git master of MyPaint (and thus the next release), please feel free to open a new
issue on Github about it. Our new issue trackers are:


Andrew Chadwick <achadwick>
Project Administrator
Sat Jan 12 08:36:24 2013, comment #3:

This should be fixed in master in https://gitorious.org/mypaint/mypaint/commit/23fd56c860856f94d5635808222da94fea1f4e74 - many thanks for the report!

Tagged as a good candidate for any 1.1.1 release we might do. Simple change, fixes an old bug.

It's a real wonder nobody else has reported this :/
Worth noting that this code has been pretty stable since the 1.0 days, so you may find you can manually patch up gui\filehandling.py if you're soldiering on with that version due to lack of a Windows build. You may need to unpack a zipfle containing the Python code; I'm not certain how the Windows stuff is distributed.

On the other hand, if just clicking on through the exception dialog is fine, do that as a workaround.

Andrew Chadwick <achadwick>
Project Administrator
Sat Jan 12 07:51:07 2013, comment #2:

Confirmed in Debian wheezy/Testing with git master as of db248de, and for the stable 1.1 release :(

I guess the thumbnails look nice in MyPaint's own save/load dialog, but that's about the only good reason for saving them to the fd.o cache. On most systems, the Freedesktop cache will be used by our GTK save dialogs.

Andrew Chadwick <achadwick>
Project Administrator
Fri Jan 11 19:13:38 2013, comment #1:

Linux version also affected (Ubuntu 12.10 + myPaint 1.1.0~rc3+git20121231.5c8d4e8-1ppa1~quantal1 )

myPaint try to get last modyfed time already saved file for thumb generating. Entered path for picture is "blah/blah/file.png", but really save at "blah/blah/file.001.png" and we got a exception in code.

Question 2:
Is there any reason to save thumb in Win32 platform (at C:\Documents and Settings\User\Local Settings\Application Data\mypaint\thumbnails). Who will use it in the future?

Alex <tamerlan311>
Fri Jan 11 17:40:41 2013, original submission:

After saving a file with two layers as a multiple transparent png-s there appears an error with the following text:
Traceback (most recent call last):
File "E:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 451, save_as_cb(no details)
self.save_as_dialog(self.save_file, suggested_filename = current_filename)
File "E:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 511, save_as_dialog(no details)
save_method_reference(filename, **options)
File "E:\Program Files\MyPaint\library.zip\gui\drawwindow.py", line 46, wrapper(self=<gui.filehandling.FileHandler object>, args=(u'G:\\_My arts\\_InSECT CITY\\Characters\\zhuk wip\\zhuk-2.png',), *kwargs={'multifile': True})
func(self, args, *kwargs)
# gtk main loop may be called in here...
File "E:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 292, save_file(no details)
thumbnail_pixbuf = self.doc.model.render_thumbnail()
helpers.freedesktop_thumbnail(self.filename, thumbnail_pixbuf)
File "E:\Program Files\MyPaint\library.zip\lib\helpers.py", line 152, freedesktop_thumbnail(no details)
file_mtime = str(int(os.stat(filename).st_mtime))
WindowsError: [Error 2] : u'G:\\_My arts\\_InSECT CITY\\Characters\\zhuk wip\\zhuk-2.png'

Violetta <shaggy>


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 (Posted a comment)
  • -unavailable- added by tamerlan311 (Posted a comment)
  • -unavailable- added by shaggy (Submitted the item)
  • -unavailable- added by shaggy

    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.


    Error: not logged in



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jun 23 21:50:37 2014achadwickOpen/ClosedOpen=>Closed
    Sat Jan 12 08:36:24 2013achadwickStatusConfirmed=>Fixed
      SummaryError after saving file as multiple transparent png-s=>[possible-1.1.1] Error after saving file as multiple transparent png-
    Sat Jan 12 07:51:07 2013achadwickStatusNone=>Confirmed
      ReleaseMyPaint1.0=>MyPaint1.0 and 1.1.0+git
      Operating SystemWindows XP pro sp3=>All (inc. Windows XP pro sp3)
    Fri Jan 11 17:40:41 2013shaggyCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup