0

When I try to export a print composition it generates a 0kb file. Is not possible to open this file.

It happened the same with export as image option.

The print composition model is coming from a .qpt file created with QGIS 1.8.

The problem is not in the print composition created with QGIS 1.8. I have the same problem starting with a new composition. The print works regularly if I hide the two maps in the print composition. I can print all the elements that are not maps.

The maps are coming from OpenLayers plugin/bing

What shoud I check to solve it?

underdark
  • 84,148
  • 21
  • 231
  • 413
Ale
  • 1,313
  • 4
  • 26
  • 48
  • Do the exports work if you start from an empty composer rather than the 1.8 template? I don't have an old template to try but it's probably fastest to recreate the template than try to look for work-arounds. – underdark Jan 17 '15 at 22:39
  • I have the same problem starting with an empty composer. – Ale Jan 21 '15 at 07:37
  • @underdark Is there a way to read the logs file to find more info? – Ale Jan 21 '15 at 10:51

1 Answers1

1

This is a known issue and caused by the OpenLayers plugin: http://hub.qgis.org/issues/11073

There currently is no good way to print OpenLayers laers using composer. The only workaround is to use Project | Save as image to save the current map view to a .png, load that, remove the OpenLayers layer and then use the composer.

underdark
  • 84,148
  • 21
  • 231
  • 413