-
Hello there. I'm currently using
$ jupynium
Traceback (most recent call last):
File "/nix/store/650k6dabzjmsgzw447y8y7xnbgz0zwjc-python3.11-jupynium-0.2.1/bin/.jupynium-wrapped", line 9, in <module>
sys.exit(main())
^^^^^^
File "/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/jupynium/cmds/jupynium.py", line 466, in main
q = persistqueue.UniqueQ(persist_queue_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/persistqueue/sqlbase.py", line 405, in __init__
self._init()
File "/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/persistqueue/sqlqueue.py", line 60, in _init
super(SQLiteQueue, self)._init()
File "/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/persistqueue/sqlbase.py", line 413, in _init
os.makedirs(self.path)
File "<frozen os>", line 225, in makedirs
OSError: [Errno 30] Read-only file system: '/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/jupynium/jupynium_persist_queue'
Exception ignored in: <function SQLiteBase.__del__ at 0x7f104cac4720>
Traceback (most recent call last):
File "/nix/store/9la51nnb4fnnx6cvmw2v7fznqgqqsnpq-python3-3.11.6-env/lib/python3.11/site-packages/persistqueue/sqlbase.py", line 453, in __del__
self._getter.close()
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'close' I understand that you are trying to create or remove a folder, but with NixOs this is not possible.
Here is my return {
-- other plugins
{
"kiyoon/jupynium.nvim",
-- build = "pip3 install --user .",
-- build = "conda run --no-capture-output -n jupynium pip install .",
-- enabled = vim.fn.isdirectory(vim.fn.expand "~/miniconda3/envs/jupynium"),
},
} I have commented all the building part, like I said If you have any suggestions or you a solution, I'm all ears out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 22 replies
-
Hi, in Jupynium config you can give the path to python binary location. Can you try this? Also, in Jupynium there is a persistent queue that saves the last running Jupynium pid to a file. This is because it makes it easier to make jupynium not duplicate its run and instead it attaches to the originally running process thus you have one firefox open with multiple tabs. I used a persistent queue with file rather than memory because it is more OS-agnostic. At least it works on Windows, Mac and Linux. I didn't know it wouldn't work on NixOS, which is unfortunate |
Beta Was this translation helpful? Give feedback.
@Gilk260 Done! Please check it out :) I also made a CI automated deployment so it should be easier to upload to PyPI for later versions.