Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591180 - media-gfx/mypaint-1.2.0 with dev-libs/glib-2.48.1-r1: TypeError: GLib.filename_to_utf8() takes exactly 2 arguments (4 given)
Summary: media-gfx/mypaint-1.2.0 with dev-libs/glib-2.48.1-r1: TypeError: GLib.filenam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-08-13 12:08 UTC by rnddim
Modified: 2018-07-24 10:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (mypaint-1.2.0-filename_to_unicode.patch,1.06 KB, patch)
2016-08-22 21:02 UTC, lekto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2016-08-13 12:08:13 UTC
See https://github.com/mypaint/mypaint/issues/634 for the issue as it presented upstream. The commit at https://github.com/mypaint/mypaint/commit/c03602f3d5456d59fccfc8ad7d41c8c6f1a6d593 may suffice as a patch for 1.2.0
Comment 1 lekto 2016-08-22 21:02:52 UTC
Created attachment 443884 [details, diff]
patch
Comment 2 Nicolas Sebrecht 2016-10-18 15:58:22 UTC
Same issue, here.
Comment 3 karpi 2017-01-01 12:29:22 UTC

yes.. 1.2.0 is buggy.

alnagon ~ 1 mypaint
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/usr'
INFO: mypaint: There is an old-style configuration area in u'/home/karpi/.mypaint/'
INFO: mypaint: Its contents can be migrated to $XDG_CONFIG_HOME and $XDG_DATA_HOME if you wish.
INFO: mypaint: See the XDG Base Directory Specification for info.
INFO: lib.i18n: POSIX: LANG='cs_CZ.utf8'
INFO: lib.i18n: POSIX: LANGUAGE=None
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 462, in <module>
    main.main(datapath, iconspath, old_confpath, version=version)
  File "/usr/share/mypaint/gui/main.py", line 92, in main
    lib.glib.init_user_dir_caches()
  File "/usr/share/mypaint/lib/glib.py", line 109, in init_user_dir_caches
    logger.debug("Init g_get_user_config_dir(): %r", get_user_config_dir())
  File "/usr/share/mypaint/lib/glib.py", line 71, in get_user_config_dir
    return filename_to_unicode(d_fs)
  File "/usr/share/mypaint/lib/glib.py", line 57, in filename_to_unicode
    ustring = GLib.filename_to_utf8(opsysstring, -1, 0, 0)
TypeError: GLib.filename_to_utf8() takes exactly 2 arguments (4 given)
Comment 4 Wojciech Myrda 2017-01-15 14:19:40 UTC
@ lekto@o2.pl 
This patch added on top of mypaint-1.2.0 made it working again. Without it app crashes upon start. Thanks
Comment 5 Pacho Ramos gentoo-dev 2018-07-24 10:17:32 UTC
should be fixed in 1.2.1