-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot launch pypr #12
Comments
I have the same issue it seems :-/ |
I guess Try running with |
I had the same issue after following the steps on the wiki. It seems that the default config provided lacks a comma after one bracket, just before the "unknown" part at the end of the file. Now it works for me. |
Hi! Two things: @zielOS your JSON config file is invalid indeed. Check the first line, character 13:
@lunigella I can't find the typo, can you point it to help me? All: would switching to TOML format a good idea ? Pros: simpler & more flexible syntax, harder to break |
I was referring to line 26 of the config provided in the Getting started session of the wiki. |
Thank you, just fixed it! |
yup that fixed it for me too. |
Hi I am getting this error when I try to launch pypr from terminal. I installed it manually following aur steps. Also tried using pip to install it. Both show the following error
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/pyprland/command.py", line 165, in run_daemon
await manager.load_config() # ensure sockets are connected first
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pyprland/command.py", line 39, in load_config
self.config = json.loads(f.read())
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 14 (char 13)
Exception ignored in: <function StreamWriter.del at 0x7f317ec3d940>
Traceback (most recent call last):
File "/usr/lib/python3.11/asyncio/streams.py", line 396, in del
self.close()
File "/usr/lib/python3.11/asyncio/streams.py", line 344, in close
return self._transport.close()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/selector_events.py", line 860, in close
self._loop.call_soon(self._call_connection_lost, None)
File "/usr/lib/python3.11/asyncio/base_events.py", line 761, in call_soon
self._check_closed()
File "/usr/lib/python3.11/asyncio/base_events.py", line 519, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
The text was updated successfully, but these errors were encountered: