Skip to content
This repository has been archived by the owner. It is now read-only.

[Configuration] NeuroCurator crashes if configuration window closed at launch #95

Open
pafonta opened this issue Oct 4, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pafonta
Copy link
Contributor

pafonta commented Oct 4, 2018

NeuroCurator 0.4.5

Closing the configuration window at launch should not make NeuroCurator crash.

If this is the first launch, NeuroCurator could just close or starts with nothing loaded (maybe better for users who just want to take a look).

Steps:

  1. neurocurator.
  2. After the configuration window has been displayed, close it.

Stack trace:

Traceback (most recent call last):
  File "/Users/fonta/conda/envs/nc/lib/python3.7/site-packages/neurocurator/mainWin.py", line 173, in closeEvent
    window_settings = self.settings.config['WINDOW']
AttributeError: 'NoneType' object has no attribute 'config'
Abort trap: 6
@pafonta pafonta added the bug label Oct 4, 2018
@pafonta pafonta self-assigned this Oct 4, 2018
@pafonta pafonta added this to the v0.7.0 milestone Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant