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

bug(developer): Crash during saving server options EFCreateError: Exception EFCreateError in module tike.exe at 00079750. #12607

Closed
sentry-io bot opened this issue Nov 4, 2024 · 1 comment · Fixed by #12608 or #12609
Assignees
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Nov 4, 2024

Sentry Issue: KEYMAN-DEVELOPER-1Z1

EFCreateError: Exception EFCreateError in module tike.exe at 00079750.
Cannot create file "C:\Users\gjask\AppData\Roaming\Keyman\Keyman Developer\server\config.json". The system cannot find the path specified.

Thread 0
0   tike.exe                        0x479750            System.Classes.TFileStream.Create (System.Classes.pas:9195)
1   tike.exe                        0x47966c            System.Classes.TFileStream.Create (System.Classes.pas:9178)
2   tike.exe                        0x479999            System.Classes.TCustomMemoryStream.SaveToFile (System.Classes.pas:9458)
3   tike.exe                        0x6ef599            JsonUtil.SaveJSONToFile (JsonUtil.pas:181)
4   tike.exe                        0x72f6ea            KeymanDeveloperOptions.TKeymanDeveloperOptions.WriteServerConfigurationJson (KeymanDeveloperOptions.pas:520)
5   tike.exe                        0x72ede8            KeymanDeveloperOptions.TKeymanDeveloperOptions.Write (KeymanDeveloperOptions.pas:507)
6   tike.exe                        0xdce6c3            Keyman.Developer.UI.UfrmLdmlKeyboardEditor.TfrmLdmlKeyboardEditor.PrepareForBuild (Keyman.Developer.UI.UfrmLdmlKeyboardEditor.pas:174)
7   tike.exe                        0xdd9a9c            dmActionsKeyboardEditor.TmodActionsKeyboardEditor.actKeyboardCompileExecute (dmActionsKeyboardEditor.pas:205)
8   tike.exe                        0x48b071            System.Classes.TBasicAction.Execute (System.Classes.pas:17425)
9   tike.exe                        0x575892            Vcl.Controls.TControl.Perform (Vcl.Controls.pas:7198)
10  tike.exe                        0x579f68            Vcl.Controls.TWinControl.IsControlMouseMsg (Vcl.Controls.pas:10047)
11  tike.exe                        0x5d7b60            Vcl.ComCtrls.TToolBar.WndProc (Vcl.ComCtrls.pas:24530)
12  tike.exe                        0x579cda            Vcl.Controls.TWinControl.MainWndProc (Vcl.Controls.pas:9977)
13  tike.exe                        0x48bdc5            System.Classes.StdWndProc (System.Classes.pas:17929)
14  USER32.dll                      0x76352e52          _InternalCallWinProc
15  USER32.dll                      0x76343c25          UserCallWinProcCheckWow
16  USER32.dll                      0x763424e4          DispatchMessageWorker
17  USER32.dll                      0x7634202f          DispatchMessageW
18  tike.exe                        0x684f4b            Vcl.Forms.TApplication.ProcessMessage (Vcl.Forms.pas:10747)
19  tike.exe                        0x684f8e            Vcl.Forms.TApplication.HandleMessage (Vcl.Forms.pas:10777)
20  tike.exe                        0x6852c1            Vcl.Forms.TApplication.Run (Vcl.Forms.pas:10915)
@mcdurdin
Copy link
Member

mcdurdin commented Nov 4, 2024

Per @srl295:

There IS an "%APPDATA%/Keyman/Keyman Developer" directory.

but there is NOT an "%APPDATA%/Keyman/Keyman Developer/server" directory.

@mcdurdin mcdurdin added this to the A18S14 milestone Nov 4, 2024
mcdurdin added a commit that referenced this issue Nov 4, 2024
Also use back-off logic for saving in case config file is locked by
another process.

Fixes: #12607
mcdurdin added a commit that referenced this issue Nov 4, 2024
Also use back-off logic for saving in case config file is locked by
another process.

Cherry-pick-of: #12608
Fixes: #12607
Fixes: KEYMAN-DEVELOPER-1Z1
@mcdurdin mcdurdin changed the title bug(developer): Crash during startup of server EFCreateError: Exception EFCreateError in module tike.exe at 00079750. bug(developer): Crash during saving server options EFCreateError: Exception EFCreateError in module tike.exe at 00079750. Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment