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

Unable to load plugin 'quick_map_services' because an error occurred while calling its classFactory() method #254

Open
Yuanen-Pang opened this issue Dec 8, 2024 · 0 comments

Comments

@Yuanen-Pang
Copy link

Dear developer, Today I reinstall your esteemed plug, but I meet the following error. It seems that the Qt version in your code is not compatible with older versions of qgis?
AttributeError: 'QTabWidget' object has no attribute 'setTabVisible'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/123/.local/share/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/init.py", line 36, in classFactory
return QuickMapServices(iface)
File "/home/123/.local/share/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/quick_map_services.py", line 98, in init
self.info_dlg = AboutDialog(os.path.basename(self.plugin_dir))
File "/home/123/.local/share/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/about_dialog.py", line 38, in init
self.__fill_license()
File "/home/123/.local/share/QGIS/QGIS3/profiles/default/python/plugins/quick_map_services/about_dialog.py", line 118, in __fill_license
self.tab_widget.setTabVisible(AboutTab.License, True)
AttributeError: 'QTabWidget' object has no attribute 'setTabVisible'

Python version: 3.8.10 (default, Nov 7 2024, 13:10:47) [GCC 9.4.0]
QGIS version: 3.26.3-Buenos Aires Buenos Aires, 65e4edfdad

Python path:
/usr/share/qgis/python
/home/123/.local/share/QGIS/QGIS3/profiles/default/python
/home/123/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python38.zip
/usr/lib/python3.8
/usr/lib/python3.8/lib-dynload
/usr/local/lib/python3.8/dist-packages
/usr/lib/python3/dist-packages
/home/123/.local/share/QGIS/QGIS3/profiles/default/python

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

1 participant