[Qgis-user] Problem with adding parent algorithms in Processing Graphical Modeller

Järnefelt Jouko Jouko.Jarnefelt at tampere.fi
Tue Nov 25 03:03:23 PST 2014


Hi all,

just asking again if someone could confirm that assigning parent algoritms in Graphical Modeller is working in QGIS 2.6 (W7 64bit)? I haven’t been able to assign parent algorithms in any model that I have been trying to create. After adding parent algorithm I get python error as described in earlier post. I have installed QGIS 2.6 through OSGeo4W-installer and as standalone version for two different computers. On both computers I get the same error message. I have gone through folder settings and everything else seems to be alright. Individual algorithms through processing toolbox are working just fine.

In version 2.2 everything was fine (the version I used before updating to 2.6).

Cheers,
Jouko

Lähettäjä: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] Puolesta Järnefelt Jouko
Lähetetty: 19. marraskuuta 2014 15:47
Vastaanottaja: qgis-user
Aihe: [Qgis-user] Problem with adding parent algorithms in Processing Graphical Modeller

Hi,

I’m running into problem with Processing Graphical Modeller when I’m trying to assign parent algorithms to any algorithm. Every time I do this and click OK to return to modeler window I get Python error as described below. Now I’m wondering if I should try reinstalling QGIS or do I have problem with python in my computer or are some folder settings wrong? Or can someone else confirm this kind of problem and should I open a ticket for it? I’m not able to test this in any other computer at this time.

I have installed QGIS 2.6 via OSGeo4W64-installer and I’m running on Windows 7 (64bit). I think I should have installed all dependencies as they should. In this computer I have never had QGIS installed before.

An error has occured while executing Python code:
Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerGraphicItem.py", line 353, in mousePressEvent
    self.action()
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerGraphicItem.py", line 182, in editElement
    self.model.updateModelerView()
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerAlgorithm.py", line 464, in updateModelerView
    self.modelerdialog.repaintModel()
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerDialog.py", line 345, in repaintModel
    self.scene.paintModel(self.alg)
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\modeler\ModelerScene.py", line 108, in paintModel
    arrow = ModelerArrowItem(self.algItems[depend], -1,
KeyError: 'Select by location' << The name of algorithm is varying depending on which algorithm I’m trying to assign the parent algorithm.
Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
QGIS version:
2.6.0-Brighton Brighton, exported

Python path: ['C:/OSGEO4~1/apps/qgis/./python/plugins\\processing', 'C:/OSGEO4~1/apps/qgis/./python', u'C:/Users/JOUKOJAR/.qgis2/python', u'C:/Users/JOUKOJAR/.qgis2/python/plugins', 'C:/OSGEO4~1/apps/qgis/./python/plugins', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\python_dateutil-2.1-py2.7.egg', 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', 'C:\\OSGEO4~1\\apps\\orfeotoolbox\\python', 'C:\\OSGEO4~1\\bin', 'C:\\OSGEO4~1\\bin\\python27.zip', 'C:\\OSGEO4~1\\apps\\Python27\\DLLs', 'C:\\OSGEO4~1\\apps\\Python27\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\plat-win', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGEO4~1\\apps\\Python27', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', 'C:\\Users\\JOUKOJAR\\.qgis2\\python\\plugins\\MetaSearch\\ext-libs', 'C:\\Users\\JOUKOJAR\\.qgis2\\python\\plugins\\mmqgis/forms', 'C:\\OSGEO4~1\\apps\\qgis\\python\\plugins\\fTools\\tools']

Thanks to all who will reply!
Jouko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141125/4f6eab4a/attachment.html>


More information about the Qgis-user mailing list