web interface isn't working

Antworten
marcolvz
Beiträge: 4
Registriert: Mo 28. Sep 2020, 03:28
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

web interface isn't working

Beitrag von marcolvz »

the only thing i see when i access the web interface is this text:

{"response":{"bot":{"accounts":[]},"upTime":"2020-09-28T04:22:33.357941+02:00"},"requestMeta":{"requestMethod":"GET","requestUrl":"http://127.0.0.1:1024/"},"responseMeta" ... RemoteRoot"}}
F0restbear
Moderator
Beiträge: 1139
Registriert: Mo 8. Jun 2015, 17:36
Hat sich bedankt: 39 Mal
Danksagung erhalten: 214 Mal

Re: web interface isn't working

Beitrag von F0restbear »

Hey there,

this is something UnknownDeveloper has to look at. Unfortunately, he's pretty busy atm.
Folgende Benutzer bedankten sich beim Autor F0restbear für den Beitrag:
marcolvz (Mo 28. Sep 2020, 09:59)
Viele Grüße / Best regards

F0restbear
marcolvz
Beiträge: 4
Registriert: Mo 28. Sep 2020, 03:28
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: web interface isn't working

Beitrag von marcolvz »

thanks for the reply, i have to clarify that i'm running on a raspberry pi 4
marcolvz
Beiträge: 4
Registriert: Mo 28. Sep 2020, 03:28
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: web interface isn't working

Beitrag von marcolvz »

so, after trying to use the port 8050, this is what i get

Code: Alles auswählen

2020-09-28 16:54:14.856133 [Errors]: Legend: This is an error message
2020-09-28 16:54:14.857134 [Warnings]: Legend: This is a warning message
Traceback (most recent call last):
  File "MainProgram.py", line 227, in <module>
    initHTML()
  File "MainProgram.py", line 68, in initHTML
    initDetails()
  File "MainProgram.py", line 34, in initDetails
    AccountFun.updateAccs(False)
  File "C:\mfbotWI\Functions\AccountFun.py", line 36, in updateAccs
    details = ComUtils.curlGet("?head=1")
  File "C:\mfbotWI\Utils\ComUtils.py", line 23, in curlGet
    return json.loads(rString)
  File "C:\Program Files\Python36\lib\json\__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python36\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python36\lib\json\decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Premere un tasto per continuare . . .
Bendas
Beiträge: 7
Registriert: Mo 5. Jul 2021, 10:51
Wohnort: Olomouc
Hat sich bedankt: 3 Mal
Danksagung erhalten: 4 Mal

Re: web interface isn't working

Beitrag von Bendas »

marcolvz hat geschrieben: Mo 28. Sep 2020, 16:55 so, after trying to use the port 8050, this is what i get

Code: Alles auswählen

2020-09-28 16:54:14.856133 [Errors]: Legend: This is an error message
2020-09-28 16:54:14.857134 [Warnings]: Legend: This is a warning message
Traceback (most recent call last):
  File "MainProgram.py", line 227, in <module>
    initHTML()
  File "MainProgram.py", line 68, in initHTML
    initDetails()
  File "MainProgram.py", line 34, in initDetails
    AccountFun.updateAccs(False)
  File "C:\mfbotWI\Functions\AccountFun.py", line 36, in updateAccs
    details = ComUtils.curlGet("?head=1")
  File "C:\mfbotWI\Utils\ComUtils.py", line 23, in curlGet
    return json.loads(rString)
  File "C:\Program Files\Python36\lib\json\__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python36\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python36\lib\json\decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Premere un tasto per continuare . . .
I'm having the same issue. Have you figure it out?
Antworten

Wer ist online?

Mitglieder in diesem Forum: Bing [Bot] und 2 Gäste