Case sensitive names

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Case sensitive names

Post by eslavko »

Hello...
I need to run PLC programming software in linux machine so I tryed with wine. The program is free and can be found at. https://www.schneider-electric.com/en/d ... oft2_V5_0/

I saw that ZelioSoft can run on wine (at least some reported to works) but I can't manage to run it.
Install process is without error, but when I run the program i get notice that some image is not found. In popup window I can see image name (without path) so I search for that and find it with different case.
To solve the problem I tryed
1. Rename file to filename in popup. (doesn't work as path seems to be different too)
2. I try to use ciopfs but get same error
3. I try to mount external USB drive (fat32) as drive in wine holding complete install (got same error)

Don't have idea whats going wrong.
The machine itself run ubuntu on ext4 file system.
Any suggestion?

p.s.
WirtualBox with windows works. But I don't have any windows licence so this is no option as solution need to be legal.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

Most likely a wine issue. Please report a bug and link it here, I'll fill in what I found out. Wine searches the images in the wrong directory, AFAIK. Shouldn't be too hard to fix though..
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

Well I find some strange issue here.
I do check installed path on real windows and under wine. There are no differences.
So installation process seems to be fine.
Application run under true windows without problem.
But when start under wine the message shows up that SR2AB10-12.BMP is not found. (this is 1'st message but more follows).
so I manualy search all folders to find SR2AB10-12.BMP. I found it but message was named SR2AB10-12.bmp. So I think that filename case are problem and renamed file to uppercase BMP. But still with no effect. So I try to find what wine really seeks so I enter

Code: Select all

strace wine Zelio2.exe &> foo
and after error message popup I close the app and investigate the foo file.
And I found the line

Code: Select all

stat64("/home/slavko/.wine/dosdevices/c:/ZELIO/Z2User/Z2Ctlg/SR2AB10-12.BMP", {st_mode=S_IFREG|0664, st_size=43254, ...}) = 0
so program seems to find image on c:/ZELIO/Z2User/Z2Ctlg/
but that path doesn't exists, inded the images are in c:/ZELIO/Z2Ctlg/!
So I try to duplicate all files in c:/ZELIO/Z2Ctlg/ to c:/ZELIO/Z2User/Z2Ctlg/ and as the result program run! Indeed doesn't matter if images are bmp or BMP. but why program search in wrong path is misterry for me.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

Not a mystery to me - As I said, a wine error. Did you already open a bugreport? I'll explain it there.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

Reported the bug on the bugtracker: https://bugs.winehq.org/show_bug.cgi?id=46186
I'll submit a fix soon.
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

Thanks for posting bug.
But have no clue how to use solution... Seems that I need to recompile wine?
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

eslavko wrote:Thanks for posting bug.
But have no clue how to use solution... Seems that I need to recompile wine?
Either that, or wait until it's accepted and released.
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

Will wait to be accepted as I have working solution now (to copy images to working dir.)
Thanks.

There may be some other issues as program itself pretty often crashes. (there frequent saving help a lot) Don't know why crashe.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

Do we have a bugreport for these crashes?
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

How the obtain it.
I can post but don't know what/how.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

Check the wine FAQ, it tells you how to obtain a console log. And then you can post this info together with instructions how to reproduce in the bugtracker.
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

When I do program today I get few crashes. All of them I get when I move component on screen. Maybe half an hour without crash but after that I got crash every few minutes and then again long time without. The time seems to be random. I do the job on my old computer with ubuntu 14.04 and wine 1.6.2.
In console I see some other warnings attached here
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

When I do program today I get few crashes. All of them I get when I move component on screen. Maybe half an hour without crash but after that I got crash every few minutes and then again long time without. The time seems to be random. I do the job on my old computer with ubuntu 14.04 and wine 1.6.2.
In console I see some other warnings attached here

Code: Select all

slavko@podstresnik:~/.wine/drive_c/Program Files (x86)/Schneider Electric/Zelio Soft 2$ wine Zelio2.exefixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
err:menubuilder:convert_to_native_icon error 0x80070005 creating output file L"\\\\?\\unix\\home\\slavko\\.local\\share\\icons\\hicolor\\24x24\\apps\\798F_Tcw17.0.png"
err:menubuilder:convert_to_native_icon error 0x80070005 creating output file L"\\\\?\\unix\\home\\slavko\\.local\\share\\icons\\hicolor\\24x24\\apps\\798F_Tcw17.0.png"
fixme:wbemprox:client_security_SetBlanket 0x7d2962e4, 0x153a50, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d2962e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d2962e4, 0x153a78, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d2962e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d2962e4, 0x14df20, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d2962e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d2962e4, 0x154310, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d2962e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d2962e4, 0x154310, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d2962e4
fixme:thread:GetThreadPreferredUILanguages 52, 0xf9fac4, 0xf9fb34 0xf9facc
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:GetThreadPreferredUILanguages 52, 0xf9e2c4, 0xf9e334 0xf9e2cc
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d5ea2e4, 0x17da80, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ea2e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d5ea2e4, 0x17db50, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ea2e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d5ea2e4, 0x17db50, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ea2e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0x7d5ea2e4, 0x17db38, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ea2e4
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 4100c (device=4 access=0 func=403 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 41018 (device=4 access=0 func=406 method=0)
fixme:wbemprox:client_security_SetBlanket 0x7d5ea2e4, 0x17f880, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0x7d5ea2e4
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c10 (device=2d access=0 func=304 method=0)
fixme:thread:GetThreadPreferredUILanguages 52, 0xf9ec1c, 0xf9ec8c 0xf9ec24
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:shell:IPersistFile_fnSaveCompleted (0xa0502e0)->(L"C:\\users\\slavko\\Recent\\susilnica5.zm2 (57).lnk"): stub
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
fixme:toolbar:TOOLBAR_Notify TTN_GETDISPINFOA - should not be received; please report
slavko@podstresnik:~/.wine/drive_c/Program Files (x86)/Schneider Electric/Zelio Soft 2$ 

will try on laptop too where newer system is installed.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

I don't see a crash in this log.
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

No there are no crash. I try to move components hard but didn't crashes. Will capture log after few day when I will have more job to do. Seems to be more crashes when work is done and not testing... As I say may take long time between crashes.

I just do quick test on laptop. Install works, after run again wrong path for images (and work after I copy them) but seems to be other issue on laptop. When I start PLC simulation the some part on display flicker a lot. Not entire screen. Just some areas. There are text updating but seems that not only text but bigger area are updated and make ugly flicker. Possible is better to open new thread for this.
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Case sensitive names

Post by DarkShadow44 »

The fix for the bug is upstreamed, and will be included in the next release.
eslavko
Level 1
Level 1
Posts: 9
Joined: Fri Nov 23, 2018 8:21 am

Re: Case sensitive names

Post by eslavko »

Thank you.

didn't have time to do work with crash issue. but will open new thread when got error log on crash.
Locked