[ckan-dev] PluginNotFoundException even though it works.

Nigel Babu nigel.babu at okfn.org
Tue Jun 24 03:53:35 UTC 2014


Hi Rachel,

The trac pages are around for historical reasons, particularly, finding out
why certain decisions were made. I'm fairly sure the issues there don't
apply anymore.

Nigel Babu
Developer, Open Knowledge


On 20 June 2014 15:22, Rachel Knowler <rachel.knowler at liip.ch> wrote:

>  Hi Henrik,
>
> I've also been getting error messages like those when writing plugins
> recently. I guess you have seen this page, which was almost all I could
> find when searching the internet for similar issues:
> http://trac.ckan.org/ticket/908.html. It seems that the problem might be
> something to do with the Apache wsgi script, but I don't know how or why!
>
> In my case, I narrowed the cause of the problem down to the plugin getting
> the group_list API action function (
> http://docs.ckan.org/en/latest/api/#ckan.logic.action.get.group_list).
> This was strange, because it was properly using the plugins toolkit to get
> the action, and because elsewhere in the plugin the actions group_show and
> group_create worked fine. I ended up working around this in the plugin.
>
> Can you try eliminating API functions from your plugin to find out if any
> of them are causing the problem?
>
> Cheers,
> Rachel
>
>
> On 20.06.2014 08:56, Henrik Aagaard Sørensen wrote:
>
>    This is the log from Apache:
>
>
>
> [Fri Jun 20 08:53:03 2014] [error] Exception AttributeError: "'NoneType'
> object has no attribute 'clearing'" in <bound method
> PluginEnvironment.__del__ of  Services for Environment '<default>'
> [Fri Jun 20 08:53:03 2014] [error] > ignored
> [Fri Jun 20 08:53:03 2014] [error] Exception AttributeError: "'NoneType'
> object has no attribute 'clearing'" in <bound method
> PluginEnvironment.__del__ of  Services for Environment '<default>'
> [Fri Jun 20 08:53:03 2014] [error] > ignored
> Error opening file for reading: Permission denied
> Error opening file for reading: Permission denied
>
>>
>
>
> Any idea on what it could mean?
>
>
>
>
> _______________________________________________
> ckan-dev mailing listckan-dev at lists.okfn.orghttps://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
> --
> Liip AG // Limmatstrasse 183 // CH-8005 Zürich
> Tel +41 43 500 39 80 // Mob +41 78 658 26 12 // www.liip.ch
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140624/20b91cf2/attachment-0003.html>


More information about the ckan-dev mailing list