Opened 14 years ago
Closed 14 years ago
#3150 closed bug (fixed)
OpenStreetMap plugin - error downloading .osm data
Reported by: | ricardogsilva | Owned by: | wonder |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.6.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
When trying to download .osm data into Qgis a python error is thrown and nothing gets added to the canvas, even though all the GUI parameters seem to be OK.
I am attaching a screenshot of the GUI's state just before I press the 'Download' button. In it you can also see the extent I am using, so it can be used as a test case.
The error thrown is:
An error has occured while executing Python code:
Traceback (most recent call last):
File "/home/ricardo/Programas/qgis_trunk/share/qgis/python/plugins/osm/OsmPlugin.py", line 261, in downloadOsmData
self.dlgLoad=OsmLoadDlg(self)
File "/home/ricardo/Programas/qgis_trunk/share/qgis/python/plugins/osm/OsmLoadDlg.py", line 57, in init
item.setFlags( Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled)
AttributeError: 'module' object has no attribute 'ItemIsSelectable'
Attachments (1)
Change History (6)
by , 14 years ago
Attachment: | Screenshot.png added |
---|
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Ricardo did you tested trunk. I used to get the same error, but now in trunk seems to be gone.
comment:3 by , 14 years ago
Version: | → Trunk |
---|
Yeah, I'm using Qgis 1.6 (rev. 14431), built yesterday (24th October 2010) and I get the above described error. I'm on Ubuntu 10.10
A screenshot of the GUI just before the 'Download' button is pressed. It also shows the extent