You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add-on orange3-pumice now usesorangecontrib.imageanalytics.widgets.owimageviewer.image_loader and ImageLoader for loading images (biolab/orange3-pumice#6). What about moving them and related functions to core Orange?
They may be useful in other add-ons, too. E.g., the Geo add-on includes an ImageLoader with a comment
# Mostly a copy from OWImageViewer in imageanalytics add-on
The text was updated successfully, but these errors were encountered:
qnam = ImageLoader.networkAccessManagerInstance()
future, deferred = image_loader(QUrl(url), qnam)
f = deferred()
w = FutureWatcher(f, )
w.done.connect(self.__on_future_done)
The signal is never triggered. One has to either set a parent, qnam.setParent(self), (bad: this instance is shared!) or set up another manager, e.g. QNetworkAccessManager(self).
Apparently, the parentless network access manager dies a premature death. Or I am misusing it.
Perhaps a network access manager should be created for the entire app?
Add-on orange3-pumice now uses
orangecontrib.imageanalytics.widgets.owimageviewer.image_loader
andImageLoader
for loading images (biolab/orange3-pumice#6). What about moving them and related functions to core Orange?They may be useful in other add-ons, too. E.g., the Geo add-on includes an
ImageLoader
with a commentThe text was updated successfully, but these errors were encountered: