[ckan-dev] Problem with ckanext-drupal7

Alex (Maxious) Sadleir maxious at gmail.com
Thu Nov 27 05:39:39 UTC 2014


I haven't had a chance to run ckanext-drupal7 on CKAN master recently
but did something about the IConfigurer interface change recently?
https://github.com/ckan/ckanext-drupal7/blob/master/ckanext/drupal7/plugin.py#L77
still seems to match
https://github.com/ckan/ckan/blob/36718f2fecfa758ddaec3704c62bfc729b4da733/ckan/plugins/interfaces.py#L677

On Wed, Nov 26, 2014 at 10:57 PM, Rodrigo Valdez <rodri.valdez at gmail.com> wrote:
>
> Hello everyone!
>
>
> I have try to configure the ckanext-drupal7 extension, I put this parameters
> in my configuration file,
>
>
> ckanext.drupal7.domain = localhost
> ckanext.drupal7.sysadmin_role = ckan admin
> ckanext.drupal7.connection =
> postgresql://drupal:*****(mypass)@localhost/drupal
>
> and when I put drupal7 in the extension list I have this error
>
> TypeError: update_config() takes exactly 2 arguments (1 given); got
> ({'debug'...lt'}, app_instance_uuid=..., beaker.session.key=...,
> beaker.session.secret=..., cache_dir=...,
> ckan.activity_streams_email_notifications=...,
> ckan.auth.anon_create_dataset=...,
> ckan.auth.create_dataset_if_not_in_organization=...,
> ckan.auth.create_unowned_dataset=..., ckan.auth.create_user_via_api=...,
> ckan.auth.create_user_via_web=...,
> ckan.auth.roles_that_cascade_to_sub_groups=...,
> ckan.auth.user_create_groups=..., ckan.auth.user_create_organizations=...,
> ckan.auth.user_delete_groups=..., ckan.auth.user_delete_organizations=...,
> ckan.datastore.read_url=..., ckan.datastore.write_url=..., ckan.favicon=...,
> ckan.feeds.author_link=..., ckan.feeds.author_name=...,
> ckan.feeds.authority_name=..., ckan.feeds.date=...,
> ckan.gravatar_default=..., ckan.harvest.mq.type=...,
> ckan.locale_default=..., ckan.locale_order=...,
> ckan.locales_filtered_out=..., ckan.locales_offered=..., ckan.plugins=...,
> ckan.preview.direct=..., ckan.preview.loadable=...,
> ckan.site_description=..., ckan.site_id=..., ckan.site_logo=...,
> ckan.site_title=..., ckan.site_url=..., ckan.storage_path=...,
> ckanext.drupal7.connection=..., ckanext.drupal7.domain=...,
> ckanext.drupal7.sysadmin_role=..., disqus.name=..., email_to=...,
> error_email_from=..., full_stack=..., googleanalytics.account=...,
> googleanalytics.id=..., googleanalytics.password=...,
> googleanalytics.username=..., smtp.mail_from=..., smtp.password=...,
> smtp.server=..., smtp.starttls=..., smtp.user=..., solr_url=...,
> sqlalchemy.url=..., who.config_file=..., who.log_file=...,
> who.log_level=...), wanted (conf, full_stack=True, static_files=True,
> **app_conf)
>
>
> Does anyone has experience with this extension?
>
> Thanks for helping
>
>
> _______________________________________________
> 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
>



More information about the ckan-dev mailing list