[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GeoPy <0.95 not usable any more with current Google Maps API



Il 27/06/2013 08:49, Francesco P. Lovergine ha scritto:
On Tue, Jun 25, 2013 at 04:59:17PM +0200, Alessandro Pasotti wrote:

Done, but I had to fix geopy (again) to add nominatim support and
fix googlev3 reverse geocoding.

The people from geopy seems not very open to contributions, I will
continue to ship my fork with geocoding plugin.

http://plugins.qgis.org/plugins/GeoCoding/version/2.5/
https://github.com/geopy/geopy/pull/18


Alessandro, I got some (minor?) problem with python (maybe <2.7?) at updating time, under squeeze:

------------------------------------------------------------------
Impossibile caricare il plugin GeoCoding a causa di errore chiamando il metodo classFactory()

Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 164, in startPlugin
     plugins[packageName] = package.classFactory(iface)
AttributeError: 'module' object has no attribute 'classFactory'

Versione Python:
2.6.6 (r266:84292, Dec 26 2010, 22:48:11)
[GCC 4.4.5]


Versione di QGIS:
1.8.0-Lisboa Lisboa, exported

Percorso Python: ['/users/frankie/.qgis/python/plugins/GeoCoding', '/users/frankie/.qgis/python/plugins/GeoCoding', '/users/frankie/.qgis/python/plugins/GeoCoding', '/users/frankie/.qgis/python/plugins/GeoCoding', '/users/frankie/.qgis/python/plugins/GeoCoding', '/usr/share/qgis/python', '/users/frankie/.qgis//python', '/users/frankie/.qgis//python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools']
------------------------------------------------------------------

After that apparently all is working anyway.




Yes, I've seen it before but I couln't understand why it appears since the classFactory method is in place.

BTW it is apparently harmless.

--
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it


Reply to: