On Tue, 2024-12-24 at 23:38 +0900, Jun Omae wrote:
> Hi,
>
> Try to copy *.egg file in the `dist` directory to the plugins
> directory
> after running `setup.py bdist_egg`, instead of *.egg-info directory.
Now I have the menu item. Clicking on it results in an error:
Oops...
Trac detected an internal error:
AttributeError: 'NoneType' object has no attribute 'setdefault'
Python traceback
Most recent call last:
File "/usr/lib/python3/dist-packages/trac/web/main.py", line 609, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python3/dist-packages/trac/web/main.py", line 301, in
dispatch
raise e
File "/usr/lib/python3/dist-packages/trac/web/main.py", line 263, in
dispatch
metadata.setdefault('iterable', chrome.use_chunked_encoding)
FWIW: during the build process I got 2 warnings that may be relevant?
1. /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212:
_Warning: Package 'logviewer.htdocs.css' is absent from the `packages`
configuration.
2. /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212:
_Warning: Package 'logviewer.templates' is absent from the `packages`
configuration.
--
Groeten,
Joost Kraaijeveld