-
Notifications
You must be signed in to change notification settings - Fork 137
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
jinja2.exceptions.UndefinedError: 'collections.OrderedDict object' has no attribute #130
Comments
Another group failed during tg-archive --build with the same error message.
|
In db.py (in get_timeline and get_dayline) try change
to
or just do not change standart timezone in config.yaml |
Muchas Gracias, esto soluciona completamente el problema.
|
After successfully creating, syncing and building 2 groups, I got this when archiving the third group.
tg-archive --build
2024-02-12 19:04:44,734: building site
Traceback (most recent call last):
File "/usr/local/bin/tg-archive", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/tgarchive/init.py", line 161, in main
b.build()
File "/usr/local/lib/python3.10/site-packages/tgarchive/build.py", line 87, in build
self._render_page(messages, month, dayline,
File "/usr/local/lib/python3.10/site-packages/tgarchive/build.py", line 116, in _render_page
html = self.template.render(config=self.config,
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 90, in top-level template code
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 485, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'collections.OrderedDict object' has no attribute '2016-12-02'
The text was updated successfully, but these errors were encountered: