Error at creating account
Error while starting this new version ... creating new account
Unexpected end of JSON input
resolved changing vite.config.js in the follow : export default defineConfig({ base: './', plugins: [vue()], server: { port: 5173, proxy: { '/api': { target: 'http://127.0.0.1:8099', changeOrigin: true, }, '/ws': { target: 'http://127.0.0.1:8099', changeOrigin: true, ws: true, }, }, }, })
Im using win8.1
resolved changing vite.config.js in the follow : export default defineConfig({ base: './', plugins: [vue()], server: { port: 5173, proxy: { '/api': { target: 'http://127.0.0.1:8099', changeOrigin: true, }, '/ws': { target: 'http://127.0.0.1:8099', changeOrigin: true, ws: true, }, }, }, })
Im using win8.1
Interesting, using the localhost domain name doesn't work, but using the local IP address It does.
Can you create a pull request for this fix?
Thanks
Ciao, segnalo qui perché anche io ho un problema dopo la versione 0.7.1, anche se l’errore sembra diverso da quello dell’issue.
Dopo aggiornamento/reinstallazione di LeapConnect 0.7.1 come add-on Home Assistant, l’add-on prova ad avviarsi ma poi va subito in stato errore.
Ambiente:
- Home Assistant add-on: LeapConnect
- Versione: 0.7.1
- Stato: error
Errore nei log:
ModuleNotFoundError: No module named 'httpx'
Trace rilevante:
File "/app/main.py", line 72, in
File "/app/services/abrp.py", line 15, in
Ho verificato anche da terminale con:
ha apps logs 36565c80_leapconnect | grep -i "ModuleNotFoundError|httpx|abrp"
Output:
from services.abrp import AbrpService
File "/app/services/abrp.py", line 15, in
Stato attuale add-on:
state: error version: 0.7.1 version_latest: 0.7.1
Sembra che httpx venga importato da services/abrp.py, ma non sia presente tra le dipendenze runtime del container/add-on.
Forse è un problema separato rispetto a “Unexpected end of JSON input”, ma lo segnalo qui perché anche questo è comparso dopo la 0.7.1.
Possibile fix:
aggiungere httpx alle dipendenze Python runtime/build dell’add-on.
Ciao, segnalo qui perché anche io ho un problema dopo la versione 0.7.1, anche se l’errore sembra diverso da quello dell’issue.
Dopo aggiornamento/reinstallazione di LeapConnect 0.7.1 come add-on Home Assistant, l’add-on prova ad avviarsi ma poi va subito in stato errore.
Ambiente:
- Home Assistant add-on: LeapConnect
- Versione: 0.7.1
- Stato: error
Errore nei log:
ModuleNotFoundError: No module named 'httpx'
Trace rilevante:
File "/app/main.py", line 72, in from services.abrp import AbrpService
File "/app/services/abrp.py", line 15, in import httpx
Ho verificato anche da terminale con:
ha apps logs 36565c80_leapconnect | grep -i "ModuleNotFoundError|httpx|abrp"
Output:
from services.abrp import AbrpService File "/app/services/abrp.py", line 15, in import httpx ModuleNotFoundError: No module named 'httpx'
Stato attuale add-on:
state: error version: 0.7.1 version_latest: 0.7.1
Sembra che
httpxvenga importato daservices/abrp.py, ma non sia presente tra le dipendenze runtime del container/add-on.Forse è un problema separato rispetto a “Unexpected end of JSON input”, ma lo segnalo qui perché anche questo è comparso dopo la 0.7.1.
Possibile fix: aggiungere
httpxalle dipendenze Python runtime/build dell’add-on.
This issue was fixed in version 0.7.2.
resolved changing vite.config.js in the follow : export default defineConfig({ base: './', plugins: [vue()], server: { port: 5173, proxy: { '/api': { target: 'http://127.0.0.1:8099', changeOrigin: true, }, '/ws': { target: 'http://127.0.0.1:8099', changeOrigin: true, ws: true, }, }, }, })
Im using win8.1
fixed with the release 0.7.3