New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QL 3.5 not starting on openSUSE 13.2 / openSUSE Leap 42.1 #1699

Closed
ghost opened this Issue Oct 9, 2015 · 8 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Oct 9, 2015

Since QL now requires python-mutagen >= 1.27, I updated that manually as a higher version isn't available in the default repositories of 13.2 / 42.1. However, QL/EF don't start. Terminal output for quodlibet:

Traceback (most recent call last):
File "/usr/bin/quodlibet", line 225, in
main(util.argv)
File "/usr/bin/quodlibet", line 105, in main
Kind.init(library)
File "/usr/lib/python2.7/site-packages/quodlibet/browsers/playlists/main.py", line 65, in init
library=library)
File "/usr/lib/python2.7/site-packages/quodlibet/util/collection.py", line 440, in init
with open(self.filename, "rb") as h:
File "/usr/lib/python2.7/site-packages/quodlibet/util/collection.py", line 458, in filename
basename = self.quote(self.name)
File "/usr/lib/python2.7/site-packages/quodlibet/util/path.py", line 239, in escape_filename
return fsnative(urllib.quote(s, safe="").decode("utf-8"))
File "/usr/lib/python2.7/site-packages/quodlibet/util/path.py", line 128, in fsnative
return path.encode(_FSCODING, 'replace')
TypeError: encode() argument 1 must be string, not None

And for exfalso:

Traceback (most recent call last):
File "/usr/bin/exfalso", line 74, in
main(util.argv)
File "/usr/bin/exfalso", line 32, in main
argv.append(os.path.abspath(fsnative(u".")))
File "/usr/lib/python2.7/site-packages/quodlibet/util/path.py", line 128, in fsnative
return path.encode(_FSCODING, 'replace')
TypeError: encode() argument 1 must be string, not None

@lazka lazka added the bug label Oct 9, 2015

@lazka

This comment has been minimized.

Member

lazka commented Oct 9, 2015

Is G_FILENAME_ENCODING or G_BROKEN_FILENAMES set in your environ?

@lazka

This comment has been minimized.

Member

lazka commented Oct 9, 2015

Unrelated: If you know how to best file a bug report about outdated packages in openSUSE please file one for mutagen.

@ghost

This comment has been minimized.

ghost commented Oct 9, 2015

How do I check? And sure, will do.

@lazka

This comment has been minimized.

Member

lazka commented Oct 9, 2015

How do I check? And sure, will do.

Check the the output of printenv G_FILENAME_ENCODING G_BROKEN_FILENAMES

@ghost

This comment has been minimized.

ghost commented Oct 9, 2015

@Locale,UTF-8,ISO-8859-1,CP1252
1

@lazka lazka closed this in 0098663 Oct 9, 2015

lazka added a commit that referenced this issue Oct 9, 2015

Fix crash when G_FILENAME_ENCODING is set (missing return..). Fixes #…
…1699

Also verify the that we can use the encoding in G_FILENAME_ENCODING
while at it.
@lazka

This comment has been minimized.

Member

lazka commented Oct 9, 2015

Oops. Thanks. Will be fixed in 3.5.1 (next week).

For now:

unset G_FILENAME_ENCODING
quodlibet
@ghost

This comment has been minimized.

ghost commented Oct 9, 2015

Thanks!

@lazka

This comment has been minimized.

Member

lazka commented Oct 14, 2015

the new version in the repo should work now

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