Closed cadavren closed 7 months ago
Just realised I have some setup missing (node, nspm, rust and cargo), would this be the reason ?
Ok. After a few tries of other things, here what I'm on :
Folder for current-song's files :
Rust 64-win is well installed, and visual studio Community has also been installed throught this setup. Node.js is also installed.
When run with either firefox or edge, both show only a black page in which I don't get errors. (see image below)
Logs :
2024-01-23T12:33:56.487493Z WARN current_song2::config: Couldn't read config, creating a new one., error: Le fichier spécifié est introuvable. (os error 2) 2024-01-23T12:34:01.443265Z INFO actix_server::builder: starting 10 workers 2024-01-23T12:34:01.443346Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T12:34:11.899459Z WARN HTTP request{http.method: GET, http.route: /theme.css, http.flavor: 1.1, http.scheme: http, http.host: localhost:48457, http.client_ip: 127.0.0.1, http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0, http.target: /theme.css, otel.name: HTTP GET /theme.css, otel.kind: "server", request_id: 5dcf7dab-97ba-4607-a3d9-fa1aeb527da1 exception.message: Le fichier spécifié est introuvable. (os error 2) exception.details: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } http.status_code: 404 otel.status_code: "OK"}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } 2024-01-23T12:34:11.928346Z WARN HTTP request{http.method: GET, http.route: /user.js, http.flavor: 1.1, http.scheme: http, http.host: localhost:48457, http.client_ip: 127.0.0.1, http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0, http.target: /user.js, otel.name: HTTP GET /user.js, otel.kind: "server", request_id: c11d5b24-0c93-4cf1-9356-d86858b30d6b exception.message: Le fichier spécifié est introuvable. (os error 2) exception.details: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } http.status_code: 404 otel.status_code: "OK"}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } 2024-01-23T12:34:15.995769Z WARN HTTP request{http.method: GET, http.route: /theme.css, http.flavor: 1.1, http.scheme: http, http.host: localhost:48457, http.client_ip: 127.0.0.1, http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0, http.target: /theme.css, otel.name: HTTP GET /theme.css, otel.kind: "server", request_id: 37c763ef-4e01-4fec-93e1-469a6b1d502b exception.message: Le fichier spécifié est introuvable. (os error 2) exception.details: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } http.status_code: 404 otel.status_code: "OK"}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } 2024-01-23T12:34:22.724977Z WARN HTTP request{http.method: GET, http.route: /theme.css, http.flavor: 1.1, http.scheme: http, http.host: localhost:48457, http.client_ip: 127.0.0.1, http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0, http.target: /theme.css, otel.name: HTTP GET /theme.css, otel.kind: "server", request_id: 6cec00a6-f9c4-4dff-b194-07259e14a424 exception.message: Le fichier spécifié est introuvable. (os error 2) exception.details: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } http.status_code: 404 otel.status_code: "OK"}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } 2024-01-23T12:34:22.756009Z WARN HTTP request{http.method: GET, http.route: /user.js, http.flavor: 1.1, http.scheme: http, http.host: localhost:48457, http.client_ip: 127.0.0.1, http.user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0, http.target: /user.js, otel.name: HTTP GET /user.js, otel.kind: "server", request_id: 53e895fb-c5ba-462f-8132-845389d2b45c exception.message: Le fichier spécifié est introuvable. (os error 2) exception.details: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } http.status_code: 404 otel.status_code: "OK"}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." } 2024-01-23T12:44:03.508994Z INFO actix_server::builder: starting 10 workers 2024-01-23T12:44:03.509022Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T13:18:50.916699Z INFO actix_server::builder: starting 4 workers 2024-01-23T13:18:50.916754Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T13:34:31.660815Z INFO actix_server::builder: starting 4 workers 2024-01-23T13:34:31.660854Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T13:42:00.009454Z INFO actix_server::builder: starting 4 workers 2024-01-23T13:42:00.009505Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T13:45:17.948216Z INFO actix_server::builder: starting 4 workers 2024-01-23T13:45:17.948274Z INFO actix_server::server: Actix runtime found; starting in Actix runtime 2024-01-23T14:01:45.946177Z INFO actix_server::builder: starting 4 workers 2024-01-23T14:01:45.946189Z INFO actix_server::server: Actix runtime found; starting in Actix runtime
Is there something I still don't do correctly ?
Well it..... works on Opera ?
EDIT : works on firefox too, I don't know what I did to make it work but, I guess it works.
Hello ! I'm new to all this and I think I need help with understanding how some of the files works. I've been roaming the documentation for precisions of these files but I can't find what I'm looking for : is there something I need to do in order to have access to default theme ? Or do I just need to create files myself (which I can since I'm learning CSS) ?
EDIT : please look at the third message I did, it's probably more helpful.
Here are some screens to show how my config is and what is displayed:
Current-song folder :![image](https://github.com/Nerixyz/current-song2/assets/61839268/80386401-660a-4b19-b317-a1fe788bf2cf)
Localhost display while having youtube :![image](https://github.com/Nerixyz/current-song2/assets/61839268/8e5fbfe7-a149-48e3-b651-994da2cbc88b)
curent-song2.log (with restarts and tries) :