ozw-admin icon indicating copy to clipboard operation
ozw-admin copied to clipboard

File->Preferences crashes Windows app

Open jorgror opened this issue 4 years ago • 5 comments

OS: Windows 10 Education (10.0.19041 Build 19041) Language: Norwegian Ozw-admin version: V0.1.74 (2020-07-03)

Similar to #51 I experience crash with File-Preference. This is on Windows though. I have not been able to test if the app actualy works at all as I'm not able to connect to my remote OZWDaemon due to Network Cache size.

jorgror avatar Jul 17 '20 14:07 jorgror

I did look into whats going on in Procmon. The issue seems to be that the app tries to access a wrong directoy due to a local character in my username (Jørgen). I checked with another user with only ANSI characters in username and that worked as intended. bilde

jorgror avatar Jul 17 '20 14:07 jorgror

Thanks - I need to see how I can duplicate (I'm not a Windows user unfortuantly so all these are corner cases for me)

Fishwaldo avatar Jul 24 '20 08:07 Fishwaldo

I'm trying to figure out how to enable some debug output on Windows..... Could you see if there is anything in the event viewer when you run it and it crashes?

There are two possible places where it could be accessing that path, and I can't figure out which one would be causing the crash.

Fishwaldo avatar Jul 24 '20 16:07 Fishwaldo

If nothing is in Event Viewer - Can you try installing this and seeing if it captures some logs?

https://docs.microsoft.com/en-us/sysinternals/downloads/debugview

Fishwaldo avatar Jul 24 '20 16:07 Fishwaldo

I did not find anything in Event Viewer, but I'm not familiar with using it either so I might be doing something wrong. DebugView picked up some messages on startup but nothing on crash when I use File-Preferences. [13148] ozwadmin: Checking "C:/Users/Jørgen/AppData/Roaming/OpenZWave/ozw-admin/" for manufacturer_specific.xml [13148] ozwadmin: Checking "C:/Users/Jørgen/AppData/Roaming/OpenZWave/ozw-admin/" for options.xml [13148] ozwadmin: DBPath: "C:/Users/Jørgen/AppData/Roaming/OpenZWave/ozw-admin/" [13148] ozwadmin: userPath: "C:/Users/Jørgen/AppData/Roaming/OpenZWave/ozw-admin/" [13148] ozwadmin: Settings Path: "\HKEY_CURRENT_USER\Software\OpenZWave\ozw-admin" [13148] ozwadmin: Using Saved Network Cache Size: 1000 [13148] QT_MESSAGE_PATTERN: %{backtrace} is not supported by this Qt build [13148] [20200725 18:31:05.659 Vest-Europa (sommertid)] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x3caf778) QTOZWManager(0x114cbc0)

jorgror avatar Jul 25 '20 18:07 jorgror