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

Release process: translations are broken #1591

Open
humitos opened this issue Aug 14, 2024 · 0 comments
Open

Release process: translations are broken #1591

humitos opened this issue Aug 14, 2024 · 0 comments
Labels
Accepted Accepted issue on our roadmap Bug A bug
Milestone

Comments

@humitos
Copy link
Member

humitos commented Aug 14, 2024

Running python setup.py update_translations as our guide mentions fails with the following error:

running transifex
tx ERROR: configparser.NoOptionError: No option 'hostname' in section: 'https://app.transifex.com'
Traceback (most recent call last):
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/setup.py", line 88, in <module>
    setup(
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 177, in setup
    return run_commands(dist)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
    dist.run_commands()
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
    self.run_command(cmd)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/setup.py", line 68, in run
    self.run_command(cmd_name)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
    self.distribution.run_command(command)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command
    super().run_command(command)
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/.direnv/python-3.10.8/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.run()
  File "/home/humitos/rtfd/code/sphinx_rtd_theme/setup.py", line 84, in run
    subprocess.run(['tx', 'push', '--source'], check=True)
  File "/home/humitos/.asdf/installs/python/3.10.8/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['tx', 'push', '--source']' returned non-zero exit status 1.

I think this is because we are using an old Transifex client (written in Python).

@humitos humitos added Bug A bug Accepted Accepted issue on our roadmap labels Aug 14, 2024
@humitos humitos added this to the 3.0 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Accepted issue on our roadmap Bug A bug
Projects
None yet
Development

No branches or pull requests

1 participant