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

AttributeError: 'RuntimeJob' object has no attribute 'queue_position' #48

Open
cqc-melf opened this issue Dec 20, 2022 · 3 comments
Open
Labels
bug Something isn't working

Comments

@cqc-melf
Copy link
Collaborator

New problem occurring sometimes on the CI with the remote checks:

See for example https://github.com/CQCL/pytket-qiskit/actions/runs/3739982145/jobs/6347818708#step:7:522

@cqc-melf cqc-melf added the bug Something isn't working label Dec 20, 2022
@cqc-alec
Copy link
Collaborator

Apparently this is a known issue with qiskit-terra: Qiskit/qiskit#7865

@sjdilkes
Copy link
Contributor

#53 comments out the use of job_monitor and performs a manual timed check on the RuntimeJob status attribute. This is only a temporary fix as the information we share is less descriptive than that provided by job_monitor, i.e. it does not give a queue position.

@cqc-melf
Copy link
Collaborator Author

This should be solved in the next qiskit release, in case we want to repair this on our end as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants