sassoftware / sassoftware/pyviyatools
getfolderid produces 404 error (error code 11512) when two folders with exactly the same name exist
@gerrynelson63 is already working on this.
Since Oct 5, 2022.
- Dominant language
- Python
- Stars
- 50
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description

I've recently been developing the getpath.py script and a new script ('getcreator.py', which I'll share soon) and as part of my development both of these scripts will use getfolderid.py. Today I encountered a weird situation whereby a user had two "Application Data" directories in their user folder, and when getfolderid encountered this, it doesn't know which folder's objectURI it should return.
I don't think that this will be a common issue, but perhaps you would like to include a warning in the script or perhaps some error catching message which would explain what error code 11512 might have been caused by. Just a thought.

Cheers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.