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 09 Oct 2013 02:38:26 AM UTC  
 
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 10 Oct 2013 11:48:22 PM UTC, 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 09 Oct 2013 03:44:28 AM UTC, 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 09 Oct 2013 02:38:26 AM UTC, original submission:

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

Symptoms

Workaround

Fix

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Oct 2013 11:48:22 PM UTCachadwickStatusNone=>Duplicate
      Assigned toNone=>achadwick
      Open/ClosedOpen=>Closed
    Wed 09 Oct 2013 02:38:26 AM UTChelbAttached File-=>Added palettes-dir-creation.patch, #19145
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup