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

Standalone viewer: 'raw_dialog' referenced before assignment #382

Open
DanicaSTFC opened this issue Apr 10, 2024 · 0 comments
Open

Standalone viewer: 'raw_dialog' referenced before assignment #382

DanicaSTFC opened this issue Apr 10, 2024 · 0 comments
Labels

Comments

@DanicaSTFC
Copy link
Collaborator

When I upload a raw image correctly, I then try to uplaod another raw image (or the same again) and I get the following error

Traceback (most recent call last):
  File "...cilviewer\lib\site-packages\ccpi\viewer\standalone_viewer.py", line 52, in <lambda>
    image1_action.triggered.connect(lambda: self.setViewersInputFromDialog(self.viewers))
  File "...cilviewer\lib\site-packages\ccpi\viewer\ui\main_windows.py", line 260, in setViewersInputFromDialog
    image_file = self.selectImage()
  File "...cilviewer\lib\site-packages\ccpi\viewer\ui\main_windows.py", line 187, in selectImage
    raw_dialog.exec()
UnboundLocalError: local variable 'raw_dialog' referenced before assignment
@DanicaSTFC DanicaSTFC added the bug label Apr 10, 2024
@DanicaSTFC DanicaSTFC mentioned this issue Apr 10, 2024
3 tasks
@paskino paskino changed the title 'raw_dialog' referenced before assignment Standalone viewer: 'raw_dialog' referenced before assignment Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant