-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Networks gives error #33352
Comments
Please report this issue in the plugin bugtracker. QGIS bugtracker used to report only QGIS issues, not issues of the 3rd party plugins |
Tell the author to do |
Seems just done!?
self.alglist = [ReseauTi(),
AjoutChamp(),
ConcatReseaux(),
....
]
....
def loadAlgorithms(self):
"""
Loads all algorithms belonging to this provider.
"""
for alg in self.alglist:
self.addAlgorithm( alg ) <----Error points
.....
… Il 12 dicembre 2019 alle 18.36 Étienne Trimaille ***@***.***> ha scritto:
Tell the author to do self.addAlgorithm(ExampleProcessingAlgorithm()) to fix the bug
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #33352?email_source=notifications&email_token=ACD356TWZMLDIVNFUZNRDN3QYJZDHA5CNFSM4JZ5SLTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXN55Q#issuecomment-565108470 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD356V35SKFI6NBVCQR6FDQYJZDHANCNFSM4JZ5SLTA .
|
No, remove the use of self.addAlgorithm( AjoutChamp() )
self.addAlgorithm( ConcatReseaux() ) It's about Processing coded in C++ which is loading some Python reference about your Processing algorithms. You need to give the object directly. |
I change the code and It works ;-)))
Thanks for the support.
natan
… Il 13 dicembre 2019 alle 14.26 Étienne Trimaille ***@***.***> ha scritto:
No, remove the use of alglist like I said and do
self.addAlgorithm( AjoutChamp() )
self.addAlgorithm( ConcatReseaux() )
It's about Processing coded in C++ which is loading some Python reference about your Processing algorithms. You need to give the object directly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #33352?email_source=notifications&email_token=ACD356QIGIRVRXKH7RODP5LQYOERVA5CNFSM4JZ5SLTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGZ7AGY#issuecomment-565440539 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACD356VC4FY3AGNKDDLFH43QYOERVANCNFSM4JZ5SLTA .
|
Hi to all!
When change SR in "settings options chane SR" apply we obtain that python error:
RuntimeError: wrapped C/C++ object of type ReseauTi has been deleted
Traceback (most recent call last):
File "C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\networks\networks_provider.py", line 139, in loadAlgorithms self.addAlgorithm( alg )
RuntimeError: wrapped C/C++ object of type ReseauTi has been deleted
Versione Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
Versione di QGIS: 3.4.13-Madeira Madeira, 64ad560
Percorso Python:
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\networks
C:/PROGRA
1/QGIS 3.4/apps/qgis-ltr/./python1/QGIS 3.4/apps/qgis-ltr/./python/pluginsC:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA
C:\Program Files\QGIS 3.4\bin\python37.zip
C:\PROGRA
1\QGIS 3.4\apps\Python37\DLLs1\QGIS 3.4\apps\Python37\libC:\PROGRA
C:\Program Files\QGIS 3.4\bin
C:\PROGRA
1\QGIS 3.4\apps\Python371\QGIS 3.4\apps\Python37\lib\site-packagesC:\PROGRA
C:\PROGRA
1\QGIS 3.4\apps\Python37\lib\site-packages\win321\QGIS 3.4\apps\Python37\lib\site-packages\win32\libC:\PROGRA
C:\PROGRA~1\QGIS 3.4\apps\Python37\lib\site-packages\Pythonwin
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\timeseriesviewerplugin
C:\Users\bruno\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\timeseriesviewerplugin\eotimeseriesviewer
After that the Networks app disappears! If you repeat the Climb app disappers!?
I "google" but seems tied to create/destroy objects in python code!?
I'm not a "pythonist" then ask to expert to find the bug.
The text was updated successfully, but these errors were encountered: