dialogos-project / dialogos

The DialogOS dialog system.
https://www.dialogos.app
GNU General Public License v3.0
21 stars 8 forks source link

Subgraph nodes cannot be copied #163

Open kastein opened 5 years ago

kastein commented 5 years ago

If I try to copy a whole subgraph node I get the following error message.

image

image

alexanderkoller commented 5 years ago

Could you post a minimal example? I just pushed a potential fix, but can't test it without your dialog.

kastein commented 5 years ago

The dialogue contains two subgraphs. The first subgraph contains a speech recognizer node and if I try to copy the subgraph with strg+c I get the error message mentioned above. Copying the second subgraph instead works without problems. This subgraphs doesn't contain a speech recgonizer node. I use Dialogos Version 2.0.5

copying.zip

alexanderkoller commented 5 years ago

Hi, as far as I can tell, the dialog you posted does not contain subgraphs. Could you double-check?

Yes, I think the bug comes from the speech recognizer nodes.

kastein commented 5 years ago

Oh, yes I'm sorry. I actually wanted to upload this file, the other one was the file for issue 164.

copy subgraphs.zip

alexanderkoller commented 5 years ago

Ok, now I can reproduce it.

alexanderkoller commented 5 years ago

A similar problem occurs if the user selects some nodes, including a speech recognizer node, and then selects Node -> Group nodes in the menu.