Skip to content

Cannot run script #29

@Tiemichael

Description

@Tiemichael

Hi,
I am unable to run the script on my Raspberry 4 running ArchLinux.
When I start the script via:
(.venv) [michael@nanoraspi exportMediaWiki2HTML]$ python3 exportMediaWiki2Html.py --url=https://wiki.xxxxx.com --user=min@mw2html --password=08g24xxxxxxmv7072f66qf4df7hpabq
(user, password are Bot-user and pwd)

I receive:
`Traceback (most recent call last):
File "/home/michael/exportMediaWiki2HTML/.venv/lib/python3.10/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/michael/exportMediaWiki2HTML/exportMediaWiki2Html.py", line 114, in
DATA = R.json()
File "/home/michael/exportMediaWiki2HTML/.venv/lib/python3.10/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
`

Any idea what is wrong?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions