mikibonacci / aiidalab-qe-vibroscopy

MIT License
1 stars 1 forks source link

No module named 'widget_bandsplot' #54

Closed superstar54 closed 5 months ago

superstar54 commented 6 months ago

I ran QEApp in the edge image, aiida-core 2.5.1, QEApp 2024.04.0.rc1, and got this error.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/tmp/ipykernel_6599/2609984044.py in <cell line: 19>()
     17 from jinja2 import Environment
     18 
---> 19 from aiidalab_qe.app import App, static
     20 from aiidalab_qe.version import __version__

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/__init__.py in <module>
      1 """Package for the AiiDAlab QE app."""
      2 
----> 3 from .main import App
      4 
      5 __all__ = [

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/main.py in <module>
     12 from aiidalab_qe.app.result import ViewQeAppWorkChainStatusAndResultsStep
     13 from aiidalab_qe.app.structure import StructureSelectionStep
---> 14 from aiidalab_qe.app.submission import SubmitQeAppWorkChainStep
     15 from aiidalab_qe.common import QeAppWorkChainSelector
     16 

~/.local/lib/python3.9/site-packages/aiidalab_qe/app/submission/__init__.py in <module>
     23     QEAppComputationalResourcesWidget,
     24 )
---> 25 from aiidalab_qe.workflows import QeAppWorkChain
     26 
     27 

~/.local/lib/python3.9/site-packages/aiidalab_qe/workflows/__init__.py in <module>
     41 
     42 
---> 43 plugin_entries = get_entry_items("aiidalab_qe.properties", "workchain")
     44 
     45 

~/.local/lib/python3.9/site-packages/aiidalab_qe/workflows/__init__.py in get_entry_items(entry_point_name, item_name)
     33 # load entry point items
     34 def get_entry_items(entry_point_name, item_name="workchain"):
---> 35     entries = get_entries(entry_point_name)
     36     return {
     37         name: entry_point.get(item_name)

~/.local/lib/python3.9/site-packages/aiidalab_qe/workflows/__init__.py in get_entries(entry_point_name)
     26     entries = {}
     27     for entry_point in entry_points().get(entry_point_name, []):
---> 28         entries[entry_point.name] = entry_point.load()
     29 
     30     return entries

/opt/conda/lib/python3.9/site-packages/importlib_metadata/__init__.py in load(self)
    207         """
    208         match = self.pattern.match(self.value)
--> 209         module = import_module(match.group('module'))
    210         attrs = filter(None, (match.group('attr') or '').split('.'))
    211         return functools.reduce(getattr, attrs, module)

/opt/conda/lib/python3.9/importlib/__init__.py in import_module(name, package)
    125                 break
    126             level += 1
--> 127     return _bootstrap._gcd_import(name[level:], package, level)
    128 
    129 

~/.local/lib/python3.9/site-packages/aiidalab_qe_vibroscopy/app/__init__.py in <module>
      1 from aiidalab_qe_vibroscopy.app.settings import Setting
      2 from aiidalab_qe_vibroscopy.app.workchain import workchain_and_builder
----> 3 from aiidalab_qe_vibroscopy.app.result import Result
      4 from aiidalab_qe.common.panel import OutlinePanel
      5 

~/.local/lib/python3.9/site-packages/aiidalab_qe_vibroscopy/app/result.py in <module>
      5 
      6 
----> 7 from widget_bandsplot import BandsPlotWidget
      8 
      9 from aiidalab_qe.common.panel import ResultPanel

ModuleNotFoundError: No module named 'widget_bandsplot'
AndresOrtegaGuerrero commented 6 months ago

53 solves this issue

superstar54 commented 5 months ago

Thanks for the fix!