[ckan-discuss] ckan-discuss Digest, Vol 26, Issue 11

Haq, Salman Salman.Haq at neustar.biz
Wed Mar 21 14:17:56 GMT 2012


I'm resending the traceback attached as an RTF file in case the formatting
is not clear in my previous email.

On 3/21/12 10:09 AM, "Haq, Salman" <Salman.Haq at neustar.biz> wrote:

>
>>>>> So I've got a fresh CKAN instance running. When I try to upload
>>>>> resource files for my dataset, I get the following error: "Failed to
>>>>> get credentials for storage upload. Upload cannot proceed."
>>>>
>>>> Are you logged in when you try to upload a file?
>>>>
>>>> There is a known issue with ckanext-storage, that it will present an
>>>> upload button to users who are not logged in, but then it will not let
>>>> them upload and will give them this error message instead.
>>>>
>>>> http://trac.ckan.org/ticket/1553
>>>>
>>>> Let me know whether you can upload successfully when logged in
>>>
>>>
>>> Sean,
>>>
>>> Yes, I am logged-in when the attempt to upload a file fails.
>>>
>>> I can also verify that issue #1553 exists in v1.6 but is unrelated to
>>>my
>>> original problem which could very well be a misconfiguration.
>>
>>Hmm. One possibility that comes to mind is UNIX file permissions. Does
>>the user that CKAN runs as have permissions to write to the
>>ofs.storage_dir?
>>
>>But I'm guessing here. Is there perhaps a traceback/error message in
>>your terminal and log file that you could send?
>
>Yes, as a matter of fact there is. I should have just sent it earlier :/
>
>The file I am trying to upload is called `sample.xlsx`.
>
>In /var/log/apache/std.custom.log a HTTP 500 is returned as soon as I
>close the file selection dialog box:
>
>        [21/Mar/2012:09:58:41 -0700] "GET
>/api/storage/auth/form/2012-03-21T135945/sample.xlsx HTTP/1.1" 500 566
>"http://ubuntu.local/dataset/edit/pathfinder" "Mozilla/5.0 (Macintosh;
>Intel Mac OS X 10_6_8) AppleWebKit/535.11 (KHTML, like Gecko)
>Chrome/17.0.963.79 Safari/535.11"
>
>
>In /var/log/apache/std.error.log a detailed traceback is generated.
>It seems like there are multiple failures happening - the one that I could
>decipher was smtplib failing to open a socket:
>
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] Error - <class
>'pkg_resources.DistributionNotFound'>: argparse, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] URL:
>http://ubuntu.local/api/storage/auth/form/2012-03-21T135945/sample.xlsx,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/weberror/errormiddleware.py', line 162 in
>__call__, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   app_iter =
>self.application(environ, sr_checker), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/beaker/middleware.py', line 73 in __call__,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>self.app(environ, start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/beaker/middleware.py', line 152 in __call__,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>self.wrap_app(environ, session_start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/routes/middleware.py', line 130 in __call__,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   response =
>self.app(environ, start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 125 in __call__,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   response =
>self.dispatch(controller, environ, start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 324 in dispatch,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>controller(environ, start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ckan/lib/base.py', line 135 in __call__,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>WSGIController.__call__(self, environ, start_response), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 221 in
>__call__, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   response =
>self._dispatch_call(), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 172 in
>_dispatch_call, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   response =
>self._inspect_call(func), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 107 in
>_inspect_call, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   result =
>self._perform_call(func, args), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 60 in
>_perform_call, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>func(**args), referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File '<string>',
>line 2 in auth_form, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ckan/lib/jsonp.py', line 26 in jsonpify,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   data =
>func(*args, **kwargs), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ckan/controllers/storage.py', line 379 in
>auth_form, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>authorize(method, bucket, label, c.userobj, self.ofs), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ckan/controllers/storage.py', line 170 in
>ofs, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>get_ofs(), referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ckan/controllers/storage.py', line 59 in
>get_ofs, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   ofs =
>get_impl(storage_backend)(**kw), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/usr/lib/pymodules/python2.6/ofs/factory.py', line 5 in get_impl,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   return
>ep.load(), referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/distribute-0.6.25-py2
>.
>6.egg/pkg_resources.py', line 1992 in load, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   if require:
>self.require(env, installer), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/distribute-0.6.25-py2
>.
>6.egg/pkg_resources.py', line 2005 in require, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>working_set.resolve(self.dist.requires(self.extras),env,installer)),
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] File
>'/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/distribute-0.6.25-py2
>.
>6.egg/pkg_resources.py', line 588 in resolve, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   raise
>DistributionNotFound(req), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>DistributionNotFound: argparse, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] CGI Variables,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] -------------,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   AUTH_TYPE:
>'cookie', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   DOCUMENT_ROOT:
>'/var/lib/ckan/std/static', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>GATEWAY_INTERFACE: 'CGI/1.1', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   HTTP_ACCEPT:
>'*/*', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_ACCEPT_ENCODING: 'gzip,deflate,sdch', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_CONNECTION: 'keep-alive', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   HTTP_COOKIE:
>'ckan=5df11b5ab6684a4d51c3f24cfcf0c3360495bca5d80eb71e9b0a65c686b573689d72
>3
>1f4; ckan_killtopbar=true;
>auth_tkt="8754bad1cad34e740cb7c53aedd9790b4f688e72admin!userid_type:unicod
>e
>";
>auth_tkt="8754bad1cad34e740cb7c53aedd9790b4f688e72admin!userid_type:unicod
>e
>"; ckan_user="admin"; ckan_display_name="admin";
>ckan_apikey="8d25e0a6-b8f7-4e26-ac2e-870d97f14697";
>hide_welcome_message=1', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   HTTP_HOST:
>'ubuntu.local', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   HTTP_REFERER:
>'http://ubuntu.local/dataset/edit/pathfinder', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_USER_AGENT: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
>AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11',
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>HTTP_X_REQUESTED_WITH: 'XMLHttpRequest', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   PATH:
>'/usr/local/bin:/usr/bin:/bin', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   PATH_INFO:
>'/api/storage/auth/form/2012-03-21T135945/sample.xlsx', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>PATH_TRANSLATED:
>'/var/lib/ckan/std/wsgi.py/api/storage/auth/form/2012-03-21T135945/sample.
>x
>lsx', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   REMOTE_ADDR:
>'172.16.148.1', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   REMOTE_PORT:
>'62574', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   REMOTE_USER:
>u'admin', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>REMOTE_USER_DATA: 'userid_type:unicode', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>REMOTE_USER_TOKENS: [''], referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   REQUEST_METHOD:
>'GET', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   REQUEST_URI:
>'/api/storage/auth/form/2012-03-21T135945/sample.xlsx', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>SCRIPT_FILENAME: '/var/lib/ckan/std/wsgi.py', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   SERVER_ADDR:
>'172.16.148.132', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   SERVER_ADMIN:
>'[no address given]', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   SERVER_NAME:
>'ubuntu.local', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   SERVER_PORT:
>'80', referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>SERVER_PROTOCOL: 'HTTP/1.1', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>SERVER_SIGNATURE: '<address>Apache/2.2.14 (Ubuntu) Server at ubuntu.local
>Port 80</address>\\n', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>SERVER_SOFTWARE: 'Apache/2.2.14 (Ubuntu)', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] WSGI Variables,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] --------------,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   application:
><beaker.middleware.CacheMiddleware object at 0x21e5e0cc>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   beaker.cache:
><beaker.cache.CacheManager object at 0x21e5e0ac>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>beaker.get_session: <bound method SessionMiddleware._get_session of
><beaker.middleware.SessionMiddleware object at 0x21e56f4c>>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   beaker.session:
>{'_accessed_time': 1332349121.8887141, '_creation_time':
>1332168520.6599901}, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.application_group: 'ubuntu.local|', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.callable_object: 'application', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.listener_host: '', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.listener_port: '80', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.process_group: '', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.reload_mechanism: '0', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.script_reloading: '1', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>mod_wsgi.version: (2, 8), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   paste.cookies:
>(<SimpleCookie:
>auth_tkt='8754bad1cad34e740cb7c53aedd9790b4f688e72admin!userid_type:unicod
>e
>'
>ckan='5df11b5ab6684a4d51c3f24cfcf0c3360495bca5d80eb71e9b0a65c686b573689d72
>3
>1f4' ckan_apikey='8d25e0a6-b8f7-4e26-ac2e-870d97f14697'
>ckan_display_name='admin' ckan_killtopbar='true' ckan_user='admin'
>hide_welcome_message='1'>,
>'ckan=5df11b5ab6684a4d51c3f24cfcf0c3360495bca5d80eb71e9b0a65c686b573689d72
>3
>1f4; ckan_killtopbar=true;
>auth_tkt="8754bad1cad34e740cb7c53aedd9790b4f688e72admin!userid_type:unicod
>e
>";
>auth_tkt="8754bad1cad34e740cb7c53aedd9790b4f688e72admin!userid_type:unicod
>e
>"; ckan_user="admin"; ckan_display_name="admin";
>ckan_apikey="8d25e0a6-b8f7-4e26-ac2e-870d97f14697";
>hide_welcome_message=1'), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   paste.registry:
><paste.registry.Registry object at 0x22339cec>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>paste.throw_errors: True, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>pylons.action_method: <bound method StorageAPIController.auth_form of
><ckan.controllers.storage.StorageAPIController object at 0x22b05f0c>>,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>pylons.controller: <ckan.controllers.storage.StorageAPIController object
>at 0x22b05f0c>, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>pylons.environ_config: {'session': 'beaker.session', 'cache':
>'beaker.cache'}, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   pylons.pylons:
><pylons.util.PylonsContext object at 0x22b0588c>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>pylons.routes_dict: {'action': u'auth_form', 'controller':
>u'ckan.controllers.storage:StorageAPIController', 'label':
>u'2012-03-21T135945/sample.xlsx'}, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>repoze.who.identity: <repoze.who identity (hidden, dict-like) at
>580814140>, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>repoze.who.logger: <logging.Logger instance at 0x21e565ac>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>repoze.who.plugins: {'openid': <OpenIdIdentificationPlugin 571551148>,
>'friendlyform': <FriendlyFormPlugin 567656428>,
>'ckan.lib.authenticator:UsernamePasswordAuthenticator':
><ckan.lib.authenticator.UsernamePasswordAuthenticator object at
>0x22119c8c>, 'auth_tkt': <AuthTktCookiePlugin 571578412>,
>'ckan.lib.authenticator:OpenIDAuthenticator':
><ckan.lib.authenticator.OpenIDAuthenticator object at 0x22119c2c>},
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   routes.route:
><routes.route.Route object at 0x21d4404c>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   routes.url:
><routes.util.URLGenerator object at 0x22b0528c>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>webob._parsed_query_vars: (GET([]), ''), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>webob.adhoc_attrs: {'language': 'en-us'}, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   wsgi process:
>'Multi process AND threads (?)', referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter
>object at 0x229d62f0>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x22b0528c>,
>{'action': u'auth_form', 'controller':
>u'ckan.controllers.storage:StorageAPIController', 'label':
>u'2012-03-21T135945/sample.xlsx'}), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>------------------------------------------------------------, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
><p>Additionally an error occurred while sending the
>&lt;weberror.reporter.EmailReporter object at 0x22b0534c&gt; report:,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] , referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
><pre>Traceback (most recent call last):, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/pymodules/python2.6/weberror/errormiddleware.py", line 450, in
>send_report, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]
>rep.report(exc_data), referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/pymodules/python2.6/weberror/reporter.py", line 45, in report,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]     server =
>smtplib.SMTP(self.smtp_server), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/python2.6/smtplib.py", line 239, in __init__, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]     (code, msg) =
>self.connect(host, port), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/python2.6/smtplib.py", line 295, in connect, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]     self.sock =
>self._get_socket(host, port, self.timeout), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/python2.6/smtplib.py", line 273, in _get_socket, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]     return
>socket.create_connection((port, host), timeout), referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]   File
>"/usr/lib/python2.6/socket.py", line 514, in create_connection, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]     raise error,
>msg, referer: http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] error: [Errno
>111] Connection refused, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1] </pre>, referer:
>http://ubuntu.local/dataset/edit/pathfinder
>[Wed Mar 21 09:58:41 2012] [error] [client 172.16.148.1]             </p>,
>referer: http://ubuntu.local/dataset/edit/pathfinder
>
>Thanks,
>Shaq
>
>
>_______________________________________________
>ckan-discuss mailing list
>ckan-discuss at lists.okfn.org
>http://lists.okfn.org/mailman/listinfo/ckan-discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: traceback.rtf
Type: text/rtf
Size: 23575 bytes
Desc: traceback.rtf
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20120321/79a79a0f/attachment-0001.bin>


More information about the ckan-discuss mailing list