"ValueError: no path specified" when changing an asset file

1 view
Skip to first unread message

Hartmut Goebel

unread,
Jun 13, 2024, 7:42:23 AMJun 13
to nikola-discuss

Hi,

I'm experiencing error messages when using "nikola auto". As soon as I change any "assert" file in the theme, I get several of these error messages like this:

[2024-06-13 13:00:00] ERROR: asyncio: Task exception was never retrieved
future: <Task finished name='Task-55' coro=<CommandAuto.reload_page() done, defined at /tmp/_venv-nikola/lib64/python3.10/site-packages/nikola/plugins/command/auto/__init__.py:427> exception=ValueError('no path specified')>
Traceback (most recent call last):
  File "/tmp/_venv-nikola/lib64/python3.10/site-packages/nikola/plugins/command/auto/__init__.py", line 435, in reload_page
    p = os.path.relpath(event_path, os.path.abspath(self.site.config['OUTPUT_FOLDER'])).replace(os.sep, '/')
  File "/usr/lib64/python3.10/posixpath.py", line 470, in relpath
    raise ValueError("no path specified")
ValueError: no path specified

Is this something on my side? Shall I file a bug report?

Using Nikola 8.3.1, installed just yesterday in a new virtual environment:

$ /tmp/_venv-nikola/bin/pip list -l
Package                   Version
------------------------- ---------
aiohttp                   3.9.5
aiosignal                 1.3.1
anyio                     4.4.0
argon2-cffi               23.1.0
argon2-cffi-bindings      21.2.0
async-lru                 2.0.4
Babel                     2.15.0
bleach                    6.1.0
blinker                   1.8.2
cloudpickle               3.0.0
comm                      0.2.2
doit                      0.36.0
exceptiongroup            1.2.1
fastjsonschema            2.19.1
fqdn                      1.5.1
frozenlist                1.4.1
ghp-import                2.1.0
h11                       0.14.0
hsluv                     5.0.4
httpcore                  1.0.5
httpx                     0.27.0
ipykernel                 6.29.4
isoduration               20.11.0
json5                     0.9.25
jsonpointer               3.0.0
jsonschema                4.22.0
jsonschema-specifications 2023.12.1
jupyter_client            8.6.2
jupyter-events            0.10.0
jupyter-lsp               2.2.5
jupyter_server            2.14.1
jupyter_server_terminals  0.5.3
jupyterlab                4.2.2
jupyterlab_pygments       0.3.0
jupyterlab_server         2.27.2
Mako                      1.3.5
micawber                  0.5.5
mistune                   3.0.2
multidict                 6.0.5
nbclient                  0.10.0
nbconvert                 7.16.4
nbformat                  5.10.4
Nikola                    8.3.1
notebook                  7.2.1
notebook_shim             0.2.4
overrides                 7.7.0
pandocfilters             1.5.1
phpserialize              1.3
piexif                    1.1.3
pip                       23.0.1
prometheus_client         0.20.0
pygal                     3.0.4
pyphen                    0.15.0
PyRSS2Gen                 1.1
python-json-logger        2.0.7
pyzmq                     26.0.3
referencing               0.35.1
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
rpds-py                   0.18.1
ruamel.yaml               0.18.6
ruamel.yaml.clib          0.2.8
Send2Trash                1.8.3
setuptools                65.5.0
smartypants               2.0.1
sniffio                   1.3.1
terminado                 0.18.1
tinycss2                  1.3.0
traitlets                 5.14.3
typogrify                 2.0.7
Unidecode                 1.3.8
uri-template              1.3.0
watchdog                  4.0.1
webcolors                 24.6.0
websocket-client          1.8.0
yarl                      1.9.4


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.go...@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

Chris Warrick

unread,
Jun 13, 2024, 3:51:13 PMJun 13
to nikola-...@googlegroups.com
> --
> You received this message because you are subscribed to the Google Groups "nikola-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/fab7e26d-481d-4bf2-8935-7bb0a4def52b%40crazy-compilers.com.

Hi,

this is a known issue that has already been fixed on the master branch
and will be fixed in the next release:
https://github.com/getnikola/nikola/pull/3775

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Hartmut Goebel

unread,
Jun 14, 2024, 5:31:03 AMJun 14
to nikola-...@googlegroups.com
Hi Chris,
this is a known issue that has already been fixed on the master branch

Thanks, installing master branch solved the issue.

Reply all
Reply to author
Forward
0 new messages