[ckan-dev] Sever error: An internal server error occurred

Kim Haklae haklaekim at gmail.com
Tue Oct 9 08:22:42 UTC 2012


Hi,

When I try to upload datasets using API (java), an error is occurred -"An
internal server error occurred".
This is a part of error message from Apache.
.....
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/formalchemy/forms.py:49: SADeprecationWarning:
compile_mappers() is renamed to configure_mappers()
[Thu Oct 04 17:32:56 2012] [error]   compile_mappers() # initializes
InstrumentedAttributes
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/ckan/lib/base.py:202: DeprecationWarning:
pylons.c is deprecated. Your project should import pylons.tmpl_context as
cinstead:
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] Before:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] After:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import tmpl_context as c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error]   c.userobj = self._get_user_for_apikey()
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/ckan/lib/base.py:203: DeprecationWarning:
pylons.c is deprecated. Your project should import pylons.tmpl_context as
cinstead:
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] Before:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] After:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import tmpl_context as c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error]   if c.userobj is not None:
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/ckan/lib/base.py:204: DeprecationWarning:
pylons.c is deprecated. Your project should import pylons.tmpl_context as
cinstead:
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] Before:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] After:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import tmpl_context as c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error]   c.user = c.userobj.name
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/ckan/controllers/api.py:53:
DeprecationWarning: pylons.c is deprecated. Your project should import
pylons.tmpl_context as cinstead:
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] Before:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] After:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import tmpl_context as c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error]   context = {'model':model,'user':
c.user or c.author}
[Thu Oct 04 17:32:56 2012] [error]
/usr/lib/pymodules/python2.6/ckan/controllers/api.py:305:
DeprecationWarning: pylons.c is deprecated. Your project should import
pylons.tmpl_context as cinstead:
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] Before:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error] After:
[Thu Oct 04 17:32:56 2012] [error]     from pylons import tmpl_context as c
[Thu Oct 04 17:32:56 2012] [error]
[Thu Oct 04 17:32:56 2012] [error]   context = {'model': model, 'session':
model.Session, 'user': c.user,

With thanks,
Haklae


-- 
Dr.Dr. Haklae Kim
Semantic Web and Open Data Hacker
http://thedatahub.kr
http://getthedata.kr
http://blogweb.co.kr
Tel: +82-(0)10-3201-0714
Who's Who in the World's 27th Edition - 2010
IBC 2000 Outstanding Scientists - 2010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121009/409c1215/attachment.html>


More information about the ckan-dev mailing list