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

Initial setup fails on Windows with 'The system cannot find the path specified' #185

Closed
evenprimes opened this issue Feb 11, 2022 · 4 comments

Comments

@evenprimes
Copy link

Problem Statement

On a fresh install organize edit fails with 'The system cannot find the path specified'. The editor it attempted to open was notepad and it simply gave an untitled document that prompted for a save location.

Attempt to resolve

Running organize reveal opens explorer with a generic window, not showing any actual folder. I was hoping this would at least reveal the path that was needed so I could manually create the folder without doing a dive into the code.

System details

  • organize, version 2.0.9
  • Python 3.10.2
  • Shell is Powershell 7.2.1
  • Windows 10 (I think fully patched as of today)
@tfeldmann
Copy link
Owner

tfeldmann commented Feb 13, 2022

Thank you for reporting. Do you have a env variable ORGANIZE_CONFIG set?
What is the output of organize reveal --path?

@tfeldmann
Copy link
Owner

Could you please try again with the dev version?

pip3 install git+https://github.com/tfeldmann/organize.git

@tfeldmann
Copy link
Owner

Update is released. Please update and try again!

@evenprimes
Copy link
Author

evenprimes commented Feb 13, 2022

Do you have a env variable ORGANIZE_CONFIG set?

No

What is the output of organize reveal --path?
C:\Users\didge\AppData\Local\organize\organize\config.yaml

I updated to the most recent version with the same errors, and organize --version reporting v2.1.2. However, now that I know about the organize reveal --path subcommand, I created the .\organize\organize directories and I got prompted to create the file.

update: I did review the diffs between .12 and .10. I see what you did with the CONFIG_PATH in cli.py, and I don't understand exactly what didn't happen on my machine. (It took a second to realize why you were working with CONFIG_PATH.parent, but once I saw that, everything was quite clear.

i guess I'd suggest putting a note that the default config directory is in %localappdata%\organize\organize on windows. I'm going to test it out over the next few weeks and see how it works and if I keep using it, I'll try digging in on this further. Thanks!

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

No branches or pull requests

2 participants