Bug report #2986
Opening a project file from a plugin crashes QGIS
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||13046|
When I try to open a project file from a plugin QGIS crashes. I use a valid Project file, which loads normally through the GUI.
Here is some code:
QGIS starts loading the layers, but before finishing QGIS 1.5 crashes on Windows.
#2 Updated by peppo - almost 11 years ago
Replying to [comment:1 borysiasty]:
Is it still valid?
Well, it did not work in version 1.5. I did not try any nightly builds.
So I guess, the bug report is valid. I would be happy, if you could fix it or tell me what i did wrong with the iface.addProject(qstrPath) function call.