navigating-stories / orange-story-navigator

Add-on to the Orange3 data mining toolkit with text processing widgets from the project Navigating Stories
https://research-software-directory.org/projects/navigating-stories
Other
2 stars 2 forks source link

unexpected error when opening the actors widget #47

Closed f-hafner closed 6 months ago

f-hafner commented 6 months ago
Story Navigator version

0.0.18

Orange version

3.36.2 Orange-text version: 1.15.0 Orange-network version: 1.9.0

Expected behavior

I think the error occurs because after choosing the elements widget I forgot to extract the elements --> can the tool give a reminder like “extract the elements” instead of giving an error?

Actual behavior

I imported a story and wanted to run an analysis but when opening the actors widget an ‘unexpected error’ occured

Steps to reproduce the behavior
  1. import file
  2. select elements widget
  3. connect file with ‘elements’
  4. import dictionary
  5. connect dictionary to elements
  6. select actors widget
  7. connect elements to actors (line stays red)
  8. connect document to actors --> error
Additional info (worksheets, data, screenshots, ...)

I noticed that you first have to connect your file to the widget and only then the elements. If you do this in the reverse order than you will get an error

image
kodymoodley commented 6 months ago

I think this is not a bug. The elements need to be computed first before connecting to Actor widget.

kodymoodley commented 6 months ago

Need to click on "Extract story elements" button

kodymoodley commented 6 months ago

Resolved. Not a bug. Incorrect usage of elements widget related to problem in https://github.com/navigating-stories/orange-story-navigator/issues/42