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

Network explorer keeps selection after data is removed #111

Open
janezd opened this issue Mar 9, 2019 · 1 comment · May be fixed by #184
Open

Network explorer keeps selection after data is removed #111

janezd opened this issue Mar 9, 2019 · 1 comment · May be fixed by #184
Assignees

Comments

@janezd
Copy link
Contributor

janezd commented Mar 9, 2019

The problem manifests like this:

TypeError:  object of type 'NoneType' has no len()
(7 additional frame(s) were not displayed)
...
  Module "Orange.widgets.gui", in unconditional_commit
    do_commit()
  Module "Orange.widgets.gui", in do_commit
    commit()
  Module "Orange.widgets.visualize.utils.widget", in commit
    self.send_data()
  Module "orangecontrib.network.widgets.OWNxExplorer", in send_data
    super().send_data()
  Module "Orange.widgets.visualize.utils.widget", in send_data
    group_sel = np.zeros(len(data), dtype=int)

The trace comes from sentry, hence no instructions to reproduce.

OWDataProjectionWidget expects that if graph.selection is not None, then self._get_projection_data() doesn't return None. Network explorer apparently violates this.

@janezd
Copy link
Contributor Author

janezd commented Feb 13, 2024

Also note that the Color combo is not cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant