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

get_project throwing InvalidPathError #377

Open
jamesrkg opened this issue Jan 10, 2020 · 1 comment
Open

get_project throwing InvalidPathError #377

jamesrkg opened this issue Jan 10, 2020 · 1 comment
Assignees
Labels

Comments

@jamesrkg
Copy link

To protect client names I will send the list of examples separately, but it appears to be anything non-ASCII. In my case I cam getting the names from the index of another folder, so this isn't something I am putting in manually, the unicode is comming directly from another Crunch resource.

@jamesrkg
Copy link
Author

jamesrkg commented Sep 2, 2021

@xbito any chance we can get a fix for this? The following fails, for example, because of the +:

>>> scrunch.get_project(u'YouGov Profiles|USA|Profiles+ USA')
...\scrunch\scrunch\order.pyc in __init__(self, path)
     25         if not regex_match:
     26             raise InvalidPathError(
---> 27                 'Invalid path %s: it contains invalid characters.' % path
     28             )
     29 

InvalidPathError: Invalid path |USA|Profiles+ USA: it contains invalid characters.

jjdelc added a commit that referenced this issue Sep 2, 2021
xbito added a commit that referenced this issue Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants