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

[Bug]: "Open" flag does not work if path has whitespace around it #669

Closed
3 tasks done
python357-1 opened this issue Dec 24, 2024 · 0 comments · Fixed by #670
Closed
3 tasks done

[Bug]: "Open" flag does not work if path has whitespace around it #669

python357-1 opened this issue Dec 24, 2024 · 0 comments · Fixed by #670
Labels
System: Linux For Linux/BSD distributions System: macOS For the macOS operating system Type: Bug Something isn't working as intended

Comments

@python357-1
Copy link
Collaborator

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

main (9.5)

Operating System & Version

Linux 6.1.0-28-amd64 x86_64 GNU/Linux (Debian)

Description

When starting TagStudio from the command line, if it is given a path that has whitespace around it, TagStudio does not open to that library and logs "Path does not exist".

Expected Behavior

TagStudio should be able to trim whitespace around paths it is given

Steps to Reproduce

  1. Make a tagstudio library (i.e. /home/person/TagStudioLib)
  2. Attempt to start TagStudio with that library (python3 tag_studio.py -o " /home/person/TagStudioLib" or, what visual studio code apparently does, python3 tag_studio.py -o\ /home/person/TagStudioLib)
  3. Observe that TagStudio starts with no library open and logs "Path does not exist. open_path=..."

Logs

No response

@python357-1 python357-1 added the Type: Bug Something isn't working as intended label Dec 24, 2024
@CyanVoxel CyanVoxel moved this to 🚧 In progress in TagStudio Development Dec 24, 2024
@CyanVoxel CyanVoxel added System: Linux For Linux/BSD distributions System: macOS For the macOS operating system labels Dec 24, 2024
@github-project-automation github-project-automation bot moved this from 🚧 In progress to ✅ Done in TagStudio Development Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
System: Linux For Linux/BSD distributions System: macOS For the macOS operating system Type: Bug Something isn't working as intended
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants