Skip to content

Trying to get it to work on ckan docker setup errors out cause missing IFormRedirect interface #213

@cmbodley

Description

@cmbodley

I use https://github.com/ckan/ckan-docker to setup my ckan
I'm trying to get datapusher-plus to work but I hit a snag

2025-07-18 10:12:39.557 | File "/usr/local/lib/python3.10/site-packages/pkg_resources/init.py", line 2778, in load
2025-07-18 10:12:39.557 | return self.resolve()
2025-07-18 10:12:39.557 | File "/usr/local/lib/python3.10/site-packages/pkg_resources/init.py", line 2784, in resolve
2025-07-18 10:12:39.558 | module = import(self.module_name, fromlist=['name'], level=0)
2025-07-18 10:12:39.558 | File "/srv/app/src/datapusher-plus/ckanext/datapusher_plus/plugin.py", line 35, in
2025-07-18 10:12:39.558 | class DatapusherPlusPlugin(p.SingletonPlugin):
2025-07-18 10:12:39.558 | File "/srv/app/src/datapusher-plus/ckanext/datapusher_plus/plugin.py", line 39, in DatapusherPlusPlugin
2025-07-18 10:12:39.558 | p.implements(p.IFormRedirect)
2025-07-18 10:12:39.558 | File "/srv/app/src/ckan/ckan/plugins/init.py", line 12, in getattr
2025-07-18 10:12:39.558 | raise AttributeError(f"module '{name}' has no attribute '{name}'")

is the error I get after installing the software it errors out on Line 39 of the plugin.py

Image

So I'm on CKAN version 2.11 and I have checked other releases from 2.10 and they don't have that interface till I found.

Its in an pending pull request that hasn't been merged in.

ckan/ckan#8657

I'm not sure what to fix but this is definitely an undocumented requirement or its no longer compatible with 2.10+ till this PR gets merged in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions