[Qgis-developer] QGis 1.8 Custom Feature Form
Justin Hubbard
justin at pyrotechsoftware.com
Mon Nov 26 12:40:16 PST 2012
Hi Tim
Thank you. Good idea. Here is a screenshot of the form init code,
[image: Inline image 1]
Here is also the code that executes just after loading the project. It is
in the plugin run method.
[image: Inline image 2]
If I zoom to a feature and click on it. and open the feature form, I get
the following error messages:
[image: Inline image 3]
[image: Inline image 4]
then the form loads, but obviously without executing the code in the init
function.
If I use the menu button to save the project / the shortcut key (Ctrl + S)
the form opens successfully.
I hope that this makes sense.
On Mon, Nov 26, 2012 at 10:13 PM, Tim Sutton <lists at linfiniti.com> wrote:
> Hi Justin
>
>
> 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?
>>
>
> It would probably be helpful if you can provide enough sample code that
> someone could replicate your problem, or at the least cut and past text of
> error messages so we can get a better idea of what is going on.
>
> Regards
>
> Tim
>
>
>> --
>>
>> 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
> ==============================================
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121126/c74205fc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 4781 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121126/c74205fc/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 14517 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121126/c74205fc/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13770 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121126/c74205fc/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 15068 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121126/c74205fc/attachment-0007.png>
More information about the Qgis-developer
mailing list