qwat / QWAT

TEKSI Water module (project QWAT) - QGIS project
https://www.teksi.ch
GNU General Public License v2.0
58 stars 31 forks source link

Hello #2

Closed tudorbarascu closed 9 years ago

tudorbarascu commented 10 years ago

Hi and thank you for your really nice work, I am trying to get the qWat plugin working without success. Steps: clone https://github.com/3nids/qWat cd qWat git submodule init git update make all make deploy Couldn't load plugin qwat due an error when calling its classFactory() method

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 204, in startPlugin plugins[packageName] = package.classFactory(iface) File "/home/web/.qgis2/python/plugins/qwat/init.py", line 4, in classFactory from qwat import qWat File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/web/.qgis2/python/plugins/qwat/qwat.py", line 33, in from gui.mysettingsdialog import MySettingsDialog File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: No module named mysettingsdialog

Should I have taken other steps?

3nids commented 10 years ago

Hi, The plugin has to be redone from scratch. I have the intention of working on this next month. It is unusable right now. By the way, did you implement the data model? Cheers Denis

tudorbarascu commented 10 years ago

Hi, I passed over the error as I notice the plugin is dependent of code from your qsearch and itembrowser plugin. I passed through several errors but as I just read your message I will wait for it. I am still working on the data model as I am slowly turning my data model into your data model but as I'm on production mode (also need to propagate changes to Desktop, Web client and Roam app) it is a little sluggish. I am on it though. All the best, Tudor

leshobster commented 9 years ago

Hi, I've been trying to make this plugin work, but I've stumbled into the same error - ImportError: No module named mysettingsdialog. Are there any updates on this issue?

tudorbarascu commented 9 years ago

Hi, The plugin is obsolete. You just need the database model and the qgs project. See https://github.com/qwat/qWat/pull/20 for more details.