-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
The logfile Files could not be opened error #509
Comments
Similar problem on Windows 11 Pro Workstation Build 25295.rs_prerelease.230203-1346(i.e. 22H2), appears even after a reinstallation. Below is the content of //2023/2/19 10:03:25
{
"ClassName": "System.NullReferenceException",
"Message": "Object reference not set to an instance of an object.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at WinDynamicDesktop.ConfigMigrator.UpdateToVersion4()\r\n at WinDynamicDesktop.ConfigMigrator.Run()\r\n at WinDynamicDesktop.JsonConfig.LoadConfig()\r\n at WinDynamicDesktop.AppContext..ctor(String[] args)\r\n at WinDynamicDesktop.Program.Main(String[] args)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2147467261,
"Source": "WinDynamicDesktop",
"WatsonBuckets": "AQAAAEMATABSADIAMAByADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
}
WARNING: Settings file not found or invalid
./scripts/changeAppsTheme.ps1
./scripts/changeSysTheme.ps1
./themes/j15/j15a1.jpg
./themes/j15/j15a2.jpg
./themes/j15/j15a3.jpg
./themes/j15/j15a4.jpg
./themes/j15/j15a5.jpg
./themes/j15/theme.json
{
"imageFilename": "j15a*.jpg",
"imageCredits": "手绘群狼",
"displayName":"J-15 Carrier Takeoff",
"sunriseImageList": [
4,
3
],
"dayImageList": [
1,
2
],
"sunsetImageList": [
3,
4
],
"nightImageList": [
5
]
}
./themes/j15/thumbnail.png
./themes/Ventura_Abstract/theme.json
{
"imageFilename": "Ventura_Abstract_*.jpg",
"imageCredits": "Apple",
"dayImageList": [
1
],
"nightImageList": [
2
]
}
./themes/Ventura_Abstract/Ventura_Abstract_1.jpg
./themes/Ventura_Abstract/Ventura_Abstract_2.jpg I tried to run WDD sudo, and it can create the logfile now. But in the log there is the same error:
Can't figure out why. |
Closing as duplicate of #479 "The log file could not be opened" is not really an error, just a message that is shown when another error happens. It means that WinDD doesn't have permission to write a log file in the same folder as the EXE, which is expected if you've installed it in a folder like Program Files that requires admin access to write files. The original error message will still be shown in the dialog. |
Steps to Reproduce:
Random error: the log file could not be opened
The logfile Filescouldnot be opened:
System.DllNotFoundException: Dll was not found,
at
MS.lnternal,WindowsBase.NativeMethodsSetLastError.SetWin
dowLongPtrWndProc(HandleRef hWnd, Int32 nlndex,
WndProc dwNewLong)
at
MS. Win32. I-InsafeNativeMethods. CriticalSetWindowLong(Han
dleRef hWnd, Int32 nlndex, WndProc dwNewLong)
at MS.Win32.HwndSubclass.HookWindowProc(lntPtr hwnd,
WndProc newWndProc, IntPtr oldWndProc)
at MS.Win32.HwndSubclass.SubclassWndProc(lntPtr hwnd,
Int32 msg, IntPtr wParam, IntPtr IParam)
There is no log files in Windynamicdesktop directory
Are you using the Microsoft Store version of WDD?: No
The text was updated successfully, but these errors were encountered: