Installer puts $installdir/share stuff in wrong place #5

quite opened this Issue Dec 28, 2011 · 4 comments


None yet
2 participants

quite commented Dec 28, 2011

After clean install of sonata from source, using:

python2 ./ install --prefix=/usr/local

Files and dirs which should go in /usr/local/share/ end up in


multani closed this in 0df7981 Jan 1, 2012

multani reopened this Jan 1, 2012


multani commented Jan 1, 2012

Can you try the fix-issue-5 branch and tell me what do you think?

Most of the data are now out of the egg directory (locale, man, doc), except the pixmaps, which are considered "part of the application". Translations should be working again by the way (I guess it was broken since everything was into the egg directory).


quite commented Jan 1, 2012

stat64("/usr/local/share/pixmaps/sonata.png", 0xbf87526c) = -1 ENOENT (No such file or directory)
stat64("/usr/share/pixmaps/sonata.png", 0xbf87526c) = -1 ENOENT (No such file or directory)
write(2, "[2012-01-01 16:58:11] sonata.mai"..., 77[2012-01-01 16:58:11] sonata.main: 'sonata.png' cannot be found. Aborting...

Because it is here:


multani commented Jan 2, 2012

Hum, the file is actually at the right place, and I changed the code so it doesn't look anymore at all those places...

Can you have a look at sonata/ path_to_icon() method (line 3451) and tell me the call result of pkg_resources.resource_filename()?

Edit: and also __name__ and __name__.__file__, thanks!


quite commented Jan 2, 2012

Hm, yes it works now. Possibly my bad...

quite closed this Jan 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment