Skip to content
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

Closed
natanb opened this issue Dec 12, 2019 · 5 comments
Closed

Plugin Networks gives error #33352

natanb opened this issue Dec 12, 2019 · 5 comments

Comments

@natanb
Copy link

natanb commented Dec 12, 2019

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:/PROGRA1/QGIS 3.4/apps/qgis-ltr/./python
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/bruno/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/PROGRA
1/QGIS 3.4/apps/qgis-ltr/./python/plugins
C:\Program Files\QGIS 3.4\bin\python37.zip
C:\PROGRA1\QGIS 3.4\apps\Python37\DLLs
C:\PROGRA
1\QGIS 3.4\apps\Python37\lib
C:\Program Files\QGIS 3.4\bin
C:\PROGRA1\QGIS 3.4\apps\Python37
C:\PROGRA
1\QGIS 3.4\apps\Python37\lib\site-packages
C:\PROGRA1\QGIS 3.4\apps\Python37\lib\site-packages\win32
C:\PROGRA
1\QGIS 3.4\apps\Python37\lib\site-packages\win32\lib
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.

@alexbruy
Copy link
Contributor

Please report this issue in the plugin bugtracker. QGIS bugtracker used to report only QGIS issues, not issues of the 3rd party plugins

@Gustry
Copy link
Contributor

Gustry commented Dec 12, 2019

Tell the author to do self.addAlgorithm(ExampleProcessingAlgorithm()) to fix the bug

@natanb
Copy link
Author

natanb commented Dec 13, 2019 via email

@Gustry
Copy link
Contributor

Gustry commented Dec 13, 2019

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.

@natanb
Copy link
Author

natanb commented Dec 13, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants