romain974 / qspatialite

Automatically exported from code.google.com/p/qspatialite
3 stars 2 forks source link

error selecting srid code in ogr import #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.click on import ogr layer
2.choose shapefile
3.click on SRID selector button

What is the expected output? What do you see instead?

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/tourigny/.qgis//python/plugins/QspatiaLite/importOgr/importOgr.py", line 46, in browseSRID
    self.ui.SRID.setText(dialog.getProjection())
  File "/home/tourigny/.qgis//python/plugins/QspatiaLite/Classes/dialogSRS.py", line 32, in getProjection
    if self.selector.selectedEpsg() != 0:
AttributeError: 'QgsProjectionSelector' object has no attribute 'selectedEpsg'

Python version:
2.7.3 (default, Sep 26 2012, 21:53:55) 
[GCC 4.7.2]

QGIS version:
1.9.0-Master Master, db7b46a

Python path: ['/home/soft/share/qgis/python', '/home/tourigny/.qgis//python', 
'/home/tourigny/.qgis//python/plugins', '/home/soft/share/qgis/python/plugins', 
'/home/soft/lib/python2.7/site-packages', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/home/soft/share/qgis/python/plugins/fTools/tools']

What version of the product are you using? On what operating system?

Please provide any additional information below.

this with latest plugin, using master (1.9)

Original issue reported on code.google.com by etourign...@gmail.com on 4 Apr 2013 at 12:28

GoogleCodeExporter commented 9 years ago
I'll try to make it compatible with v2.0 before July

(same error as n°19)

Original comment by romain.r...@gmail.com on 4 Apr 2013 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by romain.r...@gmail.com on 4 Apr 2013 at 1:50

GoogleCodeExporter commented 9 years ago
this seems like a gui issue, not a qgis-1.9 issue

Original comment by etourign...@gmail.com on 4 Apr 2013 at 3:08