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

SinkChannelError when inserting Corpus on a Data connection #241

Open
ajdapretnar opened this issue Aug 18, 2022 · 1 comment
Open

SinkChannelError when inserting Corpus on a Data connection #241

ajdapretnar opened this issue Aug 18, 2022 · 1 comment

Comments

@ajdapretnar
Copy link
Contributor

I apologize for the insufficient error description, but the workflow I am working on is big and full of bugs, so I am not entirely sure what causes this issue.

The set up is:
SVM (with a trained model), connected to Predictions, which is failing due to Corpus/Table incompatibility.
Then I try to insert a Corpus widget between SVM and Predictions (onto the Data channel) and I get the below error.

------------------------- SinkChannelError Exception --------------------------
Traceback (most recent call last):
  File "/Users/ajda/orange/orange-canvas-core/orangecanvas/document/commands.py", line 130, in redo
    self.scheme.add_link(self.link)
  File "/Users/ajda/orange/orange-canvas-core/orangecanvas/scheme/scheme.py", line 338, in add_link
    self.insert_link(len(self.__links), link)
  File "/Users/ajda/orange/orange-canvas-core/orangecanvas/scheme/scheme.py", line 295, in insert_link
    self.check_connect(link)
  File "/Users/ajda/orange/orange-canvas-core/orangecanvas/scheme/scheme.py", line 460, in check_connect
    raise SinkChannelError(
orangecanvas.scheme.errors.SinkChannelError: 'Data' is already connected.
-------------------------------------------------------------------------------
@ales-erjavec
Copy link
Collaborator

I cannot duplicate this. It might be a consequence of a previous error that left the workflow model in in inconsistent state.

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

No branches or pull requests

2 participants