Seite 1 von 1

web interface isn't working

Verfasst: Mo 28. Sep 2020, 04:34
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"}}

Re: web interface isn't working

Verfasst: Mo 28. Sep 2020, 09:40
von F0restbear
Hey there,

this is something UnknownDeveloper has to look at. Unfortunately, he's pretty busy atm.

Re: web interface isn't working

Verfasst: Mo 28. Sep 2020, 09:47
von marcolvz
thanks for the reply, i have to clarify that i'm running on a raspberry pi 4

Re: web interface isn't working

Verfasst: Mo 28. Sep 2020, 16:55
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 . . .

Re: web interface isn't working

Verfasst: Mo 5. Jul 2021, 13:06
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?