inveniosoftware-attic / invenio-memento

Invenio module makes your site Memento compliant.
https://invenio-memento.readthedocs.io
GNU General Public License v2.0
1 stars 5 forks source link

Entry point initialization for invenio_memento.view:blueprint #10

Open dinosk opened 7 years ago

dinosk commented 7 years ago

Trying to run a cli command for invenio memento gave me this:

Traceback (most recent call last):
  File "/Users/dinossimpson/.environments/ils2/bin/invenio", line 11, in <module>
    sys.exit(cli())
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/flask/cli.py", line 374, in main
    return AppGroup.main(self, *args, **kwargs)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/click/core.py", line 1061, in invoke
    cmd_name, cmd, args = self.resolve_command(ctx, args)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/click/core.py", line 1100, in resolve_command
    cmd = self.get_command(ctx, cmd_name)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/flask/cli.py", line 345, in get_command
    rv = info.load_app().cli.get_command(ctx, name)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/flask/cli.py", line 223, in load_app
    rv = self.create_app(self)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/invenio_base/app.py", line 159, in create_cli_app
    app = create_app(debug=get_debug_flag())
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/invenio_base/app.py", line 127, in _create_app
    modules=blueprints,
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/invenio_base/app.py", line 193, in blueprint_loader
    ), entry_points=entry_points, modules=modules)
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/invenio_base/app.py", line 230, in _loader
    init_func(ep.load())
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2302, in load
    return self.resolve()
  File "/Users/dinossimpson/.environments/ils2/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2308, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'invenio_memento.view' 

Possibly a typo, fixed in #19