Bug 436122

Summary: Crash on startup after install
Product: [Applications] kajongg Reporter: Robert Lee <kde>
Component: generalAssignee: Wolfgang Rohdewald <wolfgang>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kde-games-bugs, kde, wolfgang
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Photograph of error dialog

Description Robert Lee 2021-04-24 12:43:57 UTC
Created attachment 137867 [details]
Photograph of error dialog

SUMMARY

On launching the program, the following error occurs:

 PermissionError [Errno 13] Permission Denied 'C:\\Windows\\system32\\kajongg.log' 


STEPS TO REPRODUCE
1. Install Kajongg 17.04 using the .msi installer from https://www.opendesktop.org/s/Games/p/1109453/
2. Launch Kajongg from start menu (left click)


OBSERVED RESULT

Program crashes with an error dialog, indicating that the logging system can't write to kajongg.log in the Windows directory


EXPECTED RESULT

Program should start up


SOFTWARE/OS VERSIONS
Windows: Windows 10 Pro, Windows 10 Home


ADDITIONAL INFORMATION

Changing the "start in" directory to C:\temp avoids the problem (although user had to manually create the directory on Windows 10 Pro).

I assume the logging system is somehow writing to the CWD instead of the application data directory.
Comment 1 Wolfgang Rohdewald 2025-02-10 20:08:53 UTC
Closing since installation on Windows is not supported anymore