[Qgis-developer] QGis 1.8 Custom Feature Form
Justin Hubbard
justin at pyrotechsoftware.com
Tue Nov 27 22:31:11 PST 2012
Hi
I will try to modify the Sys.Path
The Form is in the same directory as the project though.
On Wed, Nov 28, 2012 at 8:12 AM, Tim Sutton <lists at linfiniti.com> wrote:
> 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
> ==============================================
>
--
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/20121128/e468b597/attachment.html>
More information about the Qgis-developer
mailing list