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

SNS powder reduction Problems with python reading in file paths containing python escape characters #11593

Closed
lottiegreenwood opened this issue Dec 10, 2014 · 4 comments
Assignees
Labels
Framework Issues and pull requests related to components in the Framework Stale This label is automatically applied to issues that are automatically closed by the stale bot

Comments

@lottiegreenwood
Copy link

This issue was originally TRAC 10751

Windows specific due to the use of backslash.
\x is used as example below but any character that is considered special if within a string with '' before it will be a problem.

When mantid is reading in files using python, where the path name contains \x (e.g \xxu\datafiles...) in some circumstances it appears to to read it as a special escape character and throw a 'ValueError: invalid \x escape' error.

To replicate:

Put data in a folder which at some point in it's file path has an \x. Follow http://www.mantidproject.org/PowderDiffractionReduction using the data from that folder.

@lottiegreenwood
Copy link
Author

@NickDraper (2015-04-27T08:10:35):
Moved to R3.5 at the R3.4 code freeze

@lottiegreenwood lottiegreenwood added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@lottiegreenwood lottiegreenwood added this to the Release 3.5 milestone Jun 3, 2015
@NickDraper NickDraper modified the milestones: Release 3.5, Release 3.6 Sep 14, 2015
@NickDraper NickDraper modified the milestones: Release 3.6, Release 3.7 Jan 22, 2016
@NickDraper NickDraper changed the title Problems with python reading in file paths containing python escape characters SNS powder reduction Problems with python reading in file paths containing python escape characters Feb 18, 2016
@NickDraper
Copy link
Contributor

Verified still happens in R3.6

@NickDraper NickDraper modified the milestones: Release 3.7, Release 3.8 May 20, 2016
@NickDraper NickDraper modified the milestones: Release 3.8, Release 3.9 Oct 3, 2016
@NickDraper NickDraper modified the milestones: Release 3.9, Temporary Holding Oct 14, 2016
@NickDraper NickDraper removed this from the Temporary Holding milestone Oct 3, 2017
@stale
Copy link

stale bot commented Feb 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why.

To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label.

@stale stale bot added the Stale This label is automatically applied to issues that are automatically closed by the stale bot label Feb 23, 2021
@stale
Copy link

stale bot commented Mar 2, 2021

This issue has been closed automatically. If this still affects you please re-open this issue with a comment so we can look into resolving it.

@stale stale bot closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework Stale This label is automatically applied to issues that are automatically closed by the stale bot
Projects
None yet
Development

No branches or pull requests

3 participants