[Qgis-developer] QGis 1.8 Custom Feature Form

Tim Sutton lists at linfiniti.com
Tue Nov 27 22:12:36 PST 2012


Hi

You probably need to manipulate your sys.path to ensure that your form is
visible to python at plugin start, or move your form into the same
directory as your project file.

Regards

Tim


On Mon, Nov 26, 2012 at 9:02 PM, Justin Hubbard <justin at pyrotechsoftware.com
> wrote:

> I am developing a plugin, which uses a custom feature form with custom
> logic.
> The problem is that when I open the project (Automatic with the load of
> the plugin) and I try to open the feature form I get an import error that
> the module doesn't exist.
>
> If I click the save project button, and then try to open the feature form
> it works correctly.
> I have tried to trigger this save in the plugin code. The save works
> correctly, but unless I specifically click on the action, I get the same
> error.
>
> Am I missing something?
> --
>
> Warm regards
> *Justin Hubbard*
>
> *--*
>
>
>
>
>
> *Justin Hubbard*
>
> Software Engineer and Support
>
>
>
>   Mobile:
>
>   +27 (0)79 827 1657
>
>
>
>   Fax:
>
>   +27 (0)86 540 6016
>
>
>
>   Email:
>
>   justin at pyrotechsoftware.com <robert at plannermunicipalsoftware.co.za>
>
>
>
>   Web Site:
>
>   www.pyrotechsoftware.co <http://www.plannermunicipalsoftware.co.za/>m
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121128/7e778d65/attachment-0001.html>


More information about the Qgis-developer mailing list