Page 1 of 2

0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Mon Mar 16, 2020 6:06 am
by winterNebs
Subject: 0.95 : Lepton files with unicode names cannot be opened

XnView: MP 0.95- 64 bit
OS: Windows 10 64bit

.lep files with unicode names (like "あり.lep") cannot be opened.

Effect: Those files cannot be used.

To reproduce:
1. Convert a jpg to .lep using the lepton exe from https://github.com/dropbox/lepton/releases (I believe this is the same one used to convert back by XnView)

2. Rename the resulting .lep to "あり.lep"
3. The .lep cannot be viewed anymore

Actual behaviour (bug): Cannot view the .lep. (I believe this is a problem with the compiler used to build the https://github.com/dropbox/lepton/releases, since it cannot read any files with unicode in the path.

Not sure if this is an issue on linux, if not then maybe we can recompile the windows executable?)

Expected behaviour: Should be able to view the .lep in XnViewMP

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Sat Mar 21, 2020 2:35 pm
by xnview
See issue for current status and some details.

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Mon Mar 23, 2020 7:18 am
by winterNebs
Awesome that was fast

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Mon Apr 20, 2020 1:26 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.96.1. Please check and confirm the bug fix here.

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Thu Apr 23, 2020 11:56 am
by winterNebs
It works! :D

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Thu Apr 23, 2020 12:00 pm
by winterNebs
Oops my bad I actually was viewing a .jpg, the bug still persists for me.I noticed the lepton.exe was not updated in the plugins folder. Maybe that is why? (using the installer)

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Thu Apr 23, 2020 3:00 pm
by xnview
winterNebs wrote: Thu Apr 23, 2020 12:00 pm Oops my bad I actually was viewing a .jpg, the bug still persists for me.I noticed the lepton.exe was not updated in the plugins folder. Maybe that is why? (using the installer)
No preview in browser? I have no problem

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Sat Apr 25, 2020 4:39 pm
by winterNebs
xnview wrote: Thu Apr 23, 2020 3:00 pm
winterNebs wrote: Thu Apr 23, 2020 12:00 pm Oops my bad I actually was viewing a .jpg, the bug still persists for me.I noticed the lepton.exe was not updated in the plugins folder. Maybe that is why? (using the installer)
No preview in browser? I have no problem
https://i.imgur.com/lnJ7GWy.png

Yes seems to still be an issue for me

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Tue Apr 28, 2020 6:10 am
by xnview
winterNebs wrote: Sat Apr 25, 2020 4:39 pm Yes seems to still be an issue for me
you rename it and no more problem?

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Thu Apr 30, 2020 8:09 pm
by winterNebs
xnview wrote: Tue Apr 28, 2020 6:10 am
winterNebs wrote: Sat Apr 25, 2020 4:39 pm Yes seems to still be an issue for me
you rename it and no more problem?

Renaming a file will work, but having to rename thousands of images, especially with not an easy way to romanize the names will take a lot of work.

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Fri May 01, 2020 8:39 am
by xnview
i don't understand, with lastest version
Capture-2.jpg

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Fri May 01, 2020 10:55 pm
by winterNebs
I reinstalled and the issue persists still,

I am on windows 10, and created this image with the latest release from https://github.com/dropbox/lepton/releases

Not sure what's different here

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Sun May 03, 2020 7:30 am
by xnview
winterNebs wrote: Fri May 01, 2020 10:55 pm I reinstalled and the issue persists still,

I am on windows 10, and created this image with the latest release from https://github.com/dropbox/lepton/releases

Not sure what's different here
could you send me it?

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Sun May 03, 2020 7:06 pm
by winterNebs

Re: 0.95 Windows 10: Lepton files with unicode names cannot be opened

Posted: Sun May 10, 2020 12:27 pm
by xnview
I've tried with this exe, but no problem with output file