sassoftware / sassoftware/pyviyatools

getfolderid produces 404 error (error code 11512) when two folders with exactly the same name exist

Open
#115 1 comment 0 reactions 1 assignee View on GitHub

@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

dupApplicationData
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.
404error_code_11512

Cheers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.