[QGIS-trac] [Quantum GIS] #3145: Dash in plugin name causes unhelpful error message

Quantum GIS qgis at qgis.org
Thu Oct 21 15:48:28 EDT 2010


#3145: Dash in plugin name causes unhelpful error message
------------------------------------------------+---------------------------
   Reporter:  rehakv1                           |              Owner:  borysiasty   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings       |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 I encountered a problem with using a '-' sign (dash) in python plugin in
 1.6 r14423. When I add my custom repository
 (http://www.tarsiusproject.org/qgis/plugins.xml) and try to install plugin
 called 'Dash Test' which contains 'dash-test' directory in 'dash-
 test.zip', QGIS raises error message that reads:

 "The plugin is broken. Python said:
 invalid syntax"

 If there is a technical reason for prohibiting dash in the plugin folder I
 think QGIS should emit more descriptive error message.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3145>
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