-
-
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
Atlas crash using python #25079
Comments
Author Name: Loïc BARTOLETTI (@lbartoletti) Both #25080 (comment) |
Author Name: Giovanni Manghi (@gioman) Please add a description.
|
Author Name: Loïc BARTOLETTI (@lbartoletti) For this issue, when you use an invalid output dir, you don't have a crash but it's return my print debug "exportAsPdf", so I suspect a problem into this method (can't see or produce logs now). |
Author Name: Loïc BARTOLETTI (@lbartoletti) Since it's not available in Qgis 2, I'm trying to duplicate a composition with pyqgis translating "this code": QGIS/src/core/composer/qgslayoutmanager.cpp Line 157 in f0709ae
Duplication is fine, but every time I want to export an atlas of this new composition, qgis crash. Do you have any idea? Here is a reproductible example of my code (using with python console and a small project):
"Original message":https://gis.stackexchange.com/questions/256143/duplicate-composition-with-python-qgis |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Denis Rouzaud (@3nids)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Jürgen Fischer (@jef-n) Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
|
Author Name: Loïc BARTOLETTI (@lbartoletti)
|
Author Name: Loïc BARTOLETTI (@lbartoletti)
Original Redmine Issue: 17180
Affected QGIS version: 2.18.13
Redmine category:python_bindings_/_sipify
Hi,
I asked a question on https://gis.stackexchange.com/questions/256143/duplicate-composition-with-python-qgis about a need to duplicate a composer and deal with it in python.
It's maybe a bad code from me, but since it crashes QGis (tested on Windows and FreeBSD), I open a ticket here to let you know.
Thanks.
Related issue(s): #25080 (relates)
Redmine related issue(s): 17181
The text was updated successfully, but these errors were encountered: