[QGIS-trac] [Quantum GIS] #3808: get rid of annoying svg messages

Quantum GIS qgis at qgis.org
Sun May 8 20:35:07 EDT 2011


#3808: get rid of annoying svg messages
--------------------------------+-------------------------------------------
   Reporter:  Alister           |              Owner:  nobody       
       Type:  patch             |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  Build/Install     |            Version:  Trunk        
   Keywords:                    |   Platform_version:  XP           
   Platform:  Windows           |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 I see (in DebugView) the annoying set of messages (below) in the following
 circumstances:

 - every time I add an svg (any svg) to a composer layout.

 - when I open a saved project the messages are repeated for each layout
 that contains an svg (or perhaps for each svg on each layout - I don't
 know, as I always have just one svg per layout, a north arrow).

 The attached patch fixes the svgs included in qgis, so I no longer get the
 messages.  But it seems very strange to me that these messages were output
 when opening a project.  Why would qgis  need to read these svgs, when
 they are not used in the project?  And why would it need to read them
 repeatedly, for every composer layout with an svg?

 {{{
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] couldn't create image from  "pastedpic_10102008_233747.png"
 [25564] QColor::setNamedColor: Unknown color name 'character_n'
 [25564] QColor::setNamedColor: Unknown color name 'character_n'
 [25564] QColor::setNamedColor: Unknown color name 'character_n'
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3808>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list