Closed MDWASEEM1995 closed 8 months ago
I think I found the issue. Should be fixed in the next release.
After updating to 0.4.0, facing below issue
sendfile: file ./web/index.html not found
⦿ SEANIME 0.4.0
2024-02-24 14:04:15 INF app: Loaded config from "C:\Users\user\AppData\Roaming\Seanime" 2024-02-24 14:04:15 INF db: Database instantiated 2024-02-24 14:04:15 INF app: Connected to database "seanime.db" 2024-02-24 14:04:15 INF watcher: Watching directory: "C:/Users/user/Downloads/Anime" 2024-02-24 14:04:25 INF app: Fetched Anilist collection 2024-02-24 14:04:25 INF app: Initialized modules 2024-02-24 14:04:25 INF Seanime started at http://127.0.0.1:43211 2024-02-24 14:04:28 INF autodownloader: Module started 2024-02-24 14:04:28 DBG autodownloader: Auto Downloader started 2024-02-24 14:04:28 TRC autodownloader: Checking for new episodes from AnimeTosho
@MDWASEEM1995
sendfile: file ./web/schedule.html not found
@MDWASEEM1995
What does your folder look like Have you tried emptying the cache
& Check that the folder is in the right place. Can't reproduce and can't troubleshoot without more info
Directory of C:\Users\user\Downloads\seanime-0.4.0_Windows_x86_64
02/24/2024 12:54 AM
Directory of C:\Users\user\Downloads\seanime-0.4.0_Windows_x86_64\web
02/24/2024 12:54 AM
Cleared the %TEMP% folder if that means clearing the cache.
Try clearing the browser cache, if that doesn't work try another browser like Chrome.
Same issue in edge and firefox.
I deleted the previous version folder and unzipped the new version at the same place. It worked as well at the start. Auto downloader is also working well.
I redownloaded the 0.4.0 version and its started working again. At the start it works fine but suddenly same issue start popping up.
Can't really tell, try unzipping the files somewhere else than the "Downloads" folder.
Okay. Its same issue as what I have shared the issue for at the start of ticket. At the start it works fine but suddenly this issue happens. Same thing was happening in original issue as well. It will work fine but suddenly the issue will start happening.
For now after redownload it is working fine. In case issue happens again I will unzip in other folder and update.
After changing the folder to Documents, still the same issue is happening today.
At the start it works but after some time issue starts happening.
@MDWASEEM1995 Try using Chrome or launching seanime.exe from the terminal
Launching seanime.exe from terminal worked. But I think this will also stop working in some time. I will update in case issue occurs. I don't really use chrome or edge so it would be really good if it works with floorp or firefox.
It probably has nothing to do with the browser or even the code for that matter. It appears seanime.exe is being launched from another working directory somehow or denied access to the web folder. Launching it from the terminal should ensure the working directory stays the same but if it happens again it's definitely OS related.
I have not encountered any issue using this method. Though if possible it would be great if the Path is properly updated and there is no need to open the terminal in exact folder and then run the application. Thanks for the help.
@MDWASEEM1995 The new version will use absolute paths for serving files. I can't control how the web framework serves file internally besides that. It will also print out the working dir when the app launches for debugging purposes. If the issue persists then it won't be something I can solve unfortunately.
Describe the bug Program doesn't start properly when accessing 'http://127.0.0.1:43211/' after running the server Its not always happening but like 8 times out of 10.
To Reproduce Startup Seanime server Go to http://127.0.0.1:43211/ See error
Expected behavior Seanime should start.
2024-02-22 23:25:02 INF app: Loaded config from "C:\Users\user\AppData\Roaming\Seanime" 2024-02-22 23:25:03 INF db: Database instantiated 2024-02-22 23:25:03 INF app: Connected to database "seanime.db" 2024-02-22 23:25:03 INF watcher: Watching directory: "C:/Users/user/Downloads/Anime" 2024-02-22 23:25:08 INF app: Fetched Anilist collection 2024-02-22 23:25:08 INF app: Initialized modules 2024-02-22 23:25:08 INF Seanime started at http://127.0.0.1:43211
Windows 11 Floorp, Firefox, Edge