Issue with running python script

That was changed to run a test file and still returned the same error, I tried to recreate the test files suggested in the previous ticket but still returned an error. Changing it to ADXLrun.sh returns:

2022-01-27 18:54:58,415 - octoprint.plugins.gcodesystemcommands - DEBUG - Command ID=01, Line=/home/pi/ADXLrun.sh, Args=None
2022-01-27 18:54:58,416 - octoprint.plugins.gcodesystemcommands - INFO - Executing command ID: 01
2022-01-27 18:54:58,553 - octoprint.plugins.gcodesystemcommands - DEBUG - Command ID 01 returned: 1, output=b''
2022-01-27 18:54:58,554 - octoprint.plugins.gcodesystemcommands - INFO - Command ID 01 returned: 1

Not sure if that was the full error output, here is another attempt at running the .sh file:
2022-01-27 20:55:49,655 - octoprint.server.util.sockjs - INFO - User SeanRes logged in on the socket from client ::ffff:192.168.1.121
2022-01-27 20:55:54,974 - octoprint.plugins.gcodesystemcommands - DEBUG - Command ID=01, Line=/home/pi/ADXLrun.sh, Args=None
2022-01-27 20:55:54,974 - octoprint.plugins.gcodesystemcommands - INFO - Executing command ID: 01
2022-01-27 20:55:55,231 - octoprint.plugins.gcodesystemcommands - DEBUG - Command ID 01 returned: 1, output=b''
2022-01-27 20:55:55,231 - octoprint.plugins.gcodesystemcommands - INFO - Command ID 01 returned: 1
2022-01-27 20:56:00,311 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from GitHub - OctoPrint/plugins.octoprint.org: Sources of the OctoPrint Plugin Repository
2022-01-27 20:56:00,314 - octoprint.plugins.pluginmanager - ERROR - Error while reading repository data: Expecting value: line 7 column 1 (char 6)
Traceback (most recent call last):
File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pluginmanager/init.py", line 1794, in _fetch_repository_from_url
repo_data = r.json()
File "/home/pi/oprint/lib/python3.7/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 7 column 1 (char 6)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.