[ckan-dev] Datastorer Inquiry
Constantine
zigchg at gmail.com
Tue Jul 16 16:52:21 UTC 2013
Hi,
Thank you for the help. I believe we were able to successfully execute
*paster celeryd -c /etc/ckan/default/production.ini*
However, when we tried to run
*paster datastorer update -c /etc/ckan/default/production.ini*
we ran into some problems regarding JSON. The error message we received was
(default)root at ubuntu:~/pyenv/src/ckanext-datastorer# paster datastorer
update -c /etc/ckan/default/production.ini
Traceback (most recent call last):
File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 104, in run
invoke(command, command_name, options, args[1:])
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 143, in invoke
exit_code = runner.run(args)
File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 238, in run
result = self.command()
File "/root/pyenv/src/ckanext-datastorer/ckanext/datastorer/commands.py",
line 106, in command
for package in packages:
File "/root/pyenv/src/ckanext-datastorer/ckanext/datastorer/commands.py",
line 54, in _get_all_packages
packages = json.loads(response.content).get('result')
File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
*ValueError: No JSON object could be decoded
*
Along with this, after we executed the command
*sudo ckan db init
*
the website was unable to be located because there was an internal server
error.
The method we used to install ckan and datastorer, we followed from the
ckan documentation
*
http://docs.ckan.org/en/latest/install-from-package.html*
So, in the end, our question is can you assist us in getting the update to
work and also a method to bring the "website" which is on /localhost to
come back?
Thanks always for the help.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130716/b8a4fc1a/attachment.html>
More information about the ckan-dev
mailing list