-
Notifications
You must be signed in to change notification settings - Fork 202
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
Quoting issues when using '--job' with GC3Pie #1438
Comments
Initial tests indicate that both issues disappear if
|
This is apparently a known issue, see hpcugent/vsc-base#152. |
@geimer: an attempt to fix this was made in hpcugent/vsc-base#151, but it didn't make it in... The gist of it was to define def shell_quote(token):
return "'%s'" % re.sub(r"(?<!\\)'", r"\'", str(token)) Can you check whether that fixes the problem you're having too? If so, I can make a new attempt at fixing it. |
@boegel: Yep, this unreadable piece of code fixes my issues as well ;-) |
@geimer so both errors occur when using |
@stdweird Yes, both happen with |
+1 on the latter: |
Using
|
@wpoely86: The issues may be related, but there is apparently a difference. I'm locally using the proposed fix from hpcugent/vsc-base#151 to get GC3Pie to work with my setup, but today also ran into problems with |
Any chance that hpcugent/vsc-base#151 gets revisited? This damn issue is hitting me every time I upgrade to a new EasyBuild version, which is really annoying... |
@wpoely86: The But first things first: It seems that the |
@wpoely86: Please reopen #1475. Using |
I'd like to give this issue another ping... What about monkey patching |
workaround for the quoting issue implemented in #1915 the problem with I figured out that this was caused by the incorrect type specification for the |
monkey patch shell_quote in vsc.utils.generaloption to fix #1438
@boegel Yes, I would consider it as fixed. Unless the "real" fix in |
real fix came in hpcugent/vsc-base#257 |
EasyBuild environment variables seem to be converted to command-line options when using
--job
with GC3Pie. However, quoting seems to be broken in some places. Below is a list of the issues I ran into (but there may be more, of course):Using
leads to
Here, the parens cause havoc:
Using
to get rid of the
all
default setting leads towhich in the end creates a directory called
""
in the modules path. This lets the sanity check fail (loading fake module failed
).The text was updated successfully, but these errors were encountered: