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

QGIS 0.10.0 crashes when using print composer #11188

Closed
qgib opened this issue Jun 18, 2008 · 8 comments
Closed

QGIS 0.10.0 crashes when using print composer #11188

qgib opened this issue Jun 18, 2008 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Jun 18, 2008

Author Name: morgan - (morgan -)
Original Redmine Issue: 1128

Assignee: nobody -


Using QGIS 0.10.0-6~hardy on (k)ubuntu 8.04 on a Thinkpad T61.

Print composer causes QGIS to completely exit without warning or error message.

This happens every time I try to "print."

Steps:
File>>Print
(print composer opens)
Click on "add map"
Try to place map>> I can draw the square boundary for the map. I draw the box, QGIS sits for a second, then the entire program crashes without warning or error message.

This worked fine in 0.9

-Morgan

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2008

Author Name: cuz - (cuz -)


I have a similar problem with straight Ubuntu Hardy 8.04. In Print Composer, I can print and generate SVG files reasonably well (though point symbols seem to be reproduced in different shapes). However, when I try to save to image (png), QGIS crashes and takes Gnome Desktop with it. Save as Image works fine from main GUI.

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2008

Author Name: Marco Hugentobler (@mhugent)


Hm, I cannot reproduce both problems with the current svn version (30.06.2008). Did you use svn version? If yes, then it would be good to know what kind of layer your project contains.

Marco

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2008

Author Name: cuz - (cuz -)


Hi,

Good point. Sorry for my relative ignorance here. I just started using QGIS this week (love it). My version is the most recent Ubuntu would automagically download from http://ppa.launchpad.net/qgis/ubuntu for Hardy.

The project has a mix of shapefiles (point and vector) and vector [[PostGIS]] files. The particular view I've been trying to save originally had a postGIS vector file and a vector shapefile (both from Census boundary files--basically states on one (shapefile) layer and a (postGIS) graduated symbol layer of metro areas) and a print composer generated label. After the previous note, I removed the label and had the same results.

I don't know if this applies, but I did mess around with legend files a bit for the postGIS layer since I couldn't figure out how to edit the ranges provided on the layer's symbology tab. I did discover that I had to change the layer 'id' in the style file along with the layer names. (Note: It would be great if the styles were NOT associated with a particular layer so that they could be easily imported to additional layers.)

And note that I'm aware that my lack of familiarity with the program may also be a factor!

I will try to start a new project and try isolating layer types to see if that sheds any light and report back.

-cuz

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2008

Author Name: cuz - (cuz -)


Well, I'm confused. All I can do is give you results. Using this shapefile (http://www.census.gov/geo/cob/bdy/st/st00shp/st99_d00_shp.zip), the crash occurs. Using other shapefiles (like http://drake.gisc.berkeley.edu/urbandata/Files/Shapefiles/Boundary,%20Census%20&%20Administrative%20Shapefiles%20&%20Data/Counties.zip) produces no problem. Also, after importing the problem file into postGIS using shp2pgsql, it saves to png without a problem. Perhaps this means it's a malformed shapefile?

@qgib
Copy link
Contributor Author

qgib commented Jul 1, 2008

Author Name: morgan - (morgan -)


I'm not using the SVN version, I'm using the Hardy package from launchpad.net Have there been any changes to the print manager in the current SVN version?

Also, (and this is probably important) I've noticed that I only have this problem when there are [[PostGIS]] layers in the map.

Lastly, the save as image problem posted above should probably be it's own ticket, as it doesn't seem to relate to the Print Composer.

@qgib
Copy link
Contributor Author

qgib commented Jul 1, 2008

Author Name: cuz - (cuz -)


My issue probably shouldn't be a separate ticket as it ONLY happens in print composer. Save as image from the main window works fine. (This is not to say that the issue is necessarily the same, only that it should not be moved on account of its relation to print composer.)

The problem also occurred only with some shapefiles even in the absence of [[PostGIS]] layers.

@qgib
Copy link
Contributor Author

qgib commented Jul 1, 2008

Author Name: morgan - (morgan -)


whoops, sorry cuz, I misread your comment.

@qgib
Copy link
Contributor Author

qgib commented Jul 1, 2008

Author Name: Marco Hugentobler (@mhugent)


Dear cuz and morgan

I installed the 0.10 package for hardy, downloaded the shapefile st99_d00, opened print composer and exported to png. Unfortunately, there was no crash for me, so it's difficult for me to find the cause of your problems.

For 0.11, many things in rendering and also in print composer have been changed. For 1.0, nearly all of the print composer code is going to be changed under the hood (in advanced_printing_branch). So I close this ticket for now, as I think it will be out of date with the following releases. There will surely be new problems then ;-)
Anyway, thanks for your feedback.

Marco


  • resolution was changed from to worksforme
  • 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 24, 2019
@qgib qgib closed this as completed May 24, 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