Closed qualcunu closed 4 months ago
I am not going to run the exe for safety reasons.
When it crashes what does the CefSharp logfile say?
Installer
%LocalAppData%\Lively Wallpaper\Cef\logfile.txt
Microsoft Store
%LocalAppData%\Packages\12030rocksdanister.LivelyWallpaper_97hta09mmv6hy\LocalCache\Local\Lively Wallpaper\Cef\logfile.txt
As for not running the exe, that's fine, totally get it! I've uploaded the original Cpp script to generate the exe file if that's at all helpful! To set it up (Using Visual Studio):
Windows Console Application (C++/WinRT)
main.cpp
to the project, which can replace the default main.cppproject
tab, the last option [project name] properties
, then under configuration properties
-> C/C++
-> precompiled headers
change the precompiled header
dropdown from Use /Yu
to Not Using Precompiled Headers
Fluids & Eye/js/
folder
(On the line of code with the comment, changing the milliseconds() parameter sets the speed at which the numbers will generate.)
(Default is 500, Eye tracker's speed is 25)The cpp file I used to run the exe Eye Tracker Sim.zip
CefSharp log Here is the log file from the windows version! The logs seem to stop outputting anything once the wallpaper crashes logfile.txt
Thanks for getting back to me so quick!
I dont have time for this at the moment, too many open issues.
Try recreating this in minimal CefSharp project, if it still happens report to CefSharp directly.
Alternatively integrate the SDK in the Lively C# browser itself by modifying the project.
Bug description Upon using both UWP and installer Lively app, and launching the Eye Tracking exe file, the Fluids wallpaper will run for a brief time then crash with the code:
Stdin write fail: Cannot access a disposed object.
Object name: 'System.Diagnostics.Process'.
Steps to reproduce the behavior:
"Fluids & Eye/js/"
launch"GazeTrackWithTobii2.exe"
Observed Behaviors Intended behaviors:
Unintended behaviors (The problem):
Videos demonstrating the error:
In VSCode the wallpaper never crashes: Lively with ET error demo pt1
In Lively the wallpaper always crashes: Lively with ET error demo pt2
Desktop
Additional context I had an ambitious project to make my Tobii Eye Tracker function as an input for the Fluids wallpaper. Recently I was finally able to modify the wallpaper's code to do this, and works well in my vscode environment, but once I run it in Lively, it crashes.
(please note) The actual program that sends the eye tracking information is
"GazeTrackWithTobii.exe"
but I created"GazeTrackWithTobii2.exe"
because without an eye tracker you wouldn't be able to reproduce any results. It basically generates a random number in place of the gaze position.Unfortunately, I cannot access the chrome developer tools to investigate the issue, and while I have looked to see if other people had similar issues, there were no solutions or explanations presented.
Also, while this isn't part of the issue, if you happen to know of an easy way for me to have the exe file launch with the wallpaper please let me know, I don't think there is, but it would make the wallpaper way more usable.
Log file lively_log_20240305_135530.zip
Wallpaper file Fluids & Eye.zip