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

Changing login name prevents Airshipper from working #138

Open
bronson opened this issue Apr 13, 2021 · 1 comment
Open

Changing login name prevents Airshipper from working #138

bronson opened this issue Apr 13, 2021 · 1 comment
Labels
type: bug Something is not working as it should.

Comments

@bronson
Copy link

bronson commented Apr 13, 2021

Describe the bug

After I changed my login name, Airshipper could no longer download and run Veloren.

To Reproduce
Steps to reproduce the behavior:

  1. log in as root
  2. mv /home/oldname /home/newname
  3. chown -r newname /home/newname
  4. finally, update your home directory in /etc/passwd

Expected behavior

I'd expect Airshipper to continue to work, or at least complain about being unable to find the download destination directory. Instead, when I try to update, it says only, Error occurred. Give it a retry.

Desktop (please complete the following information):

  • OS: MacOS
  • GPU: AMD Radeon Pro 5500M 4 GB

Additional context
It's due to the absolute paths stored in these .ron files:

  • airshipper_state.ron: active_profile.default
  • profiles/default/userdata/voxygen/settings.ron: log.logspath, screenshots_path

When I update them, Airshipper works normally again.

Quickly glancing through other apps storing data in ~/Library/Application Support, VS Code uses two conventions: ~/path and %APP_SETTINGS_HOME%/path. The other apps seem to avoid storing absolute paths in their application support and preferences files at all.

@bronson bronson added the type: bug Something is not working as it should. label Apr 13, 2021
@Songtronix Songtronix added type: bug Something is not working as it should. and removed type: bug Something is not working as it should. labels Apr 13, 2021
@Songtronix
Copy link
Contributor

Hopefully fixed by #158 to be included in the 0.4.3 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is not working as it should.
Projects
None yet
Development

No branches or pull requests

2 participants