BelgianBiodiversityPlatform / qgis-gbif-api

GBIF Occurrences is a QGIS plugin to directly import occurrences from the GBIF API
BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

Cannot load GBIF occurrences from menu #22

Closed peterdesmet closed 8 years ago

peterdesmet commented 8 years ago

The Use section on the README mentions that one can click Load GBIF occurrences from Vector > GBIF occurrences

I see that term repeated four times:

screen shot 2016-02-03 at 13 17 51

Clicking on any of those doesn't do anything.

The alternative method of clicking on the icon in the toolbar does bring up a window.

niconoe commented 8 years ago

Thanks for the report! If you uninstall the plugin, does the 4 entries all disappear? And do they all appear back if you reinstall? It may be better to quit QGIS between operations. Also, I'd be interested to see the content (list) of your ~/.qgis2/python/plugins directory.

peterdesmet commented 8 years ago

I haven't restarted/reinstalled yet, but here is the content list:

MetaSearch      openlayers_plugin   qgis-gbif-api-master

FYI, I'm using QGIS 2.4.0-Chugiak.

niconoe commented 8 years ago

Thanks. I'll try to replicate it so I can investigate. It could look like a plugin installation glitch, and you're using a slightly outdated version of QGIS. I therefore wonder if upgrading the reinstalling extension would solve the issue.

peterdesmet commented 8 years ago
  1. Uninstall: 4 menu items stay
  2. Restart: menu item is gone
  3. Install: broken syntax
  4. Click reinstall: broken syntax
  5. Click reinstall again: ok, 2 menu items have appeared

Voodoo!

niconoe commented 8 years ago

Yeah!

I'm currently trying a fix for the "broken syntax" issue, so hopefully we'll discover it was indeed the trigger of this black magic.

niconoe commented 8 years ago

Just noticed the plugin doesn't remove itself from menu on deactivation, this is probably also part of the issue.

niconoe commented 8 years ago

Hey @peterdesmet, I have released version 0.1.2 which should hopefully solve all those issues... Could you test? If you're still using v0.1, you will need to completely uninstall and reinstall the plugin (please also restart QGIS!).

Thanks!

peterdesmet commented 8 years ago

Issue fixed: menu only shows one item + when I click the menu item, it opens the window.

niconoe commented 8 years ago

Good to hear!