Advice from the manual directs me to edit setup.py after creating a new project repository with init, however I see no template setup.py in the directory it creates. I do see a datapackage.json file, perhaps this has replaced setup.py as the correct place to edit metadata? Is some metadata required and other data optional?
I have added my API key to the configuration file as directed, but on attempting to register an example data package I get the error:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/dpm-0.10-py2.7.egg/dpm/cli/base.py", line 172, in main
self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/dpm-0.10-py2.7.egg/dpm/cli/standard.py", line 231, in run
index_to.register(pkg)
File "/usr/local/lib/python2.7/dist-packages/dpm-0.10-py2.7.egg/dpm/index/ckan.py", line 88, in register
self.ckan.package_register_post(package_dict)
File "/usr/local/lib/python2.7/dist-packages/ckanclient-0.9-py2.7.egg/ckanclient/__init__.py", line 374, in package_register_post
self.open_url(url, data, headers)
File "/usr/local/lib/python2.7/dist-packages/ckanclient-0.9-py2.7.egg/ckanclient/__init__.py", line 346, in open_url
raise CkanApiConflictError(self.last_status)
CkanApiConflictError: 409
Not sure what I have done wrong, any advice?
Finally, let me know if there is a user mailing list, forum, or otherwise preferable place to post my elementary issues as I learn dpm or if it is okay to post them here. Thanks!
Advice from the manual directs me to edit
setup.pyafter creating a new project repository withinit, however I see no templatesetup.pyin the directory it creates. I do see adatapackage.jsonfile, perhaps this has replacedsetup.pyas the correct place to edit metadata? Is some metadata required and other data optional?I have added my API key to the configuration file as directed, but on attempting to register an example data package I get the error:
Not sure what I have done wrong, any advice?
Finally, let me know if there is a user mailing list, forum, or otherwise preferable place to post my elementary issues as I learn
dpmor if it is okay to post them here. Thanks!