Skip to content
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

manage.py file is unusuable #4982

Closed
eqMFqfFd opened this issue Dec 5, 2020 · 3 comments
Closed

manage.py file is unusuable #4982

eqMFqfFd opened this issue Dec 5, 2020 · 3 comments
Labels
question This is more a question for the support than an issue.

Comments

@eqMFqfFd
Copy link

eqMFqfFd commented Dec 5, 2020

Describe the bug

First, the manage.py files gives an error:

Non-ASCII character \xc2 in file .manage.py on line 3 but no encoding declared.

Possibly grapheme in @nijel 's name?

Secondly, the manage.py file says:

No module named weblate.runner

When you try to execute the file with ./manage.py I have activated the virtual environment and placed the manage.py in the /weblate-env/bin folder for consideration.

To Reproduce the bug

Steps to reproduce the behavior:

  1. Go to the weblate venv folder.
  2. Place the manage.py from the repository.
  3. Run the ./manage.py command.
  4. See errors.

Expected behavior

These errors should not show.

 Weblate: 4.3.2
 * Django: 3.1.3
 * siphashc: 2.1
 * Whoosh: 2.7.4
 * translate-toolkit: 3.2.0
 * lxml: 4.6.1
 * Pillow: 8.0.1
 * bleach: 3.2.1
 * python-dateutil: 2.8.1
 * social-auth-core: 3.3.3
 * social-auth-app-django: 4.0.0
 * django-crispy-forms: 1.9.2
 * oauthlib: 3.1.0
 * django-compressor: 2.4
 * djangorestframework: 3.12.2
 * django-filter: 2.4.0
 * django-appconf: 1.0.4
 * user-agents: 2.2.0
 * filelock: 3.0.12
 * setuptools: 50.3.2
 * jellyfish: 0.8.2
 * openpyxl: 3.0.5
 * celery: 4.4.7
 * kombu: 4.6.11
 * translation-finder: 2.5
 * weblate-language-data: 2020.11
 * html2text: 2020.1.16
 * pycairo: 1.20.0
 * pygobject: 3.38.0
 * diff-match-patch: 20200713
 * requests: 2.24.0
 * django-redis: 4.12.1
 * hiredis: 1.1.0
 * sentry_sdk: 0.19.3
 * Cython: 0.29.21
 * misaka: 2.1.1
 * Platform: Linux 4.15.0-126-generic (x86_64)
@nijel nijel added the question This is more a question for the support than an issue. label Dec 7, 2020
@nijel
Copy link
Member

nijel commented Dec 7, 2020

Non-ASCII character \xc2 in file .manage.py on line 3 but no encoding declared.

Weblate requires Python 3.

@nijel nijel closed this as completed Dec 7, 2020
@github-actions
Copy link

github-actions bot commented Dec 7, 2020

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.

  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

nijel added a commit that referenced this issue Dec 7, 2020
Just in case there is somebody not using virtualenv and still having
Python 2 as default.

See #4982
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue.
Projects
None yet
Development

No branches or pull requests

2 participants