Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki new! Get Gentoo!
Bug 352700 - media-gfx/mypaint-0.9.0 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128): ...
media-gfx/mypaint-0.9.0 - UnicodeDecodeError: 'ascii' codec can't decode byte...
Status: RESOLVED FIXED
Product: Gentoo Linux
Classification: Unclassified
Component: Applications
unspecified
AMD64 Linux
: High normal (vote)
: ---
Assigned To: Markos Chandras
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-01-25 15:59 UTC by Artem Semendyaev
Modified: 2011-03-10 10:45 UTC (History)
3 users (show)

See Also:


Attachments
emerge --info =media-gfx/mypaint-0.9.0 (5.98 KB, text/plain)
2011-01-25 16:01 UTC, Artem Semendyaev
Details
build.log (1.99 KB, text/plain)
2011-01-25 16:03 UTC, Artem Semendyaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Semendyaev 2011-01-25 15:59:19 UTC
>>> Compiling source in /var/tmp/portage/media-gfx/mypaint-0.9.0/work/mypaint-0.9.0 ...
scons -j5
scons: Reading SConscript files ...
Building for python2.6
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 27: ordinal not in range(128):
  File "/var/tmp/portage/media-gfx/mypaint-0.9.0/work/mypaint-0.9.0/SConstruct", line 53:
    env.ParseConfig(python + '-config --cflags')
  File "/usr/lib/scons-2.0.1/SCons/Environment.py", line 1460:
    return function(self, self.backtick(command))
  File "/usr/lib/scons-2.0.1/SCons/Environment.py", line 591:
    sys.stderr.write(unicode(err))


Reproducible: Always

Steps to Reproduce:
Comment 1 Artem Semendyaev 2011-01-25 16:01:45 UTC
Created attachment 260675 [details]
emerge --info =media-gfx/mypaint-0.9.0
Comment 2 Artem Semendyaev 2011-01-25 16:03:36 UTC
Created attachment 260677 [details]
build.log
Comment 3 Markos Chandras gentoo-dev 2011-01-26 21:23:37 UTC
can you try LANG="en_US.UTF-8" emerge mypaint ?
Comment 4 Artem Semendyaev 2011-01-26 21:38:02 UTC
(In reply to comment #3)
> can you try LANG="en_US.UTF-8" emerge mypaint ?
> 

yes, it works. Thanks =]
Comment 5 Markos Chandras gentoo-dev 2011-01-26 21:49:57 UTC
@python

Any idea on how to fix it in a pretty way? Thanks
Comment 6 Sergey 2011-02-20 16:28:49 UTC
Got the same bug. Solution works.
Comment 7 Markos Chandras gentoo-dev 2011-03-09 21:28:33 UTC
I just tried to reproduce it with RU locale and I still can't reproduce it.

So I am closing this as WORKSFORME

Could you please add export LANG="en_US.UTF-8" on src_compile and try to emerge mypaint again? If this works for you then I will add this little hack on the ebuild
Comment 8 Artem Semendyaev 2011-03-10 08:59:53 UTC
It seems like scons bug. It tries to execute 'python2.6-config' while in Gentoo python-config is named 'python-config-2.6'. So shell returns error in russian language and scons fails to output it on std.err.
export LANG="en_US.UTF-8" on src_compile works fine