keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
378 stars 106 forks source link

bug(developer): Keyman Developer crashes on start when a referenced file in a project is missing #10181

Closed MayuraVerma closed 6 months ago

MayuraVerma commented 6 months ago

Describe the bug

Both alpha v225 and v226 are crashing

Details for error report for Keyman app: Application Identifier: tike-17.0.225-alpha Error Identifier: B8606CA15028422AC58013C475D78931

Reproduce the bug

No response

Expected behavior

No response

Related issues

No response

Keyman apps

Keyman version

No response

Operating system

Windows 11 22635.2841

Device

No response

Target application

No response

Browser

No response

Keyboard name

No response

Keyboard version

No response

Language name

No response

Additional context

No response

MayuraVerma commented 6 months ago

Tried V17.0.219

Details for error report for Keyman app: Application Identifier: tike-17.0.219-alpha Error Identifier: 9866BCAD870E40EB3C5F2A4E83AFF964

Similar error

MayuraVerma commented 6 months ago

Failed V17.0.211

V17.0.210 and earlier installs fine and launches the app successfully

sentry-io[bot] commented 6 months ago

Sentry issue: KEYMAN-DEVELOPER-1J4

mcdurdin commented 6 months ago

Stack trace:

OS Version: Windows 10.0.22635 (2841)
Report Version: 104

Application Specific Information:
Exception EFOpenError in module tike.exe at 0007975B.
Cannot open file "C:\<redacted_path>\<redacted_filename>.xml". The system cannot find the path specified.

Thread 0
0   tike.exe                        0x47975b            System.Classes.TFileStream.Create (System.Classes.pas:9208)
1   tike.exe                        0x479610            System.Classes.TFileStream.Create (System.Classes.pas:9178)
2   tike.exe                        0x479a26            System.Classes.TMemoryStream.LoadFromFile (System.Classes.pas:9498)
3   tike.exe                        0xc93c58            Keyman.Developer.System.Project.xmlLdmlProjectFile.TxmlLdmlProjectFile.IsFileTypeSupported (Keyman.Developer.System.Project.xmlLdmlProjectFile.pas:84)
4   tike.exe                        0x6b5ba4            Keyman.Developer.System.Project.ProjectFileType.CreateProjectFile (Keyman.Developer.System.Project.ProjectFileType.pas:100)
5   tike.exe                        0x725030            Keyman.Developer.System.Project.ProjectLoader.TProjectLoader.LoadProjectFromFile (Keyman.Developer.System.Project.ProjectLoader.pas:161)
6   tike.exe                        0x7248a6            Keyman.Developer.System.Project.ProjectLoader.TProjectLoader.Execute (Keyman.Developer.System.Project.ProjectLoader.pas:82)
7   tike.exe                        0x72edf9            Keyman.Developer.System.Project.ProjectFile.TProject.LoadFromXML (Keyman.Developer.System.Project.ProjectFile.pas:1130)
8   tike.exe                        0x72dc1a            Keyman.Developer.System.Project.ProjectFile.TProject.Load (Keyman.Developer.System.Project.ProjectFile.pas:849)
9   tike.exe                        0xe8f98d            Keyman.Developer.UI.Project.ProjectFileUI.TProjectUI.Load (Keyman.Developer.UI.Project.ProjectFileUI.pas:164)
10  tike.exe                        0x72d7e9            Keyman.Developer.System.Project.ProjectFile.TProject.Create (Keyman.Developer.System.Project.ProjectFile.pas:780)
11  tike.exe                        0xe8f7b9            Keyman.Developer.UI.Project.ProjectFileUI.TProjectUI.Create (Keyman.Developer.UI.Project.ProjectFileUI.pas:137)
12  tike.exe                        0x8fc67d            Keyman.Developer.UI.Project.ProjectUI.LoadGlobalProjectUI (Keyman.Developer.UI.Project.ProjectUI.pas:96)
13  tike.exe                        0xe8981b            UfrmMain.TfrmKeymanDeveloper.FormCreate (UfrmMain.pas:595)
14  tike.exe                        0x7bbe9b            JvDockControlForm.TJvDockBaseControl.DoFormOnCreate (JvDockControlForm.pas:2378)
15  tike.exe                        0x679a72            Vcl.Forms.TCustomForm.AfterConstruction (Vcl.Forms.pas:3722)
16  tike.exe                        0x679a23            Vcl.Forms.TCustomForm.Create (Vcl.Forms.pas:3712)
17  tike.exe                        0x6850b4            Vcl.Forms.TApplication.CreateForm (Vcl.Forms.pas:10866)
18  tike.exe                        0xe93cc9            Keyman.Developer.System.Main.RunWithExceptionsHandled (Keyman.Developer.System.Main.pas:72)
19  tike.exe                        0xe93b4e            Keyman.Developer.System.Main.RunKeymanDeveloper (Keyman.Developer.System.Main.pas:42)
20  tike.exe                        0xeac2e8            tike.tike
21  KERNEL32.DLL                    0x761e7ba8          BaseThreadInitThunk
22  ntdll.dll                       0x7736bd2a          __RtlUserThreadStart
23  ntdll.dll                       0x7736bcae          _RtlUserThreadStart
MayuraVerma commented 6 months ago

@mcdurdin if this helps

I have checked majority of builds. It starts from 211 build

V17.0.211 and later version fails

V17.0.210 and earlier installs fine and launches the app successfully

mcdurdin commented 6 months ago

I can see where the issue is, and it should be a reasonably easy fix. Just need to find the time to tackle it.