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

The program keep showing black screen and not responding. #2187

Open
LuPow132 opened this issue Apr 9, 2024 · 9 comments
Open

The program keep showing black screen and not responding. #2187

LuPow132 opened this issue Apr 9, 2024 · 9 comments
Labels
bug Something isn't working framework framework related issue question Further information is requested

Comments

@LuPow132
Copy link

LuPow132 commented Apr 9, 2024

Describe the bug
When open the Lively Wallpaper app, The program keep showing black screen and not responding.

To Reproduce
Steps to reproduce the behavior:
1.Just right click and open program
2.That's it

Expected behavior
Beable to enter the program

Screenshots/Video
image

Desktop (please complete the following information):

  • OS: Windows 11 Pro 23H2

Log file (Important)

2024-04-09 17:55:35.6719|INFO|Lively.App|
Lively v2.0.7.4 x64 desktop-native en-US
OS: Microsoft Windows 11 Pro 10.0.22631
CPU: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
GPU: Intel(R) UHD Graphics 630
GPU: NVIDIA GeForce GTX 1050 Ti

2024-04-09 17:55:35.7928|ERROR|Lively.Services.JsonUserSettingsService|System.IO.FileNotFoundException: Could not find file 'C:\Users\Acer\AppData\Local\Lively Wallpaper\Settings.json'.
File name: 'C:\Users\Acer\AppData\Local\Lively Wallpaper\Settings.json'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.File.OpenText(String path)
   at Lively.Common.Helpers.Storage.JsonStorage`1.LoadData(String filePath) in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively.Common\Helpers\Storage\JsonStorage.cs:line 12
   at Lively.Services.JsonUserSettingsService.Load[T]() in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively\Services\JsonUserSettingsService.cs:line 109
2024-04-09 17:55:35.9265|ERROR|Lively.Services.JsonUserSettingsService|System.IO.FileNotFoundException: Could not find file 'C:\Users\Acer\AppData\Local\Lively Wallpaper\AppRules.json'.
File name: 'C:\Users\Acer\AppData\Local\Lively Wallpaper\AppRules.json'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.File.OpenText(String path)
   at Lively.Common.Helpers.Storage.JsonStorage`1.LoadData(String filePath) in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively.Common\Helpers\Storage\JsonStorage.cs:line 12
   at Lively.Services.JsonUserSettingsService.Load[T]() in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively\Services\JsonUserSettingsService.cs:line 123
2024-04-09 17:55:35.9387|ERROR|Lively.Services.JsonUserSettingsService|System.IO.FileNotFoundException: Could not find file 'C:\Users\Acer\AppData\Local\Lively Wallpaper\WallpaperLayout.json'.
File name: 'C:\Users\Acer\AppData\Local\Lively Wallpaper\WallpaperLayout.json'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.File.OpenText(String path)
   at Lively.Common.Helpers.Storage.JsonStorage`1.LoadData(String filePath) in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively.Common\Helpers\Storage\JsonStorage.cs:line 12
   at Lively.Services.JsonUserSettingsService.Load[T]() in C:\Users\rocks\Documents\GitHub\lively\src\Lively\Lively\Services\JsonUserSettingsService.cs:line 140
2024-04-09 17:55:35.9660|INFO|Lively.Core.WinDesktopCore|WorkerW initializing..
2024-04-09 17:55:36.0075|INFO|Lively.Core.WinDesktopCore|WorkerW initialized 2689504
2024-04-09 17:55:36.0075|INFO|Lively.Core.WinDesktopCore|Hooking WorkerW events..
2024-04-09 17:55:36.3232|INFO|Lively.Views.WindowMsg.RawInputMsgWindow|Desktop handles updated.
2024-04-09 17:55:36.3232|INFO|Lively.Core.Suspend.Playback|Desktop handles updated.
2024-04-09 17:56:24.4608|INFO|Lively.App|AppUpdate status: uptodate


@LuPow132 LuPow132 added the bug Something isn't working label Apr 9, 2024
@LuPow132
Copy link
Author

LuPow132 commented Apr 9, 2024

Somehow chaging regieon from Thai to English(US) fixed it????

@LuPow132 LuPow132 closed this as completed Apr 9, 2024
@rocksdanister
Copy link
Owner

Interesting, does it still turn to black if u switch region back to Thai?

@LuPow132
Copy link
Author

LuPow132 commented Apr 11, 2024

Yes when I change region back to Thai it start to turn black again
Img of when I change region to Thai
image

Img of when I change back to English(US)
image

@LuPow132 LuPow132 reopened this Apr 11, 2024
@rocksdanister
Copy link
Owner

rocksdanister commented Apr 11, 2024

Can you check if this problem also happens with Powertoys (another WinUI 3 app.)

The UI logs are in C:\Users\Acer\AppData\Local\Lively Wallpaper\UI

@LuPow132
Copy link
Author

LuPow132 commented Apr 11, 2024

Here is the log

2024-04-11 17:14:30.6162|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\0wj1biqk.f41\fluid.html
2024-04-11 17:14:30.6675|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\4yvhquwl.pcv\index.html
2024-04-11 17:14:30.6675|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\abqqpcp4.hv3\index.html
2024-04-11 17:14:30.6675|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\iqdvd4pt.jyo\triangle.html
2024-04-11 17:14:30.6675|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\lgz4xpht.sjn\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\mylulkt4.dn1\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\nps35xrp.5eh\jellyfish.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\ptpcxvcd.hlz\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\rtnm43pj.wyl\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\wxqfmbno.3vk\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\xn0quq52.bq2\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: C:\Users\Acer\AppData\Local\Lively Wallpaper\Library\wallpapers\zmijuhra.1n3\index.html
2024-04-11 17:14:30.6759|INFO|Lively.UI.WinUI.ViewModels.LibraryViewModel|Loaded wallpaper: D:\Wallpaper\Black Hole from Interstellar Wallpaper In 4K  Live Wallpaper.mp4
2024-04-11 17:14:31.1772|INFO|Lively.UI.WinUI.MainWindow|Skipping login: Token not found.

@rocksdanister rocksdanister added the framework framework related issue label Apr 12, 2024
@rocksdanister rocksdanister changed the title When open the Lively Wallpaper app, The program keep showing black screen and not responding. The program keep showing black screen and not responding. Apr 13, 2024
@rocksdanister
Copy link
Owner

rocksdanister commented Apr 13, 2024

Can you try building and running the latest UI project from this repo.

Otherwise I can try sharing it via email if you message me.

@WilsonBae
Copy link

WilsonBae commented Apr 30, 2024

I changed Region to US, but still there is a problem. UI is not working.
20240430_144835.txt
Here is the log from UI folder.
20240430_144832.txt
And this is the log file.

Powertoy3 has same issue.

@rocksdanister
Copy link
Owner

rocksdanister commented May 16, 2024

Can you try to reproduce the issue in beta build:
https://github.com/rocksdanister/lively-beta/releases/tag/v2.1.0.1

@WilsonBae
Copy link

WilsonBae commented May 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working framework framework related issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants