{"action":"created","issue":{"url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/29","labels_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/29/comments","events_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/29/events","html_url":"https://github.com/conwetlab/ckanext-privatedatasets/issues/29","id":67588504,"number":29,"title":"More than one fallback IDatasetForm has been registered","user":{"login":"fibonaki","id":1587795,"avatar_url":"https://avatars.githubusercontent.com/u/1587795?v=3","gravatar_id":"","url":"https://api.github.com/users/fibonaki","html_url":"https://github.com/fibonaki","followers_url":"https://api.github.com/users/fibonaki/followers","following_url":"https://api.github.com/users/fibonaki/following{/other_user}","gists_url":"https://api.github.com/users/fibonaki/gists{/gist_id}","starred_url":"https://api.github.com/users/fibonaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibonaki/subscriptions","organizations_url":"https://api.github.com/users/fibonaki/orgs","repos_url":"https://api.github.com/users/fibonaki/repos","events_url":"https://api.github.com/users/fibonaki/events{/privacy}","received_events_url":"https://api.github.com/users/fibonaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-10T12:53:16Z","updated_at":"2015-04-13T07:21:55Z","closed_at":null,"body":"I have installed CKAN on a Ubuntu 12.04 64bit system and everything was fine. I also installed correctly these extensions: \r\n\r\nckan.plugins = stats image_view webpage_view recline_grid_view pdf_view spatial_metadata spatial_query datastore datapusher extrafields apihelper viewhelpers navigablemap choroplethmap barchart repo_info dashboard_preview resource_proxy geojson_preview wms_preview vegaview hierarchy_display hierarchy_form harvest ckan_harvester archiver qa  \r\n\r\nNow, I wanted to add ckanext-privatedatasets but I am having the following error:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/ckan/default/bin/paster\", line 9, in <module>\r\n    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py\", line 104, in run\r\n    invoke(command, command_name, options, args[1:])\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py\", line 143, in invoke\r\n    exit_code = runner.run(args)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py\", line 238, in run\r\n    result = self.command()\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/serve.py\", line 284, in command\r\n    relative_to=base, global_conf=vars)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/serve.py\", line 321, in loadapp\r\n    **kw)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py\", line 247, in loadapp\r\n    return loadobj(APP, uri, name=name, **kw)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py\", line 272, in loadobj\r\n    return context.create()\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py\", line 710, in create\r\n    return self.object_type.invoke(self)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py\", line 146, in invoke\r\n    return fix_call(context.object, context.global_conf, **context.local_conf)\r\n  File \"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/util.py\", line 56, in fix_call\r\n    val = callable(*args, **kw)\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/config/middleware.py\", line 58, in make_app\r\n    load_environment(conf, app_conf)\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/config/environment.py\", line 232, in load_environment\r\n    p.load_all(config)\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py\", line 134, in load_all\r\n    load(*plugins)\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py\", line 166, in load\r\n    plugins_update()\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py\", line 116, in plugins_update\r\n    environment.update_config()\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/config/environment.py\", line 272, in update_config\r\n    routes_map = routing.make_map()\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/config/routing.py\", line 343, in make_map\r\n    lib_plugins.register_package_plugins(map)\r\n  File \"/usr/lib/ckan/default/src/ckan/ckan/lib/plugins.py\", line 81, in register_package_plugins\r\n    raise ValueError(\"More than one fallback \"\r\nValueError: More than one fallback IDatasetForm has been registered\r\n\r\nI would be grateful if someone can give me an advice to look for a solution to this.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/comments/92247110","html_url":"https://github.com/conwetlab/ckanext-privatedatasets/issues/29#issuecomment-92247110","issue_url":"https://api.github.com/repos/conwetlab/ckanext-privatedatasets/issues/29","id":92247110,"user":{"login":"fibonaki","id":1587795,"avatar_url":"https://avatars.githubusercontent.com/u/1587795?v=3","gravatar_id":"","url":"https://api.github.com/users/fibonaki","html_url":"https://github.com/fibonaki","followers_url":"https://api.github.com/users/fibonaki/followers","following_url":"https://api.github.com/users/fibonaki/following{/other_user}","gists_url":"https://api.github.com/users/fibonaki/gists{/gist_id}","starred_url":"https://api.github.com/users/fibonaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibonaki/subscriptions","organizations_url":"https://api.github.com/users/fibonaki/orgs","repos_url":"https://api.github.com/users/fibonaki/repos","events_url":"https://api.github.com/users/fibonaki/events{/privacy}","received_events_url":"https://api.github.com/users/fibonaki/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T07:21:54Z","updated_at":"2015-04-13T07:21:54Z","body":"Hi @aitormagan!\r\n\r\nThank you so much for your answer. I did  what you have suggested and now it is working. Indeed, I had another extension returning **True** which is **extend_search** I think. \r\n\r\nAs far as I am not familiar with Python, I would like to ask you what is the prupose of the function **is_fallback()** and why is not strongly \"necessary\".\r\n\r\nI'm really very excited with Ckan and all the community that is behind. Now, I will do some test about **ckanext_privatedatasts**' extension. It is very useful for what I have to do.\r\n\r\nThank you for helping me :)"}}