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

Opening a new project within python plugin causes blank screen #20334

Closed
qgib opened this issue Feb 5, 2015 · 1 comment
Closed

Opening a new project within python plugin causes blank screen #20334

qgib opened this issue Feb 5, 2015 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Feb 5, 2015

Author Name: Shashank khare (Shashank khare)
Original Redmine Issue: 12140
Affected QGIS version: 2.6.0


Hi!

I am trying to close the current project and open a new project in my python plugin with help of following code:
QgsProject.instance().clear()
QgsProject.instance().setFileName('d:/shashank/test/second.xml.qgs')
QgsProject.instance().read()

The above throws up a blank screen. The code works fine in python console but it does not work inside my plugin.
Looks like cleanup issues with python binding.

-Shashank

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2015

Author Name: Giovanni Manghi (@gioman)


this seems more like a question rather than a issue report. Please check with the devs in the developers mailing list or #qgis irc channel, then eventually reopen this ticket.


  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 25, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant