You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so ran into a couple things trying to get that new flux adapter working.
first is just a note on flux shenanigans in case you get questions: if in a virtualenv you do have to have cffi and pyyaml installed for import flux to work -> they are in the base python installs on the clusters and thus it worked for your example just fine, but they won't be if you spawn a clean virtual environment from those python installs. And boy were those stack traces pointing to flux's python unhelpful, lol
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
so ran into a couple things trying to get that new flux adapter working.
first is just a note on flux shenanigans in case you get questions: if in a virtualenv you do have to have cffi and pyyaml installed for import flux to work -> they are in the base python installs on the clusters and thus it worked for your example just fine, but they won't be if you spawn a clean virtual environment from those python installs. And boy were those stack traces pointing to flux's python unhelpful, lol
second, i think i found a bug in ats in the latest branch when i pulled in changes from python3->7.0.111 to get the new adapter. This new ats code parser appears to choke on our ats files: python3...release/7.0.111#diff-688de384e3480973c6f9e0c6a4ba14267b4ddcc5091a572d33d3ddc53693f73cL256
the sample that seems to crash it is a simple test collector:
import os
fnames=os.listdir('.')
for fname in fnames:
dies in here before it can do anything -> looks like it's execing incomplete chunks or something? i dunno, as i've not done much ast hacking before
Beta Was this translation helpful? Give feedback.
All reactions