0 votes
180 views
Sorry, I haven't been able to find a clear example in the documentation or the forum on how to do this. I did try, for instance:

qc.abort(jobId='vcfvxqj348eqvrzd')

and this returns

"Error: global name 'profile' is not defined

Also tried introducing the token in the arguments, as the command help suggests.
asked Jun 8, 2022 by nsevilla (320 points)
retagged Jun 9, 2022 by nsevilla | 180 views

3 Answers

0 votes
Hi thanks for reaching out. I confirm that I, too, get the "global name 'profile' is not defined" message when I try to use qc.abort(jobId). We are investigating the issue and will post a resolution here.
answered Jun 13, 2022 by robertdemo (5,160 points)
0 votes
Sorry for the long reply to this, however this problem should now be fixed on our production systems.  Please let us know if you still have an issue.
answered Aug 8, 2022 by datalab (19,200 points)
0 votes

I tried aborting a job myself. After printing all jobs with

print(qc.jobs(status='all'))

 and picking a jobId that is still 'EXECUTING'

qc.abort(jobId='****************')

returns the error message

"Error: global name 'headers' is not defined" 
answered Aug 10, 2022 by martinkb (520 points)

359 questions

372 answers

385 comments

2,427 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.