-
-
Save Akiyamka/fd2baa51b2837144b59bc8affcc95aed to your computer and use it in GitHub Desktop.
django-matomo-qgis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(devbox) ╭─ in ~/git/qgis/QGIS-Django on matomo-integration✘✘✘ using «.venv» | |
╰─± devbox run install | |
You can activate the virtual environment by running 'source $VENV_DIR/bin/activate' | |
You can activate the virtual environment by running 'source $VENV_DIR/bin/activate' | |
Requirement already satisfied: flake8 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from -r REQUIREMENTS-dev.txt (line 1)) (6.1.0) | |
Requirement already satisfied: pre-commit in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from -r REQUIREMENTS-dev.txt (line 2)) (3.5.0) | |
Requirement already satisfied: freezegun in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from -r REQUIREMENTS-dev.txt (line 3)) (1.2.2) | |
Requirement already satisfied: mccabe<0.8.0,>=0.7.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from flake8->-r REQUIREMENTS-dev.txt (line 1)) (0.7.0) | |
Requirement already satisfied: pycodestyle<2.12.0,>=2.11.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from flake8->-r REQUIREMENTS-dev.txt (line 1)) (2.11.1) | |
Requirement already satisfied: pyflakes<3.2.0,>=3.1.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from flake8->-r REQUIREMENTS-dev.txt (line 1)) (3.1.0) | |
Requirement already satisfied: cfgv>=2.0.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (3.4.0) | |
Requirement already satisfied: identify>=1.0.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (2.5.32) | |
Requirement already satisfied: nodeenv>=0.11.1 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (1.8.0) | |
Requirement already satisfied: pyyaml>=5.1 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (6.0.1) | |
Requirement already satisfied: virtualenv>=20.10.0 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (20.24.7) | |
Requirement already satisfied: python-dateutil>=2.7 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from freezegun->-r REQUIREMENTS-dev.txt (line 3)) (2.8.2) | |
Requirement already satisfied: setuptools in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from nodeenv>=0.11.1->pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (69.0.2) | |
Requirement already satisfied: six>=1.5 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from python-dateutil>=2.7->freezegun->-r REQUIREMENTS-dev.txt (line 3)) (1.16.0) | |
Requirement already satisfied: distlib<1,>=0.3.7 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (0.3.7) | |
Requirement already satisfied: filelock<4,>=3.12.2 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (3.13.1) | |
Requirement already satisfied: platformdirs<5,>=3.9.1 in ./.devbox/virtenv/python310Packages.pip/.venv/lib/python3.12/site-packages (from virtualenv>=20.10.0->pre-commit->-r REQUIREMENTS-dev.txt (line 2)) (4.0.0) | |
pre-commit installed at .git/hooks/pre-commit | |
------------------------------------------------------------------ | |
Building in production and development mode | |
------------------------------------------------------------------ | |
[+] Building 1.2s (43/56) docker:default | |
=> [worker internal] load build definition from Dockerfile 0.0s | |
=> => transferring dockerfile: 1.58kB 0.0s | |
=> [worker internal] load .dockerignore 0.1s | |
=> => transferring context: 2B 0.0s | |
=> [web internal] load metadata for docker.io/kartoza/django-base:3.7 0.7s | |
=> [devweb 1/17] FROM docker.io/kartoza/django-base:3.7@sha256:9c871b3744951deff67469d438ffee33d0d5d75c498fea550176764e184f4111 0.0s | |
=> [worker internal] load build context 0.0s | |
=> => transferring context: 186B 0.0s | |
=> CACHED [web 2/17] RUN apt-get clean all 0.0s | |
=> CACHED [web 3/17] RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list 0.0s | |
=> CACHED [web 4/17] RUN apt-get update && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev 0.0s | |
=> CACHED [worker 5/17] ADD REQUIREMENTS.txt /REQUIREMENTS.txt 0.0s | |
=> CACHED [worker 6/17] RUN pip install -r /REQUIREMENTS.txt 0.0s | |
=> CACHED [worker 7/17] RUN pip install uwsgi freezegun==1.3.1 0.0s | |
=> CACHED [worker 8/17] RUN apt-get install -y openssh-server sudo 0.0s | |
=> CACHED [worker 9/17] RUN mkdir /var/run/sshd 0.0s | |
=> CACHED [worker 10/17] RUN echo 'root:docker' | chpasswd 0.0s | |
=> CACHED [worker 11/17] RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config 0.0s | |
=> CACHED [worker 12/17] RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd 0.0s | |
=> CACHED [worker 13/17] RUN echo "export VISIBLE=now" >> /etc/profile 0.0s | |
=> CACHED [worker 14/17] RUN rm -rf /uwsgi.conf 0.0s | |
=> CACHED [worker 15/17] ADD uwsgi.conf /uwsgi.conf 0.0s | |
=> CACHED [worker 16/17] RUN mkdir -p /var/log/uwsgi 0.0s | |
=> CACHED [worker 17/17] WORKDIR /home/web/django_project 0.0s | |
=> [worker] exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:434a3b4709a8ea68f4cfc0a0b02ca6607751431e2f3671624f210f54c4268dd9 0.0s | |
=> => naming to docker.io/library/qgis-plugins-worker 0.0s | |
=> [web internal] load build definition from Dockerfile 0.1s | |
=> => transferring dockerfile: 1.58kB 0.0s | |
=> [web internal] load .dockerignore 0.0s | |
=> => transferring context: 2B 0.0s | |
=> [devweb internal] load build definition from Dockerfile 0.1s | |
=> => transferring dockerfile: 1.58kB 0.0s | |
=> [devweb internal] load .dockerignore 0.1s | |
=> => transferring context: 2B 0.0s | |
=> [web internal] load build context 0.0s | |
=> => transferring context: 186B 0.0s | |
=> [devweb internal] load build context 0.0s | |
=> => transferring context: 186B 0.0s | |
=> CACHED [web 5/17] ADD REQUIREMENTS.txt /REQUIREMENTS.txt 0.0s | |
=> CACHED [web 6/17] RUN pip install -r /REQUIREMENTS.txt 0.0s | |
=> CACHED [web 7/17] RUN pip install uwsgi freezegun==1.3.1 0.0s | |
=> CACHED [web 8/17] RUN apt-get install -y openssh-server sudo 0.0s | |
=> CACHED [web 9/17] RUN mkdir /var/run/sshd 0.0s | |
=> CACHED [web 10/17] RUN echo 'root:docker' | chpasswd 0.0s | |
=> CACHED [web 11/17] RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config 0.0s | |
=> CACHED [web 12/17] RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd 0.0s | |
=> CACHED [web 13/17] RUN echo "export VISIBLE=now" >> /etc/profile 0.0s | |
=> CACHED [web 14/17] RUN rm -rf /uwsgi.conf 0.0s | |
=> CACHED [web 15/17] ADD uwsgi.conf /uwsgi.conf 0.0s | |
=> CACHED [web 16/17] RUN mkdir -p /var/log/uwsgi 0.0s | |
=> CACHED [web 17/17] WORKDIR /home/web/django_project 0.0s | |
=> [web] exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:b223c8381dc602a0162e1dcb4e9ab4ae06f81fa6bfa490a16d18528fc9201b5e 0.0s | |
=> => naming to docker.io/library/qgis-plugins-web 0.0s | |
=> [devweb] exporting to image 0.0s | |
=> => exporting layers 0.0s | |
=> => writing image sha256:12f93b84884d2e0c64faa9677844663de062ed2e1be76b605d6d5f13e4b9e32c 0.0s | |
=> => naming to docker.io/library/qgis-plugins-devweb 0.0s | |
------------------------------------------------------------------ | |
Running db in production mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 1/0 | |
✔ Container qgis-plugins-db Running | |
------------------------------------------------------------------ | |
Running in production mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 4/0 | |
✔ Container qgis-plugins-db Running 0.0s | |
✔ Container qgis-plugins-rabbitmq-1 Running 0.0s | |
✔ Container qgis-plugins-worker Running 0.0s | |
✔ Container qgis-plugins-web Running 0.0s | |
------------------------------------------------------------------ | |
Running db in production mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 1/0 | |
✔ Container qgis-plugins-db Running 0.0s | |
------------------------------------------------------------------ | |
Running in DEVELOPMENT mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 1/0 | |
✔ Container qgis-plugins-devweb Running 0.0s | |
------------------------------------------------------------------ | |
Running migrate static in production mode | |
------------------------------------------------------------------ | |
Operations to perform: | |
Apply all migrations: auth | |
Running migrations: | |
Applying contenttypes.0001_initial... OK | |
Applying auth.0001_initial... OK | |
Applying contenttypes.0002_remove_content_type_name... OK | |
Applying auth.0002_alter_permission_name_max_length... OK | |
Applying auth.0003_alter_user_email_max_length... OK | |
Applying auth.0004_alter_user_username_opts... OK | |
Applying auth.0005_alter_user_last_login_null... OK | |
Applying auth.0006_require_contenttypes_0002... OK | |
Applying auth.0007_alter_validators_add_error_messages... OK | |
Applying auth.0008_alter_user_username_max_length... OK | |
Applying auth.0009_alter_user_last_name_max_length... OK | |
Applying auth.0010_alter_group_name_max_length... OK | |
Applying auth.0011_update_proxy_permissions... OK | |
Operations to perform: | |
Apply all migrations: admin, auth, contenttypes, djangoratings, flatpages, geopackages, layerdefinitions, models, plugins, preferences, sessions, simplemenu, sites, styles, taggit, thumbnail, wavefronts | |
Running migrations: | |
Applying admin.0001_initial... OK | |
Applying admin.0002_logentry_remove_auto_add... OK | |
Applying admin.0003_logentry_add_action_flag_choices... OK | |
Applying djangoratings.0001_initial... OK | |
Applying djangoratings.0002_ipaddr_field... OK | |
Applying sites.0001_initial... OK | |
Applying flatpages.0001_initial... OK | |
Applying geopackages.0001_initial... OK | |
Applying geopackages.0002_auto_20201215_2123... OK | |
Applying geopackages.0003_rename_Review_model_and_file_field... OK | |
Applying geopackages.0004_auto_20210121_0227... OK | |
Applying geopackages.0005_auto_20210203_2142... OK | |
Applying geopackages.0006_add_uuid_field... OK | |
Applying geopackages.0007_populate_uuid_value... OK | |
Applying geopackages.0008_remove_uuid_null... OK | |
Applying layerdefinitions.0001_initial... OK | |
Applying models.0001_initial... OK | |
Applying models.0002_rename_Review_model_and_file_field... OK | |
Applying models.0003_auto_20210203_2142... OK | |
Applying models.0004_add_uuid_field... OK | |
Applying models.0005_populate_uuid_value... OK | |
Applying models.0006_remove_uuid_null... OK | |
Applying taggit.0001_initial... OK | |
Applying plugins.0001_initial... OK | |
Applying plugins.0002_pluginversiondownload... OK | |
Applying plugins.0003_plugin_allow_update_name... OK | |
Applying plugins.0002_plugins_feedback... OK | |
Applying plugins.0004_merge_20231122_0223... OK | |
Applying sites.0002_alter_domain_unique... OK | |
Applying preferences.0001_initial... OK | |
Applying preferences.0002_auto_20181220_0803... OK | |
Applying sessions.0001_initial... OK | |
Applying simplemenu.0001_initial... OK | |
Applying styles.0001_initial... OK | |
Applying styles.0002_auto_20201108_0521... OK | |
Applying styles.0003_stylereview_comment... OK | |
Applying styles.0004_auto_20201108_0742... OK | |
Applying styles.0005_style_modified_date... OK | |
Applying styles.0006_stylereview_require_action... OK 0.0s | |
Applying styles.0007_auto_20201109_0112... OK | |
Applying styles.0008_auto_20201215_2124... OK | |
Applying styles.0009_auto_20210121_0227... OK | |
Applying styles.0010_rename_Review_model_and_file_field... OK | |
Applying styles.0011_auto_20210203_2142... OK | |
Applying styles.0012_add_uuid_field... OK | |
Applying styles.0013_populate_uuid_value... OK | |
Applying styles.0014_remove_uuid_null... OK | |
Applying taggit.0002_auto_20150616_2121... OK | |
Applying taggit.0003_taggeditem_add_unique_index... OK | |
Applying thumbnail.0001_initial... OK | |
Applying wavefronts.0001_initial... OK | |
------------------------------------------------------------------ | |
Seed db with JSON data from /fixtures/*.json | |
------------------------------------------------------------------ | |
Installed 17 object(s) from 4 fixture(s) | |
(devbox) ╭─ in ~/git/qgis/QGIS-Django on matomo-integration✘✘✘ using «.venv» | |
╰─± devbox run dev | |
You can activate the virtual environment by running 'source $VENV_DIR/bin/activate' | |
You can activate the virtual environment by running 'source $VENV_DIR/bin/activate' | |
------------------------------------------------------------------ | |
Running db in production mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 1/0 | |
✔ Container qgis-plugins-db Running 0.0s | |
------------------------------------------------------------------ | |
Running in DEVELOPMENT mode | |
------------------------------------------------------------------ | |
[+] Building 0.0s (0/0) docker:default | |
[+] Running 1/0 | |
✔ Container qgis-plugins-devweb Running 0.0s | |
------------------------------------------------------------------ | |
Running in DEVELOPMENT mode | |
------------------------------------------------------------------ | |
Watching for file changes with StatReloader | |
Performing system checks... | |
System check identified no issues (0 silenced). | |
December 11, 2023 - 05:22:15 | |
Django version 2.2.25, using settings 'settings_docker' | |
Starting development server at http://0.0.0.0:8080/ | |
Quit the server with CONTROL-C. | |
Internal Server Error: / | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/django/template/defaulttags.py", line 1021, in find_library | |
return parser.libraries[name] | |
KeyError: 'matomo_tags' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner | |
response = get_response(request) | |
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response | |
response = self.process_exception_by_middleware(e, request) | |
File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/home/web/django_project/homepage.py", line 29, in homepage | |
"content": content, | |
File "/usr/local/lib/python3.7/site-packages/django/shortcuts.py", line 36, in render | |
content = loader.render_to_string(template_name, context, request, using=using) | |
File "/usr/local/lib/python3.7/site-packages/django/template/loader.py", line 62, in render_to_string | |
return template.render(context, request) | |
File "/usr/local/lib/python3.7/site-packages/django/template/backends/django.py", line 61, in render | |
return self.template.render(context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 171, in render | |
return self._render(context) | |
File "/usr/local/lib/python3.7/site-packages/django/test/utils.py", line 96, in instrumented_test_render | |
return self.nodelist.render(context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 937, in render | |
bit = node.render_annotated(context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 904, in render_annotated | |
return self.render(context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/loader_tags.py", line 127, in render | |
compiled_parent = self.get_parent(context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/loader_tags.py", line 124, in get_parent | |
return self.find_template(parent, context) | |
File "/usr/local/lib/python3.7/site-packages/django/template/loader_tags.py", line 104, in find_template | |
template_name, skip=history, | |
File "/usr/local/lib/python3.7/site-packages/django/template/engine.py", line 125, in find_template | |
template = loader.get_template(name, skip=skip) | |
File "/usr/local/lib/python3.7/site-packages/django/template/loaders/base.py", line 30, in get_template | |
contents, origin, origin.template_name, self.engine, | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__ | |
self.nodelist = self.compile_nodelist() | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist | |
return parser.parse() | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 478, in parse | |
raise self.error(token, e) | |
File "/usr/local/lib/python3.7/site-packages/django/template/base.py", line 476, in parse | |
compiled_result = compile_func(self, token) | |
File "/usr/local/lib/python3.7/site-packages/django/template/defaulttags.py", line 1078, in load | |
lib = find_library(parser, name) | |
File "/usr/local/lib/python3.7/site-packages/django/template/defaulttags.py", line 1025, in find_library | |
name, "\n".join(sorted(parser.libraries)), | |
django.template.exceptions.TemplateSyntaxError: 'matomo_tags' is not a registered tag library. Must be one of: | |
django.template.exceptions.TemplateSyntaxError: 'matomo_tags' is not a registered tag library. Must be one of: | |
admin_list | |
admin_modify | |
admin_static | |
admin_urls | |
avatar_exists | |
bootstrap_pagination | |
cache | |
flatpages | |
highlight | |
humanize | |
i18n | |
l10n | |
local_timezone | |
log | |
more_like_this | |
plugin_utils | |
plugins_tagcloud | |
range_filter | |
rating_filters | |
ratings | |
resources_custom_tags | |
rest_framework | |
rpctags | |
simplemenu_tags | |
smart_paginate | |
sorl_thumbnail | |
sort_anchor | |
static | |
staticfiles | |
styles_custom_tags | |
taggit_extras | |
thumbnail | |
tz | |
[11/Dec/2023 05:22:37] "GET / HTTP/1.1" 500 176449 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment