Opened 14 years ago
Closed 14 years ago
#3076 closed bug (fixed)
OSM plugin: python error clicking on "load OSM from file"
Reported by: | lutra | Owned by: | wonder |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.6.0 |
Component: | Python plugins and bindings | Version: | |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
This happens on trunk under Ubuntu 10.04. Under trunk/osgeo4w does not seems to happen:
Traceback (most recent call last): File "/usr/share/qgis/python/plugins/osm/OsmPlugin.py", line 199, in loadOsmFromFile self.dlgLoad=OsmLoadDlg(self) File "/usr/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'
Change History (5)
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
the same message shows when clicking on "download" in the "download osm data" dialog.
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Just recompiled from source and this error seems to be gone.
Note:
See TracTickets
for help on using tickets.
It's caused by the line 19: from PyQt4 import *
<class 'PyQt4.QtCore.Qt'>
<module 'PyQt4.Qt' from '/usr/lib/pymodules/python2.6/PyQt4/Qt.so'>
Is this import used anywhere at all?