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
When I want to open the component-List of a project, I get an internal server error. This happens for all configured projects. If the user has the project configured as watched project, the components are getting listet on the dashboard an stepping directly to the works like expected.
The projects are configured with "private" access control but it doesn't make a difference if set to "public".
To Reproduce
Steps to reproduce the behavior:
Go to 'Projects' -> 'Browse all projects'
Click on any project
See error
Expected behavior
The list of the components for the project
Server configuration and status
Installation is done via pip3 on debian 10
***weblate list_versions
<VirtualHost *:80>
ServerAdmin irrelevant
ServerName irrelevant
# DATA_DIR/static/favicon.ico
Alias /favicon.ico /usr/local/lib/python3.7/dist-packages/weblate/static/favicon.ico
# DATA_DIR/static/
Alias /static/CACHE/ /var/lib/weblate/static/CACHE/
<Directory /var/lib/weblate/static/CACHE/>
Require all granted
</Directory>
Alias /static/admin/ /usr/local/lib/python3.7/dist-packages/django/contrib/admin/static/admin/
<Directory /usr/local/lib/python3.7/dist-packages/django/contrib/admin/static/admin/>
Require all granted
</Directory>
Alias /static/ /usr/local/lib/python3.7/dist-packages/weblate/static/
<Directory /usr/local/lib/python3.7/dist-packages/weblate/static/>
Require all granted
</Directory>
# DATA_DIR/media/
Alias /media/ /var/lib/weblate/media/
<Directory /var/lib//weblate/media/>
Require all granted
</Directory>
WSGIDaemonProcess weblate python-path=/usr/local/lib/python3.7/dist-packages/weblate/
WSGIProcessGroup weblate
WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /usr/local/lib/python3.7/dist-packages/weblate/wsgi.py process-group=weblate
WSGIPassAuthorization On
<Directory /usr/local/lib/python3.7/dist-packages/weblate/>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
TimeOut 3600
ProxyTimeOut 3600
</VirtualHost>
Weblate deploy checks
weblate check --deploy
System check identified some issues:
WARNINGS:
?: (security.W004) You have not set a value for the SECURE_HSTS_SECONDS setting. If your entire site is served only over SSL, you may want to consider setting a value and enabling HTTP Strict Transport Security. Be sure to read the documentation first; enabling HSTS carelessly can cause serious, irreversible problems.
?: (security.W008) Your SECURE_SSL_REDIRECT setting is not set to True. Unless your site should be available over both SSL and non-SSL connections, you may want to either set this setting True or configure a load balancer or reverse-proxy server to redirect all connections to HTTPS.
?: (security.W012) SESSION_COOKIE_SECURE is not set to True. Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.
?: (weblate.W025.ass) Failure in loading handler for ass file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W025.ini) Failure in loading handler for ini file format: Missing iniparse library.
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W025.islu) Failure in loading handler for islu file format: Missing iniparse library.
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W025.srt) Failure in loading handler for srt file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W025.ssa) Failure in loading handler for ssa file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W025.sub) Failure in loading handler for sub file format: aeidon or gaupol package required for Subtitle support
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#optional-deps
?: (weblate.W033.GitHub) Failure in loading VCS module for GitHub: [Errno 2] No such file or directory: 'hub': 'hub'
HINT: https://docs.weblate.org/en/weblate-4.1.1/vcs.html
?: (weblate.W033.GitLab) Failure in loading VCS module for GitLab: [Errno 2] No such file or directory: 'lab': 'lab'
HINT: https://docs.weblate.org/en/weblate-4.1.1/vcs.html
?: (weblate.W033.Mercurial) Failure in loading VCS module for Mercurial: [Errno 2] No such file or directory: 'hg': 'hg'
HINT: https://docs.weblate.org/en/weblate-4.1.1/vcs.html
?: (weblate.W033.Subversion) Failure in loading VCS module for Subversion: git: 'svn' is not a git command. See 'git --help'.
The most similar command is
serve
(1)
HINT: https://docs.weblate.org/en/weblate-4.1.1/vcs.html
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/install.html#collecting-errors
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-4.1.1/admin/backup.html
System check identified 15 issues (1 silenced).
Exception traceback
ERROR Internal Server Error: /projects/irrelevant/
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.7/dist-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/dist-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.7/dist-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/weblate/trans/views/basic.py", line 169, in show_project
components = prefetch_tasks(prefetch_stats(get_paginator(request, all_components)))
File "/usr/local/lib/python3.7/dist-packages/weblate/trans/models/component.py", line 164, in prefetch_tasks
lookup[item].__dict__["background_task"] = AsyncResult(value)
File "/usr/local/lib/python3.7/dist-packages/celery/result.py", line 99, in __init__
'AsyncResult requires valid id, not {0}'.format(type(id)))
ValueError: AsyncResult requires valid id, not <class 'NoneType'>
Additional context
The system has been set up last week with all the configurations and users set up from scratch. Authentication is done via ldap.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I want to open the component-List of a project, I get an internal server error. This happens for all configured projects. If the user has the project configured as watched project, the components are getting listet on the dashboard an stepping directly to the works like expected.
The projects are configured with "private" access control but it doesn't make a difference if set to "public".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The list of the components for the project
Server configuration and status
Installation is done via pip3 on debian 10
***weblate list_versions
apache-config
Weblate deploy checks
Exception traceback
Additional context
The system has been set up last week with all the configurations and users set up from scratch. Authentication is done via ldap.
The text was updated successfully, but these errors were encountered: