Issue loading outputs

Problem loading the outputs from the algorithm.

Screen Shot 2015-06-18 at 17.03.10



In the AlgorithmDialog constructor, instead of copying the algorithm, a new instance is created and fed with the values from the “old” algorithm.

This new instance is used to run the algorithm in a separate thread. As far as I understand, after the algorithm is executed and before closing the dialog, the outputs will be loaded in order to put the results in a new layer. These outputs are loaded from the new instance of the algorithm, in other words it’s loaded the same way as before but instead of loading from the copy is loading from the new instance.

You can find the code on this branch (The relevant changes are on the AlgorithmDialog and GeoAlgorithm).

Any guess?


Screen Shot 2015-06-19 at 18.19.21

Exception raised

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s