Cadasta / cadasta-qgis-plugin

[DEPRECATED] QGIS plugin to create, edit, upload and download Cadasta projects
GNU General Public License v3.0
4 stars 7 forks source link

added release script #82

Closed meomancer closed 7 years ago

meomancer commented 7 years ago

hi @ismailsunni i'm not sure why when on directly copy to plugins model, it is broken (no module xxxxx), but when i import cadasta as softlink, it is work

here is the released zip cadasta.1.0.0.alpha.zip

Gustry commented 7 years ago

What is the name of the module missing ?

ismailsunni commented 7 years ago

Hi @meomancer

The problem is caused by the same name directory for the package. So, the directory structure in your package is: cadasta/cadasta/common/...

the plugin want to import logging like this: from cadasta.common.custom_logging import setup_logger

But, it won't find the common package in the first directory.

My suggestion would be change the package name directory to something like cadasta-qgis-plugin

meomancer commented 7 years ago

hi @ismailsunni thank you, it is working now PR updated