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

takeout on U7 fails on rust #35

Open
luto opened this issue Nov 5, 2020 · 2 comments
Open

takeout on U7 fails on rust #35

luto opened this issue Nov 5, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@luto
Copy link
Member

luto commented Nov 5, 2020

$ uberspace tools version show rust
No version set for 'Rust', using default: 'stable'
takeout: Setting: Tool Versions
Traceback (most recent call last):
  File "/opt/uberspace/commands/uberspace-takeout", line 11, in <module>
    sys.exit(main())
  File "/opt/uberspace/python-venv-3.6/lib/python3.6/site-packages/uberspace_takeout/__main__.py", line 32, in main
    t.takeout(tar_path, args.username, args.skip_item)
  File "/opt/uberspace/python-venv-3.6/lib/python3.6/site-packages/uberspace_takeout/__init__.py", line 69, in takeout
    item.takeout()
  File "/opt/uberspace/python-venv-3.6/lib/python3.6/site-packages/uberspace_takeout/items/u7.py", line 108, in takeout
    version = re.search(r"'([0-9\.]+)'", out[0]).groups()[0]
AttributeError: 'NoneType' object has no attribute ‘groups’

"stable" does not match [0-9\.]+.

@luto luto added the bug Something isn't working label Nov 5, 2020
@luto
Copy link
Member Author

luto commented Nov 5, 2020

Takeout will likely be rewritten after the EOL on U6, so it's unclear, if we'll fix this.

@erikw
Copy link

erikw commented Nov 29, 2020

For me, there was further problems than rust and the workaround was to skip all tool versions:

$ uberspace takeout takeout --skip-item ToolVersions

@Uberspace Uberspace deleted a comment from noave Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants