-
Notifications
You must be signed in to change notification settings - Fork 12
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
error after upgrade from v0.2.1 to v0.2.3 in kodi #27
Comments
@mediaminister This one is up your alley 😉 |
Most likely the arguments in for i, arg in enumerate(argv):
argv[i] = to_unicode(arg) |
@mediaminister I guess that the calling add-on is not using unicode_literals while this add-on now does.
|
The problem with the routing add-on is that |
But if you import unicode_literals from future, any string in Python2 is considered unicode. I would be surprised if [dag@moria ~]$ python2 -c 'import sys; print type(sys.argv[1])' föobàr
<type 'str'>
[dag@moria ~]$ python2 -c 'from __future__ import unicode_literals; import sys; print type(sys.argv[1])' föobàr
<type 'str'> I will make a PR for this. |
@Manyone1 Can you try the following fix by installing this ZIP file: https://github.com/dagwieers/kodi-plugin-routing/archive/argv-unicode.zip It should provide you with a working v0.2.3 release and should be a good workaround until an update is released. Please report back! |
doesnt work, back on 0.2.1 |
@Manyone1 Can you share a log when using this version? It may fail for another reason... |
I can confirm with my tests that we did fix the unicode_literals problem with sys.argv that could lead to the errors you see. |
log.txt |
the problem occurs when i use the addon missingmovies to find new movies on disk.
it is only on folders with german characters like äÄöÖüÜß
with v.0.2.1 ther are no problems but with v0.2.3 there comes up an error.
I tried the 0.2.2 to, by manual installation, so i dont know if it is a reference, but the same error as in 0.2.3 comes up.
error_missingmovies.txt
The text was updated successfully, but these errors were encountered: