Giter Site home page Giter Site logo

Comments (6)

NicolaiMogensen avatar NicolaiMogensen commented on August 21, 2024

Can reproduce. If searching for "adress" and entering ie. "njals" i get this error.

En fejl opstod under afviklingen af Python-kode:

Traceback (most recent call last):
  File "C:\ProgramData\.qgis2/python/plugins\geosearch_dk\autosuggest.py", line 171, in autoSuggest
    qurl = self.geturl_func( term )
  File "C:\ProgramData\.qgis2/python/plugins\geosearch_dk\searchbox.py", line 131, in geturl
    area=','.join(['muncode0'+str(k) for k in self.config['muncodes']])
TypeError: 'NoneType' object is not iterable

Python-version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS-version:
2.8.2-Wien Wien, 1b929ef

And after this, the plugin menu creates this error when trying to access it:

En fejl opstod under afviklingen af Python-kode:

Traceback (most recent call last):
  File "C:\ProgramData\.qgis2/python/plugins\geosearch_dk\searchbox.py", line 273, in show_settings_dialog
    dlg.kommunekoderLineEdit.setText(','.join(map(str, self.config['muncodes'])))
TypeError: argument 2 to map() must support iteration

I apologize if this error is already known, but this issue was the most related

from qgis-geosearch.

AsgerPetersen avatar AsgerPetersen commented on August 21, 2024

Hi @NicolaiMogensen,

Thank you for reporting this issue. Are you by any chance on a Linux system? If you are, I think it is a duplicate of #24

from qgis-geosearch.

NicolaiMogensen avatar NicolaiMogensen commented on August 21, 2024

I am on windows 7

from qgis-geosearch.

NicolaiMogensen avatar NicolaiMogensen commented on August 21, 2024

#24 looks a lot like the problem i'm experiencing, so perhaps it's not related to an error on Ubuntu?

from qgis-geosearch.

AsgerPetersen avatar AsgerPetersen commented on August 21, 2024

We haven't seen it in anything else than Ubuntu so far. But apparently it isn't unique to Ubuntu :-)

from qgis-geosearch.

bvthomsen avatar bvthomsen commented on August 21, 2024

@NicolaiMogensen , is your windows qgis setup using the -configpath qualifier - changing the settings from registry to an ini - file. I've experienced the same problem as you, when a Windows based QGIS is using an ini-file to store settings.

from qgis-geosearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.