Hi,

I have a python script that I wrote which routes from point A to B using the 
default tools in QGIS. If I go to the processing toolbox and open the dialog it 
runs fine and everything is great.

I also have a python plugin and I put a button in a toolbar to open the same 
script. It loads the dialog but when you try to run it the whole thing crashes 
out and QGIS disables my plugin.

Does anyone have any suggestions as to what I might have done wrong?

I’m assuming the issue is related to how I’m calling the script from my plugin 
rather than the script itself as it runs independently from the processing 
toolbox fine 😊

Any suggestions would be appreciated.

Paul Wittle
[cid:[email protected]]<https://www.dorsetcouncil.gov.uk/>
Business Solutions Analyst (GIS)
ICT Operations
Dorset Council
01305 228473 
<tel:01305%20228473%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20>
dorsetcouncil.gov.uk<https://www.dorsetcouncil.gov.uk>

[cid:[email protected]]<https://www.facebook.com/DorsetCouncilUK>
[cid:[email protected]]<https://instagram.com/DorsetCouncilUK>
[cid:[email protected]]<https://twitter.com/DorsetCouncilUK>

This e-mail and any files transmitted with it are intended solely for the use 
of the individual or entity to whom they are addressed. It may contain 
unclassified but sensitive or protectively marked material and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All traffic may be subject to recording and/or monitoring 
in accordance with relevant legislation. Any views expressed in this message 
are those of the individual sender, except where the sender specifies and with 
authority, states them to be the views of Dorset Council. Dorset Council does 
not accept service of documents by fax or other electronic means. Virus 
checking: Whilst all reasonable steps have been taken to ensure that this 
electronic communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council accepts no 
liability in respect of any loss, cost, damage or expense suffered as a result 
of accessing this message or any of its attachments. For information on how 
Dorset Council processes your information, please see 
www.dorsetcouncil.gov.uk/data-protection
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to