Giter Club home page Giter Club logo

eo-time-series-viewer's People

Contributors

anntzer avatar blink1073 avatar campagnola avatar compassym avatar dkappy avatar fabioz avatar gpoulin avatar ibressler avatar jakimowb avatar jnevrly avatar kif avatar meganbkratz avatar nicolaisi avatar pfctdayelise avatar termim avatar tfeldmann avatar welshjf avatar zarch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eo-time-series-viewer's Issues

AttributeError: type object 'QgsMapLayerProxyModel' has no attribute 'Filters'

Installed version 1.18.20230408T142322.MAIN

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

AttributeError: type object 'QgsMapLayerProxyModel' has no attribute 'Filters' 
Traceback (most recent call last):
  File "D:\QGIS/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\timeseriesviewerplugin\__init__.py", line 38, in classFactory
    from eotimeseriesviewer.eotimeseriesviewerplugin import EOTimeSeriesViewerPlugin
  File "C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\ee_plugin\__init__.py", line 38, in __wrapping_ee_import__
    _module_ = __builtin_import__(name, *args, **kwargs)
  File "D:\QGIS/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\eotimeseriesviewerplugin.py", line 33, in 
    from eotimeseriesviewer import settings
  File "C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\ee_plugin\__init__.py", line 38, in __wrapping_ee_import__
    _module_ = __builtin_import__(name, *args, **kwargs)
  File "D:\QGIS/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\settings.py", line 9, in 
    from eotimeseriesviewer.qgispluginsupport.qps.plotstyling.plotstyling import PlotStyle
  File "C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\ee_plugin\__init__.py", line 38, in __wrapping_ee_import__
    _module_ = __builtin_import__(name, *args, **kwargs)
  File "D:\QGIS/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\qgispluginsupport\qps\plotstyling\plotstyling.py", line 49, in 
    from ..utils import findMapLayer, loadUi
  File "C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\ee_plugin\__init__.py", line 38, in __wrapping_ee_import__
    _module_ = __builtin_import__(name, *args, **kwargs)
  File "D:\QGIS/apps/qgis/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\qgispluginsupport\qps\utils.py", line 3221, in 
    class SelectMapLayersDialog(QgsDialog):
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\qgispluginsupport\qps\utils.py", line 3222, in SelectMapLayersDialog
    class LayerDescription(object):
  File "C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin\eotimeseriesviewer\qgispluginsupport\qps\utils.py", line 3224, in LayerDescription
    def __init__(self, info: str, filters: QgsMapLayerProxyModel.Filters, allowEmptyLayer=False):
AttributeError: type object 'QgsMapLayerProxyModel' has no attribute 'Filters'


Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.34.1-Prizren Prizren, 133927424d 

Python Path:
C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\Coregistration
D:/QGIS/apps/qgis/./python
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins
D:/QGIS/apps/qgis/./python/plugins
D:\QGIS\apps\grass\grass83\etc\python
C:\Users\Andreas\Documents
D:\QGIS\bin\python39.zip
D:\QGIS\apps\Python39\DLLs
D:\QGIS\apps\Python39\lib
D:\QGIS\bin
C:\Users\Andreas\AppData\Roaming\Python\Python39\site-packages
D:\QGIS\apps\Python39
D:\QGIS\apps\Python39\lib\site-packages
D:\QGIS\apps\Python39\lib\site-packages\win32
D:\QGIS\apps\Python39\lib\site-packages\win32\lib
D:\QGIS\apps\Python39\lib\site-packages\Pythonwin
C:/Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\ee_plugin\extlibs_windows
C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\enmapboxplugin\site-packages
C:\Users/Andreas/AppData/Roaming/QGIS/QGIS3\profiles\EnMAP-Box Develop/python/plugins\enmapboxplugin
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\enmapboxplugin\enmapbox\qgispluginsupport\qps\pyqtgraph
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\enmapboxplugin\enmapbox\site-packages
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\enmapboxplugin\enmapbox\apps
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\enmapboxplugin\enmapbox\coreapps
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\enmapboxplugin\enmapbox\eo4qapps
.
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\qgis_stac\lib
C:\Users\Andreas\AppData\Roaming\QGIS\QGIS3\profiles\EnMAP-Box Develop\python\plugins\timeseriesviewerplugin

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

Hi @jakimowb ,

thank you for your work! I have tried to use the eo-time-series-viewer and encountered the following error after installing the plugin in QGIS (via plugin explorer) :

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

Traceback:

AssertionError 
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/qgis/utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tramsauer/.local/share/QGIS/QGIS3/profiles/default/python/plugins/timeseriesviewerplugin/__init__.py", line 39, in classFactory
    return EOTimeSeriesViewerPlugin(iface)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tramsauer/.local/share/QGIS/QGIS3/profiles/default/python/plugins/timeseriesviewerplugin/eotimeseriesviewer/eotimeseriesviewerplugin.py", line 53, in __init__
    eotimeseriesviewer.initAll()
  File "/home/tramsauer/.local/share/QGIS/QGIS3/profiles/default/python/plugins/timeseriesviewerplugin/eotimeseriesviewer/__init__.py", line 114, in initAll
    registerEditorWidgets()
  File "/home/tramsauer/.local/share/QGIS/QGIS3/profiles/default/python/plugins/timeseriesviewerplugin/eotimeseriesviewer/qgispluginsupport/qps/__init__.py", line 144, in registerEditorWidgets
    assert isinstance(classificationSchemeEditorWidgetFactory(True), ClassificationSchemeWidgetFactory)
AssertionError

this points to:
https://github.com/EnMAP-Box/qgispluginsupport/blob/4a9f02cb3db41781ed968691f990607a4f2137a6/qps/__init__.py#L144

My System:
Python version: 3.11.5 (main, Sep 2 2023, 14:16:33) [GCC 13.2.1 20230801]
QGIS version: 3.32.2-Lima Lima, exported
on Linux (Manjaro)

Thank you for considering fixing the issue.

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.