[ECODP-dev] Package failing to import [release 09]

Dimitrios Mexis dimitrios.mexis at tenforce.com
Tue Sep 3 08:17:06 UTC 2013


Hello John/David,

PO tries to import sg.zip package which contains regExp.rdf

The json attached is from ODP.and the relevant copy of the log file.
For me, the json fails to be imported and I don't understand the cause.

The files with dates, are the output from PO as given.


Regards
Dimitrios
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130903/8c2bf89a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regExp.rdf
Type: application/rdf+xml
Size: 31634 bytes
Desc: not available
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130903/8c2bf89a/attachment-0001.rdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2013-09-02_odpfrontend_httpd_ecodp_error.log
Type: text/x-log
Size: 14098 bytes
Desc: not available
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130903/8c2bf89a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2013-09-02_odpfrontend_httpd_ecodp-custom.log
Type: text/x-log
Size: 570 bytes
Desc: not available
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130903/8c2bf89a/attachment-0003.bin>
-------------- next part --------------
{"geographical_coverage":[],"published_by":"sg","status":"http://ec.europa.eu/open-data/kos/dataset-status/Completed","keyword_string":["policy","consultative-entities","legislation","expert-groups","experts"],"url":"http://ec.europa.eu/eurostat/product?code=sg-regexp","title":"Register of Commission Expert Groups and other similar entities","type_of_dataset":[],"description":"The Register of Commission expert groups and other similar entities stores the information concerning the consultative entities which provide the Commission and its services with advice and expertise in relation to: \n\n- the preparation of legislative proposals and policy initiatives (Commission's right of initiative);\n- the preparation of delegated acts;\n- the implementation of existing EU legislation, programmes and policies, including coordination and cooperation with Member States and stakeholders in that regard.\n\nFor each entity, the Register provides for a great amount of information, including the Commission department responsible, as well as the group's mission, tasks and membership.","interoperability_level":[],"name":"Qj83cpCYT0MrAZIJILOQQ","license_id":[],"language":[],"identifier":"sg-regexp"}
-------------- next part --------------
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:31:14 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '1214'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '43342'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1d27f2210>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1d27f2250>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1d27f2310>>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378193614.105222, '_creation_time': 1378193614.105222}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1d2743c10>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1d48ebc10>>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1d48ebc10>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1d48eb490>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1d48ebf10>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1d27ebf38>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140332998010512>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1d27f27d0>, 'friendlyform': <FriendlyFormPlugin 140332998009808>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1d26a9b10>}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1d23ffcd0>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1d48eb510>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1d2aef738>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1d48eb510>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] ------------------------------------------------------------
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '1214'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '43343'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1ce677850>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1ce677810>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1ce677e90>>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378193614.1566441, '_creation_time': 1378193614.1566441}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1ce2d1090>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1d47cba90>>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1d47cba90>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1d47cb5d0>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1ce2d16d0>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1ce6807e8>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140332929368720>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1ce67c1d0>, 'friendlyform': <FriendlyFormPlugin 140332929370832>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1ce688e50>}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1ce609610>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1d47cdfd0>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1ceae2c60>
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1d47cdfd0>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 09:33:34 2013] [error] [client 127.0.0.1] ------------------------------------------------------------
[Tue Sep 03 09:33:48 2013] [error] 2013-09-03 09:33:48,096 WARNI [ckan.logic] `order_by` deprecated please use `sort`
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8053): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:39:49 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:39:59 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:40:10 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8052): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:40:52 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8049): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:41:03 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8051): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:41:13 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8053): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:41:53 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:42:03 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:42:13 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '1214'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '43541'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1ce334c10>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1ce334d90>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1ce334a90>>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378194529.6076429, '_creation_time': 1378194529.6076429}
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1d4a51e10>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1d4a4aa10>>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1d4a4aa10>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1d4a4ae10>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1d47d3150>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1ce337680>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140332925927504>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1ce33e650>, 'friendlyform': <FriendlyFormPlugin 140332925928720>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1ce3342d0>}
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1ce532810>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1d4a4aed0>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1d48c9eb8>
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1d4a4aed0>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 09:48:49 2013] [error] [client 127.0.0.1] ------------------------------------------------------------
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '1214'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '43556'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1d27f2210>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1d27f2250>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1d27f2310>>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378194665.9255271, '_creation_time': 1378194665.9255271}
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1d2a30690>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1d2a2c1d0>>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1d2a2c1d0>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1d48ba950>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1d4886990>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1d27ebf38>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140332998010512>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1d27f27d0>, 'friendlyform': <FriendlyFormPlugin 140332998009808>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1d26a9b10>}
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1d23ffcd0>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1d48869d0>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1d247ecd8>
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1d48869d0>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 09:51:05 2013] [error] [client 127.0.0.1] ------------------------------------------------------------
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:52:41 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:53:41 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8051): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:54:16 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:54:26 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:54:36 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8052): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:54:46 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8051): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:55:16 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8053): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:55:26 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:55:36 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:55:43 2013] [error] [client 192.168.35.231] File does not exist: /applications/ecodp/users/ecodp/drupal/www/favicon.ico
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '34523'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '43702'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1d6bf9c10>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1d6bf9d90>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1d6bf9a90>>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378194967.703063, '_creation_time': 1378194967.703063}
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1e3ee4b10>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1e3ee4050>>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1e3ee4050>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1e3ee4f90>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1e3ee4f10>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1d6bfb5f0>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140333069340752>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1d6bf92d0>, 'friendlyform': <FriendlyFormPlugin 140333069341968>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1d6bf9590>}
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1d6ad6810>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1e3ee4950>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1d6dc9828>
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1e3ee4950>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 09:56:07 2013] [error] [client 127.0.0.1] ------------------------------------------------------------
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8051): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:56:16 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:56:26 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 09:56:36 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:03:32 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:03:42 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:04:06 2013] [error] 2013-09-03 10:04:06,698 WARNI [ckan.logic] `order_by` deprecated please use `sort`
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8051): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:04:32 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8052): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:04:43 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8050): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:05:33 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:05:33 2013] [error] 2013-09-03 10:05:33,630 WARNI [ckan.logic] `order_by` deprecated please use `sort`
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231] mod_wsgi (pid=8048): Exception occurred processing WSGI script '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'.
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231] Traceback (most recent call last):
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/conf/wsgi.py", line 26, in application
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]     return _application(environ, start_response)
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/apachemiddleware/__init__.py", line 37, in __call__
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]     return self.app(environ, start_response)
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/paste/gzipper.py", line 38, in __call__
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]     response.gzip_start_response)
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]   File "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py", line 315, in __call__
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231]     environ['HTTP_ACCEPT_LANGUAGE'],
[Tue Sep 03 10:05:43 2013] [error] [client 192.168.35.231] KeyError: 'HTTP_ACCEPT_LANGUAGE'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] Error - <type 'exceptions.TypeError'>: expected string or buffer
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] URL: http://localhost:8008/data/api/action/package_create
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   app_iter = self.application(environ, sr_checker)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return self.app(environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/beaker/middleware.py', line 155 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return self.wrap_app(environ, session_start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/repoze/who/middleware.py', line 87 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   app_iter = app(environ, wrapper.wrap_start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/routes/middleware.py', line 131 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   response = self.app(environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   response = self.dispatch(controller, environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return controller(environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 69 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return base.BaseController.__call__(self, environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/base.py', line 238 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   res = WSGIController.__call__(self, environ, start_response)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   response = self._dispatch_call()
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   response = self._inspect_call(func)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   result = self._perform_call(func, args)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/lib/python2.6/site-packages/pylons/controllers/core.py', line 60 in _perform_call
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return func(**args)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/controllers/api.py', line 177 in action
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   result = function(context, request_data)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/logic/action/create.py', line 132 in package_create
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   data, errors = _validate(data_dict, schema, context)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 228 in validate
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   converted_data, errors = _validate(flattened, schema, context)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 290 in _validate
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   convert(converter, key, converted_data, errors, context)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/lib/navl/dictization_functions.py', line 198 in convert
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   value = converter(converted_data.get(key), context)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/applications/ecodp/users/ecodp/ckan/ecportal/src/ckanext-ecportal-release-v1.8.1/ckanext/ecportal/validators.py', line 369 in map_licenses
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   if re.match(_cc_by_re, val):
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] File '/usr/lib64/python2.6/re.py', line 137 in match
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   return _compile(pattern, flags).match(string)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] TypeError: expected string or buffer
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] CGI Variables
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] -------------
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   CKAN_CURRENT_URL: '/api/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   CKAN_LANG: 'en'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   CKAN_LANG_IS_DEFAULT: True
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   CONTENT_LENGTH: '1199'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   CONTENT_TYPE: 'text/json; charset=utf-8'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   DOCUMENT_ROOT: '/applications/ecodp/users/ecodp/drupal/www'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   GATEWAY_INTERFACE: 'CGI/1.1'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   HTTP_AUTHORIZATION: 'Basic Og=='
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   HTTP_CONNECTION: 'Keep-Alive'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   HTTP_HOST: 'localhost:8008'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   HTTP_USER_AGENT: 'Apache-HttpClient/4.1.3 (java 1.5)'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   HTTP_X_CKAN_API_KEY: '7cf5efc2-943e-4510-8faf-ee9f83bea3a3'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   PATH_INFO: '/api/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   PATH_TRANSLATED: 'redirect:/index.php/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   REMOTE_ADDR: '127.0.0.1'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   REMOTE_PORT: '44065'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   REQUEST_METHOD: 'POST'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   REQUEST_URI: '/data/api/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SCRIPT_FILENAME: '/applications/ecodp/users/ecodp/ckan/conf/wsgi.py'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SCRIPT_NAME: '/data'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SCRIPT_URI: 'http://localhost:8008/data/api/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SCRIPT_URL: '/data/api/action/package_create'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_ADDR: '127.0.0.1'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_ADMIN: 'root at localhost'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_NAME: 'localhost'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_PORT: '8008'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_PROTOCOL: 'HTTP/1.1'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_SIGNATURE: '<address>Apache/2.2.15 (Red Hat) Server at localhost Port 8008</address>\\n'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   SERVER_SOFTWARE: 'Apache/2.2.15 (Red Hat)'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] WSGI Variables
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] --------------
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   application: <beaker.middleware.CacheMiddleware object at 0x7fa1ce334c10>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   beaker.cache: <beaker.cache.CacheManager object at 0x7fa1ce334d90>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x7fa1ce334a90>>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   beaker.session: {'_accessed_time': 1378195601.3719749, '_creation_time': 1378195601.3719749}
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.application_group: 'odp.tenforce.com:8008|/data'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.callable_object: 'application'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.handler_script: ''
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.input_chunked: '0'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_host: ''
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.listener_port: '8008'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.process_group: 'ecodp'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.request_handler: 'wsgi-script'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.script_reloading: '1'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   mod_wsgi.version: (3, 2)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   paste.registry: <paste.registry.Registry object at 0x7fa1d489eb10>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   paste.throw_errors: True
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.action_method: <bound method ApiController.action of <ckan.controllers.api.ApiController object at 0x7fa1d489ea10>>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.controller: <ckan.controllers.api.ApiController object at 0x7fa1d489ea10>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.pylons: <pylons.util.PylonsContext object at 0x7fa1d489ea50>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.routes_dict: {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'}
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   pylons.status_code_redirect: True
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   repoze.who.api: <repoze.who.api.API object at 0x7fa1d489e050>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   repoze.who.logger: <logging.Logger instance at 0x7fa1ce337680>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   repoze.who.plugins: {'use_beaker': <UseBeakerPlugin 140332925927504>, 'ckan.lib.authenticator:UsernamePasswordAuthenticator': <ckan.lib.authenticator.UsernamePasswordAuthenticator object at 0x7fa1ce33e650>, 'friendlyform': <FriendlyFormPlugin 140332925928720>, 'ckan.lib.authenticator:BeakerSessionAuthenticator': <ckan.lib.authenticator.BeakerSessionAuthenticator object at 0x7fa1ce3342d0>}
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   routes.route: <routes.route.Route object at 0x7fa1ce532810>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   routes.url: <routes.util.URLGenerator object at 0x7fa1d489e650>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   webob._parsed_query_vars: (GET([]), '')
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   webob.adhoc_attrs: {'language': 'en-us'}
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   webob.is_body_seekable: True
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   wsgi process: 'Multi process AND threads (?)'
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fa1d4a8c300>
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   wsgi.version: (1, 1)
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7fa1d489e650>, {'action': u'action', 'controller': u'api', 'ver': 3, 'logic_function': u'package_create'})
[Tue Sep 03 10:06:41 2013] [error] [client 127.0.0.1] ------------------------------------------------------------


More information about the ecodp-dev mailing list