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

Path Error on Export #10

Open
nabakolu opened this issue Oct 24, 2024 · 5 comments
Open

Path Error on Export #10

nabakolu opened this issue Oct 24, 2024 · 5 comments

Comments

@nabakolu
Copy link

nabakolu commented Oct 24, 2024

When trying to export a map to an SVG or PNG, follwing error appears:

Export Failed
Path Error: unable to determine base dir path

This happens on the Appimage version under Arch Linux

@MichaelMakesGames
Copy link
Owner

A while back, another user had an issue, related to their XDG dirs. Would you mind sharing your config? By default it should be in ~/.config/user-dirs.dirs, but it could be elsewhere if XDG_CONFIG_HOME is set

@nabakolu
Copy link
Author

XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

@MichaelMakesGames
Copy link
Owner

MichaelMakesGames commented Oct 25, 2024

Could you try setting your XDG_PICTURES_DIR to a value other than your home dir? For some reason, that fixed the issue for someone else

@nabakolu
Copy link
Author

Yea setting that to something different works

@MichaelMakesGames
Copy link
Owner

That's very weird. I'm going to do a major version upgrade of the library that handles all the OS io stuff, hopefully that fixes it. So, I won't investigate this further for now, but I'll keep the issue open so I remember to investigate again after the upgrade

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

No branches or pull requests

2 participants