Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ModuleNotFoundError: No module named 'imp' #297

Open
Sameer-A opened this issue Jun 16, 2024 · 2 comments
Open

Uncaught ModuleNotFoundError: No module named 'imp' #297

Sameer-A opened this issue Jun 16, 2024 · 2 comments

Comments

@Sameer-A
Copy link

Sameer-A commented Jun 16, 2024

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

@Sameer-A Sameer-A changed the title Uncaught ModuleNotFoundError: No module named 'imp' Uncaught ModuleNotFoundError: No module named 'imp' Jun 16, 2024
@sfkeller
Copy link

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
Copy link
Author

Sameer-A commented Jun 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants