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

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

See issue for current status and some details.
Pierre.
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post by winterNebs »

Awesome that was fast
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.96.1. Please check and confirm the bug fix here.
Pierre.
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post by winterNebs »

It works! :D
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post 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)
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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
Pierre.
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

i don't understand, with lastest version
Capture-2.jpg
Pierre.
winterNebs
Posts: 24
Joined: Mon Mar 16, 2020 5:58 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

I've tried with this exe, but no problem with output file
Pierre.
Post Reply