0 votes
316 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.
by nsevilla (320 points)
retagged by 2144 | 316 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.
by robertdemo (8.9k 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.
by datalab (21.6k 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" 
by martinkb (720 points)

449 questions

463 answers

473 comments

658 users

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

Categories