rocksdanister / lively

Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
https://rocksdanister.com/lively
GNU General Public License v3.0
14.49k stars 1.03k forks source link

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

Open LuPow132 opened 3 months ago

LuPow132 commented 3 months ago

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):

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 commented 3 months ago

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

rocksdanister commented 3 months ago

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

LuPow132 commented 3 months ago

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

rocksdanister commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 2 months ago

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

WilsonBae commented 2 months ago

Still does not work on my PC. [image: image.png]

Check the log file

2024년 5월 17일 (금) 오전 2:43, Dani John @.***>님이 작성:

Can you try the latest beta (installer only): https://github.com/rocksdanister/lively-beta/releases/tag/v2.1.0.1

— Reply to this email directly, view it on GitHub https://github.com/rocksdanister/lively/issues/2187#issuecomment-2115847198, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIFU2WZHHP4VSLZV6O76JBDZCTV3BAVCNFSM6AAAAABF6LMG62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVHA2DOMJZHA . You are receiving this because you commented.Message ID: @.***>