bugMyPaint - Bugs: bug #20281, Fails to build for non-English...

Show feedback again

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

bug #20281: Fails to build for non-English locales if gettext() has translations for brushsettings.json strings

Submitted by:  Andrew Chadwick <achadwick>
Submitted on:  Fri Nov 2 15:33:28 2012  
Severity: 4 - ImportantPriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: git master f7b9ba53edPlanned Release: None
Operating System: Ubuntu 12.04 x64

Fri Jan 4 20:59:15 2013, comment #5:

This bug has been closed because it is marked ready-for-test and
no further comments have been added in a long while. Since we
have not heard otherwise, we assume that the fixes works as intended.

If there are problems with the implemented functionality, please
file a new issue.

Jon Nordby <jonnor>
Project Administrator
Fri Jan 4 20:59:03 2013, comment #4:

Remaining issue in comment #3 was fixed in the run-up to the 1.1 release I believe.

Jon Nordby <jonnor>
Project Administrator
Fri Nov 16 11:09:40 2012, comment #3:

Did a quick test, building and installing an Arch Linux package of mypaint (mypaint-git in AUR): brushlib translations look to work when installed.
That they don't work when running not-installed is probably because we don't bind and specify locale dir for the "libmypaint" text domain in mypaint.py like we do with the "mypaint" domain.
This should be fixed.

Jon Nordby <jonnor>
Project Administrator
Fri Nov 16 09:46:14 2012, comment #2:

I pushed an ugly workaround to git. It should at least build again now. I didn't reproduce, so please test&confirm.

Also, I'm not sure if brushlib translations work at all. At least, when running without installing ("./mypaint -c conf") they don't seem work.

Martin Renold <martinxyz>
Project Administrator
Fri Nov 2 16:00:59 2012, comment #1:

Can confirm on my system (Ubuntu 12.04, x64)

Andre <bluemonkey9>
Fri Nov 2 15:33:28 2012, original submission:

From IRC, MyPaint appears to fail to build if gettext can find translations - assuming my speculation is correct that brushlib/generate.py is trying to cram translated non-ascii strings into C code when it shouldn't.

Symptoms observed: with a PPA build of MyPaint installed, which installs its translations with a /usr prefix thus putting them where gettext can see them, the build fails with

on a system running Ubuntu 12.04 where locale(1) reports:

I've not been able to reproduce this in full yet from an en_GB.UTF-8 11.10 workstation, but I may well not be doing the right thing with generated locales, language packs and environment variables to be able to test thoroughly (curse of the monoglot English speaker). Setting as Need Info for now.

Andrew Chadwick <achadwick>
Project Administrator


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 jonnor (Posted a comment)
  • -unavailable- added by martinxyz (Posted a comment)
  • -unavailable- added by martinxyz
  • -unavailable- added by bluemonkey9 (Posted a comment)
  • -unavailable- added by achadwick (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jan 4 20:59:15 2013jonnorOpen/ClosedOpen=>Closed
    Fri Nov 16 09:46:14 2012martinxyzStatusNeed Info=>Ready For Test
    Fri Nov 16 08:21:30 2012martinxyzCarbon-Copy-=>Added jonnor
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup