[QGIS-trac] Re: [Quantum GIS] #3236: Cannot determine the type of QgsComposerItem

Quantum GIS qgis at qgis.org
Sun Nov 21 18:34:32 EST 2010


#3236: Cannot determine the type of QgsComposerItem
------------------------------------------------+---------------------------
   Reporter:  anitagraser                       |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Python plugins and bindings       |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by NathanW):

 I have added what is my attempt at fixing the bug, I gave it a run this
 morning and the types are returned correctly in Python however if you try
 and call any of the methods on the returned types you get a segfault. Eg
 calling .displayText() on a QgsComposerLabel causes a segmentation fault.
 C and C++ aren't my normal programming languages, so I may have done
 something wrong or missed something.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3236#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list