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

Upgrade 4.1.1 to 4.2 #7934

Closed
2 tasks done
jkoorts opened this issue Jul 27, 2022 · 2 comments
Closed
2 tasks done

Upgrade 4.1.1 to 4.2 #7934

jkoorts opened this issue Jul 27, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to the documentation.

Comments

@jkoorts
Copy link

jkoorts commented Jul 27, 2022

Describe the issue

  1. I read Upgrade from 4.1 to 4.2 (https://docs.weblate.org/en/latest/admin/upgrade.html#version-specific-instructions)
  2. That says I must read Generic upgrade instructions (https://docs.weblate.org/en/latest/admin/upgrade.html#generic-upgrade-instructions)
  3. Thats says to run pip install -U Weblate

Which does this:
Collecting Weblate
Using cached Weblate-4.13.1-py3-none-any.whl (27.0 MB)

But I thought I was upgrading to 4.2? What is this 4.13?

In anycase that fails with:

Collecting borgbackup!=1.2.0,<1.3,>=1.1.11
Using cached borgbackup-1.1.18.tar.gz (3.9 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "/tmp/pip-install-ofb05qse/borgbackup_e53536cce204473eb9c83ae22b991ce8/setup.py", line 183, in
raise Exception('Unable to find OpenSSL >= 1.0 headers. (Looked here: {})'.format(', '.join(possible_openssl_prefixes)))
Exception: Unable to find OpenSSL >= 1.0 headers. (Looked here: /usr, /usr/local, /usr/local/opt/openssl, /usr/local/ssl, /usr/local/openssl, /usr/local/borg, /opt/local, /opt/pkg, /opt/homebrew/opt/openssl@1.1)
[end of output]

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

  1. Go to '...'
  2. Scroll down to '...'
  3. Click on '...'
  4. See error

Expected behavior

To work

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Other

Weblate versions

bitnami@ip-172-31-6-243:/opt/bitnami/apps/weblate/weblate$ sudo /usr/bin/python3 manage.py list_versions
Traceback (most recent call last):
  File "manage.py", line 34, in <module>
    from weblate.runner import main
  File "/opt/bitnami/apps/weblate/weblate/weblate/__init__.py", line 22, in <module>
    from weblate.vcs.base import RepositoryException
  File "/opt/bitnami/apps/weblate/weblate/weblate/vcs/base.py", line 38, in <module>
    from weblate.vcs.ssh import SSH_WRAPPER
  File "/opt/bitnami/apps/weblate/weblate/weblate/vcs/ssh.py", line 25, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

Weblate deploy checks

bitnami@ip-172-31-6-243:/opt/bitnami/apps/weblate/weblate$ sudo /usr/bin/python3 manage.py check --deploy
Traceback (most recent call last):
  File "manage.py", line 34, in <module>
    from weblate.runner import main
  File "/opt/bitnami/apps/weblate/weblate/weblate/__init__.py", line 22, in <module>
    from weblate.vcs.base import RepositoryException
  File "/opt/bitnami/apps/weblate/weblate/weblate/vcs/base.py", line 38, in <module>
    from weblate.vcs.ssh import SSH_WRAPPER
  File "/opt/bitnami/apps/weblate/weblate/weblate/vcs/ssh.py", line 25, in <module>
    from distutils.spawn import find_executable
ModuleNotFoundError: No module named 'distutils.spawn'

Additional context

pip 22.2 from /opt/bitnami/python/lib/python3.7/site-packages/pip (python 3.7)

@nijel nijel self-assigned this Jul 28, 2022
@nijel nijel added the documentation Improvements or additions to the documentation. label Jul 28, 2022
@nijel
Copy link
Member

nijel commented Jul 28, 2022

You need to have OpenSSL 1.0 or newer headers, see system requirements in our installation guides.

@nijel nijel closed this as completed in 44c399d Jul 28, 2022
@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to the documentation.
Projects
None yet
Development

No branches or pull requests

2 participants