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

acreate #23

Closed
moravveji opened this issue Jan 3, 2019 · 5 comments
Closed

acreate #23

moravveji opened this issue Jan 3, 2019 · 5 comments

Comments

@moravveji
Copy link

Hi.

Apparently, with atools/1.4.5 the acreate command is built against a python version which does not recognize the "sys" package (or not imported). The main issue is reported in service desk ticket 31609268.

$ acreate single_RG.pbs > single_RG_puls.pbs Traceback (most recent call last):  File "/vsc-hard-mounts/leuven-apps/skylake/2018a/software/atools/1.4.5/bin/../lib/acreate.py", line 73, in <module>    sys.stderr.write(msg) NameError: name 'sys' is not defined

Thanks
Ehsan

@gjbex
Copy link
Owner

gjbex commented Jan 3, 2019

Hi @moravveji ,

Fixed in release 1.4.6, it was a missing import, every Python release I've worked with has a sys module ;)

I've also done a quick and dirty fix on genius into the existing 1.4.5 installation (yes, I'm lazy, but then again, I'm still on holidays ;)

Thanks, best regards, -gjb-

@gjbex gjbex closed this as completed Jan 3, 2019
@moravveji
Copy link
Author

Thanks for the quick fix, specially in between your holiday period.
So far, I naively thought that packages like sys, os, and friends ship with the basic Python installation (on the OS or as external builds); this example proved me wrong!
Here, atools is relying on the OS python, isn't it?

E.

@gjbex
Copy link
Owner

gjbex commented Jan 3, 2019 via email

@wpoely86
Copy link
Contributor

wpoely86 commented Jan 3, 2019

I can highly recommend pyflakes/pylint/... integration in your editor. It points these kind of errors.

@gjbex
Copy link
Owner

gjbex commented Jan 3, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants