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

Make sure mail sender is working #341

Open
alambaDev opened this issue Nov 25, 2024 · 6 comments
Open

Make sure mail sender is working #341

alambaDev opened this issue Nov 25, 2024 · 6 comments
Assignees

Comments

@alambaDev
Copy link

No description provided.

@Indiphile
Copy link
Collaborator

Open an issue here on SANSA-EO

@osundwajeff
Copy link
Contributor

Command: ckan saeoss send-email-notifications
Been getting this error:

  File "/home/appuser/.local/bin/ckan", line 8, in <module>
    sys.exit(ckan())
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 1081, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 949, in make_context
    self.parse_args(ctx, args)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/cli/cli.py", line 120, in parse_args
    result = super().parse_args(ctx, args)
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 1653, in parse_args
    rest = super().parse_args(ctx, args)
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 1417, in parse_args
    value, args = param.handle_parse_result(ctx, opts, args)
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 2403, in handle_parse_result
    value = self.process_value(ctx, value)
  File "/home/appuser/.local/lib/python3.9/site-packages/click/core.py", line 2365, in process_value
    value = self.callback(ctx, self, value)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/cli/cli.py", line 130, in _init_ckan_config
    _add_ctx_object(ctx, value)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/cli/cli.py", line 139, in _add_ctx_object
    ctx.obj = CtxObject(path)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/cli/cli.py", line 56, in __init__
    self.app = make_app(raw_config)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/config/middleware/__init__.py", line 29, in make_app
    load_environment(conf)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/config/environment.py", line 68, in load_environment
    p.load_all()
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/plugins/core.py", line 148, in load_all
    load(*plugins)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/plugins/core.py", line 164, in load
    service = _get_service(plugin)
  File "/home/appuser/.local/lib/python3.9/site-packages/ckan/plugins/core.py", line 285, in _get_service
    raise PluginNotFoundException(plugin_name)
ckan.plugins.base.PluginNotFoundException: Interface harvest does not exist```

@voogt
Copy link
Collaborator

voogt commented Feb 19, 2025

Thanks @osundwajeff I will take look at it

@voogt voogt mentioned this issue Feb 19, 2025
@voogt
Copy link
Collaborator

voogt commented Feb 19, 2025

Hi @osundwajeff have you updated the ckan-dev.ini with smtp details ?
example below

smtp.server = smtp.your-email-provider.com
smtp.port = 587
smtp.sender = [email protected]
smtp.username = [email protected]
smtp.password = your-email-password
smtp.tls = true
smtp.ssl = false
smtp.reply-to = [email protected]
smtp.sender-name = Your Name
smtp.subject-prefix = [CKAN]

@osundwajeff
Copy link
Contributor

Hi @voogt I did not. I just kept getting issues on the interfaces

@voogt
Copy link
Collaborator

voogt commented Feb 20, 2025

hi @osundwajeff please try setting the smtp settings and trying again. I have not gotten the errors you specified

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

4 participants