[ckan-dev] Send email notifications

Johann Höchtl johann.hoechtl at gmail.com
Wed Jun 11 19:26:28 UTC 2014


Hello,

running CKAN 2.2a. After

- enabling notification settings in .ini
- running echo '{}' | /usr/lib/ckan/default/bin/paster --plugin=ckan 
post -c /etc/ckan/default.ini /api/action/send_email_notifications

I get:

Error - <type 'exceptions.Exception'>: Action function 
send_email_notifications did not call its auth function

     <html>
     <head>
     <title>Server Error</title>

     </head>
     <body>
     <h1>Server Error</h1>
     An internal server error occurred

     </body>
     </html>-

(No auth key involved here?!)

However, when calling the api using curl and an auth key, a JSON success 
is returned and also the log file only says INFO about the api call.

Please help me out!

   Johann



More information about the ckan-dev mailing list