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)

Screenshot.png (165.7 KB ) - added by ricardogsilva 14 years ago.
A screenshot of the GUI just before the 'Download' button is pressed. It also shows the extent

Download all attachments as: .zip

Change History (6)

by ricardogsilva, 14 years ago

Attachment: Screenshot.png added

A screenshot of the GUI just before the 'Download' button is pressed. It also shows the extent

comment:1 by borysiasty, 14 years ago

Owner: changed from borysiasty to wonder

comment:2 by lutra, 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 ricardogsilva, 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

comment:4 by lutra, 14 years ago

oh yes, seeing it again too.

comment:5 by wonder, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r14453.

Note: See TracTickets for help on using tickets.