TR: geoapt crash

7 views
Skip to first unread message

PIERRE Sylvain

unread,
Apr 18, 2012, 3:58:14 AM4/18/12
to geoapt-...@googlegroups.com

 

 

Hello,

 

 

I’m trying to run geoapt but I get this error :

(I’m under windows and my IDE is pyscripter)

 

   self.treeview.setRootIndex(self.model.index(self.root));

TypeError: arguments did not match any overloaded call:

  QDirModel.index(int, int, QModelIndex parent=QModelIndex()): argument 1 has unexpected type 'NoneType'

  QDirModel.index(QString, int column=0): argument 1 has unexpected type 'NoneType'

 

I’m a python newbie and I try geoapt as an example of python Qgis api dev ;-)

So if someone could solve this problem…

Thanks

 

Sylvain PIERRE

CONSEIL GENERAL DU BAS-RHIN

Pôle Développement des Territoires

Direction de l'Espace Rural et de l'Environnement

SERVICE DE L'ADMINISTRATION GENERALE

Tél : 03.88.76.68.88

 

 

Reply all
Reply to author
Forward
0 new messages