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: SpecWriterCallback2 write_new_scan_header undefined #1032

Closed
prjemian opened this issue Oct 28, 2024 · 0 comments · Fixed by #1033
Closed

AttributeError: SpecWriterCallback2 write_new_scan_header undefined #1032

prjemian opened this issue Oct 28, 2024 · 0 comments · Fixed by #1033
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

  File "/home/beams/8IDIUSER/.conda/envs/qz_test_bluesky/lib/python3.11/site-packages/apstools/callbacks/callback_base.py", line 94, in receiver
    handler(doc)
  File "/home/beams/8IDIUSER/.conda/envs/qz_test_bluesky/lib/python3.11/site-packages/apstools/callbacks/spec_file_writer.py", line 840, in stop
    self.write_scan_header()
  File "/home/beams/8IDIUSER/.conda/envs/qz_test_bluesky/lib/python3.11/site-packages/apstools/callbacks/spec_file_writer.py", line 1032, in write_scan_header
    if not self.write_new_scan_header:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SpecWriterCallback2' object has no attribute 'write_new_scan_header'
Failed to close run <bluesky.bundlers.RunBundler object at 0x7f451ee06650>.
AttributeError: 'SpecWriterCallback2' object has no attribute 'write_new_scan_header'
@prjemian prjemian added the bug label Oct 28, 2024
@prjemian prjemian self-assigned this Oct 29, 2024
@prjemian prjemian added this to the 1.7.2 milestone Oct 29, 2024
prjemian added a commit that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant