Skip to content
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

File->Preferences crashes Windows app #52

Open
jorgror opened this issue Jul 17, 2020 · 5 comments
Open

File->Preferences crashes Windows app #52

jorgror opened this issue Jul 17, 2020 · 5 comments
Assignees
Labels

Comments

@jorgror
Copy link

jorgror commented Jul 17, 2020

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
Copy link
Author

jorgror commented Jul 17, 2020

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

@Fishwaldo Fishwaldo added the bug label Jul 24, 2020
@Fishwaldo Fishwaldo self-assigned this Jul 24, 2020
@Fishwaldo
Copy link
Member

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
Copy link
Member

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
Copy link
Member

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

@jorgror
Copy link
Author

jorgror commented Jul 25, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants