SME icon indicating copy to clipboard operation
SME copied to clipboard

Load of VALD linelist file fails with PluginNotFound from pybtex

Open andreok opened this issue 9 months ago • 0 comments

Hello,

I am trying to execute pySME on Google colab, but the load of the sample VALD linelist file for the Sun fails with the following error: ".../lib/python3.10/site-packages/pybtex/plugin/init.py in _load_entry_point(group, name, use_aliases) 79 for entry_point in pkg_resources.iter_entry_points(search_group, name): 80 return entry_point.load() ---> 81 raise PluginNotFound(group, name) 82 83

PluginNotFound: plugin pybtex.database.input.suffixes for suffix .bib not found"

The Google colab environment has a known issue with plugins from pybtex: https://bitbucket.org/pybtex-devs/pybtex/issues/148/error-pluginnotfound-plugin https://github.com/pybamm-team/PyBaMM/issues/2388

A possible solution would be to add a flag to disable the parsing of bibliographic references, so this issue can be bypassed on Google colab.

Thanks

andreok avatar Sep 26 '23 14:09 andreok