geometalab / Vector-Tiles-Reader-QGIS-Plugin

Vector Tiles Reader QGIS-Plugin - QGIS Python plugin which reads Mapbox Vector Tiles from a server, a local MBTiles file or a directory
http://plugins.qgis.org/plugins/vector_tiles_reader/
GNU General Public License v2.0
147 stars 30 forks source link

Uncaught ModuleNotFoundError: No module named 'imp' #297

Open Sameer-A opened 1 week ago

Sameer-A commented 1 week ago

Couldn't load plugin 'vector_tiles_reader' due to an error when calling its classFactory() method Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vector_tiles_reader\__init__.py", line 25, in classFactory
    from .plugin.vtr_plugin import VtrPlugin
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vector_tiles_reader\plugin\vtr_plugin.py", line 31, in <module>
    from .style_converter import core
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vector_tiles_reader\plugin\style_converter\core\__init__.py", line 12, in <module>
    from ...util.network_helper import http_get
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vector_tiles_reader\plugin\util\network_helper.py", line 10, in <module>
    from .log_helper import info, remove_key, warn
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users/Username/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vector_tiles_reader\plugin\util\log_helper.py", line 103, in <module>
    from imp import reload
  File "C:\PROGRA~1/QGIS33~1.6/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'imp'

vector_tiles_reader 3.2.2, QGIS 3.34.6-Prizren on Windows 10

sfkeller commented 1 week ago

Dear @Sameer-A . Thanks for reporting. I'm sorry, but this plugin is deprecated. The functionality has been integrated into the QGIS core. We will update the metadata.txt and archive this repo soon.

Sameer-A commented 1 week ago

Hi Stefan

Thanks for the prompt response. I'll remove it.

Regards Sameer

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Stefan @.> Sent: Sunday, June 16, 2024 4:19:43 pm To: geometalab/Vector-Tiles-Reader-QGIS-Plugin @.> Cc: Abdool, Sameer @.>; Mention @.> Subject: [EXTERNAL] Re: [geometalab/Vector-Tiles-Reader-QGIS-Plugin] Uncaught ModuleNotFoundError: No module named 'imp' (Issue #297)

CAUTION: This email originated from outside of the MVDC - if in any doubt do NOT open links or attachments, or carry out requested actions.

Dear @Sameer-Ahttps://github.com/Sameer-A . Thanks for reporting. I'm sorry, but this plugin is deprecated. The functionality has been integrated into the QGIS core. We will update the metadata.txt and archive this repo soon.

— Reply to this email directly, view it on GitHubhttps://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin/issues/297#issuecomment-2171740085, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFOICG6D2B2BHHQHBJI7X2LZHWUIZAVCNFSM6AAAAABJMQHT2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRG42DAMBYGU. You are receiving this because you were mentioned.Message ID: @.***>

This MVDC email is only intended for the individual or organisation to whom or which it is addressed and may contain, either in the body of the email or attachment/s, information that is personal, confidential and/or subject to copyright. If you are not the intended recipient, please note that copying or distributing this message, attachment/s or other files associated within this email, is strictly prohibited. If you have received this email in error, please notify the sender immediately and then delete it.