Bug 436122 - Crash on startup after install
Summary: Crash on startup after install
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kajongg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Wolfgang Rohdewald
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 12:43 UTC by Robert Lee
Modified: 2025-02-10 20:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Photograph of error dialog (2.16 MB, image/png)
2021-04-24 12:43 UTC, Robert Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
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