bugMyPaint - Bugs: bug #21183, MyPaint won't start when there is...

Show feedback again

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

bug #21183: MyPaint won't start when there is no config directory created

Submitted by:  Jiří Helebrant <helb>
Submitted on:  Wed Oct 9 02:38:26 2013  
Severity: 3 - NormalPriority: 5 - Normal
Status: DuplicatePrivacy: Public
Assigned to: Andrew Chadwick <achadwick>Open/Closed: Closed
Release: 6bf88b8Planned Release: None
Operating System: gentoo linux

Thu Oct 10 23:48:22 2013, comment #2:

Okay - looks like a dup of bug #21184.

Thanks for the good report and the first workaround/fix anyway. The confusion is understandable: this one took a little figuring out but it's essentially as comment #1 says. I've made MyPaint more fussy about passing the user_datapath around within the subdialogs: see the comment in https://gitorious.org/mypaint/mypaint/commit/44df033f09f14eb2a9de6580740b4749fcc6a3b3

Andrew Chadwick <achadwick>
Project AdministratorIn charge of this item.
Wed Oct 9 03:44:28 2013, comment #1:

Sorry about the confusion, the real problem seems to be that ColorManager's _init_ is called without datapath somewhere.
It defaults to ".", so it looks for palettes/MyPaint_Default.gpl in the current working directory –– so obviously it works if I cd into /usr/share/mypaint before running program for the first time. But I don't know how (where) to fix it "properly".

Jiří Helebrant <helb>
Wed Oct 9 02:38:26 2013, original submission:

MyPaint won't start when there is no config directory created. Creating ~/.local/share/mypaint/palettes directory manually helps…




Add palettes to a list at gui/application.py:125. Patch attached.

Jiří Helebrant <helb>


Attached Files
file #19145:  palettes-dir-creation.patch added by helb (581B - text/x-patch)


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 helb (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.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Oct 10 23:48:22 2013achadwickStatusNone=>Duplicate
      Assigned toNone=>achadwick
    Wed Oct 9 02:38:26 2013helbAttached File-=>Added palettes-dir-creation.patch, #19145
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup