You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "bin/mrbob", line 10, in <module>
sys.exit(main())
File "/tmp/mrbobvenv/lib/python3.7/site-packages/mrbob/cli.py", line 155, in main
defaults=defaults)
File "/tmp/mrbobvenv/lib/python3.7/site-packages/mrbob/configurator.py", line 138, in __init__
self.template_dir, self.is_tempdir = parse_template(template)
File "/tmp/mrbobvenv/lib/python3.7/site-packages/mrbob/configurator.py", line 92, in parse_template
path = resolve_dotted_path(template_name)
File "/tmp/mrbobvenv/lib/python3.7/site-packages/mrbob/configurator.py", line 40, in resolve_dotted_path
return os.path.join(os.path.dirname(module.__file__), dir_name)
File "/tmp/mrbobvenv/lib64/python3.7/posixpath.py", line 156, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
mrbob should catch this case and fail with a meaningfull error message.
I assume this error is caused by changing the structure of the bobtemplates packages. Thus the error message could mention this detail a a possible cause.
When I try to setup a template using mrbob, mrbob crashes with (full traceback see below):
How to reproduce (taken from https://training.plone.org/5/theming/theme-package.html)
Traceback:
The text was updated successfully, but these errors were encountered: