← Back to team overview

sloecode-dev team mailing list archive

Re: Sloecode deployment

 

OK, there is more info on this error, but it only arrived just in an
email to me. This is it, maybe you can figure out more about what might
be going on (or not).

Guy



-- 
Guy K. Kloss
School of Computing + Mathematical Sciences
Auckland University of Technology
Private Bag 92006, Auckland 1142
phone: +64 9 921 9999 ext. 5032
eMail: Guy.Kloss@xxxxxxxxx
--- Begin Message ---
URL: http://putake.aut.ac.nz:8001/me
File '/usr/lib/pymodules/python2.6/weberror/errormiddleware.py', line 162 in __call__
  app_iter = self.application(environ, sr_checker)
File '/usr/lib/pymodules/python2.6/repoze/who/middleware.py', line 107 in __call__
  app_iter = app(environ, wrapper.wrap_start_response)
File '/usr/lib/pymodules/python2.6/beaker/middleware.py', line 152 in __call__
  return self.wrap_app(environ, session_start_response)
File '/usr/lib/pymodules/python2.6/routes/middleware.py', line 131 in __call__
  response = self.app(environ, start_response)
File '/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 124 in __call__
  response = self.dispatch(controller, environ, start_response)
File '/usr/lib/pymodules/python2.6/pylons/wsgiapp.py', line 327 in dispatch
  return controller(environ, start_response)
File '/usr/lib/python2.6/dist-packages/sloecode/lib/base.py', line 22 in __call__
  return WSGIController.__call__(self, environ, start_response)
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 225 in __call__
  response = self._dispatch_call()
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 176 in _dispatch_call
  response = self._inspect_call(func)
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 108 in _inspect_call
  result = self._perform_call(func, args)
File '/usr/lib/pymodules/python2.6/pylons/controllers/core.py', line 60 in _perform_call
  return func(**args)
File '<string>', line 2 in me
File '/usr/lib/pymodules/python2.6/repoze/what/plugins/pylonshq/protectors.py', line 118 in wrap_action
  return action_(*args, **kwargs)
File '/usr/lib/python2.6/dist-packages/sloecode/controllers/person.py', line 67 in me
  person_name=user.login))
AttributeError: 'NoneType' object has no attribute 'login'


CGI Variables
-------------
  AUTH_TYPE: 'cookie'
  DOCUMENT_ROOT: '/var/www'
  GATEWAY_INTERFACE: 'CGI/1.1'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-15,utf-8;q=0.7,*;q=0.7'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-nz,en;q=0.7,en-us;q=0.3'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_COOKIE: '__utma=95478083.824699417.1280966703.1288654595.1288658055.10; SQ_SYSTEM_SESSION=ml7291q8vt7d4nc34r3kt8bgf7; sloecode=5a2731e7a3cdcd3746e0240987dc7daae7cce6c0f4e87cbc288ee790fc8f3bfe74fede5a; MOIN_SESSION_8000_ROOT_wiki=8f44fe54ade9afc5ffe0017d9e41ecb08932caac; FixedLeftThemeViewSequence=%23sidebarSearch%2C%20%23sidebarPageLink%2C%20%23sidebarNavigation%2C%20%23sidebarPageActions%2C%20%23sidebarMoreActions%2C%20%23sidebarUser%2C%20%23sidebarTrail%2C%20%23sidebarTOC%2C%20%23%23%23sidebarMoreActions%2C%20; auth_tkt="4d855c6fded888ae34c02ec155da39c44ef14334gkloss!"'
  HTTP_DNT: '1'
  HTTP_HOST: 'putake.aut.ac.nz:8001'
  HTTP_REFERER: 'http://putake.aut.ac.nz:8001/auth/login'
  HTTP_USER_AGENT: 'Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0'
  PATH_INFO: '/me'
  PATH_TRANSLATED: '/usr/share/sloecode/wsgi/sloecode.wsgi/me'
  REMOTE_ADDR: '156.62.70.135'
  REMOTE_PORT: '35373'
  REMOTE_USER: 'gkloss'
  REMOTE_USER_TOKENS: ['']
  REQUEST_METHOD: 'GET'
  REQUEST_URI: '/me?__logins=0'
  SCRIPT_FILENAME: '/usr/share/sloecode/wsgi/sloecode.wsgi'
  SERVER_ADDR: '156.62.52.136'
  SERVER_ADMIN: 'guy.kloss@xxxxxxxxx'
  SERVER_NAME: 'putake.aut.ac.nz'
  SERVER_PORT: '8001'
  SERVER_PROTOCOL: 'HTTP/1.1'
  SERVER_SIGNATURE: '<address>Apache/2.2.16 (Debian) Server at putake.aut.ac.nz Port 8001</address>\n'
  SERVER_SOFTWARE: 'Apache/2.2.16 (Debian)'


WSGI Variables
--------------
  application: <repoze.who.middleware.PluggableAuthenticationMiddleware object at 0xb9d9194c>
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0xb9ac70cc>>
  beaker.session: {'_accessed_time': 1324435415.287977, '_creation_time': 1324435350.969388}
  mod_wsgi.application_group: 'putake.aut.ac.nz:8001|'
  mod_wsgi.callable_object: 'application'
  mod_wsgi.handler_script: ''
  mod_wsgi.input_chunked: '0'
  mod_wsgi.listener_host: ''
  mod_wsgi.listener_port: '8001'
  mod_wsgi.process_group: 'SloecodeWsgiDaemon'
  mod_wsgi.request_handler: 'wsgi-script'
  mod_wsgi.script_reloading: '1'
  mod_wsgi.version: (3, 3)
  paste.cookies: (<SimpleCookie: FixedLeftThemeViewSequence='%23sidebarSearch%2C%20%23sidebarPageLink%2C%20%23sidebarNavigation%2C%20%23sidebarPageActions%2C%20%23sidebarMoreActions%2C%20%23sidebarUser%2C%20%23sidebarTrail%2C%20%23sidebarTOC%2C%20%23%23%23sidebarMoreActions%2C%20' MOIN_SESSION_8000_ROOT_wiki='8f44fe54ade9afc5ffe0017d9e41ecb08932caac' SQ_SYSTEM_SESSION='ml7291q8vt7d4nc34r3kt8bgf7' __utma='95478083.824699417.1280966703.1288654595.1288658055.10' auth_tkt='4d855c6fded888ae34c02ec155da39c44ef14334gkloss!' sloecode='5a2731e7a3cdcd3746e0240987dc7daae7cce6c0f4e87cbc288ee790fc8f3bfe74fede5a'>, '__utma=95478083.824699417.1280966703.1288654595.1288658055.10; SQ_SYSTEM_SESSION=ml7291q8vt7d4nc34r3kt8bgf7; sloecode=5a2731e7a3cdcd3746e0240987dc7daae7cce6c0f4e87cbc288ee790fc8f3bfe74fede5a; MOIN_SESSION_8000_ROOT_wiki=8f44fe54ade9afc5ffe0017d9e41ecb08932caac; FixedLeftThemeViewSequence=%23sidebarSearch%2C%20%23sidebarPageLink%2C%20%23sidebarNavigation%2C%20%23sidebarPageActi!
 ons%2C%2...ef14334gkloss!"')
  paste.parsed_dict_querystring: (MultiDict([]), '__logins=0')
  paste.registry: <paste.registry.Registry object at 0xb9ee49ec>
  paste.throw_errors: True
  pylons.action_method: <bound method PersonController.me of <sloecode.controllers.person.PersonController object at 0xb9eed8cc>>
  pylons.controller: <sloecode.controllers.person.PersonController object at 0xb9eed8cc>
  pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  pylons.pylons: <pylons.util.PylonsContext object at 0xb9eed86c>
  pylons.routes_dict: {'action': u'me', 'controller': u'person'}
  repoze.what.adapters: {'groups': None, 'permissions': None}
  repoze.what.credentials: {'repoze.what.userid': 'gkloss', 'groups': (), 'permissions': ()}
  repoze.who.identity: <repoze.who identity (hidden, dict-like) at 3119422316>
  repoze.who.logger: None
  repoze.who.logins: 0
  repoze.who.plugins: {'sa_md': <repoze.who.plugins.sa.SQLAlchemyUserMDPlugin object at 0xb9d8ab8c>, 'sa_auth': <repoze.who.plugins.sa.SQLAlchemyAuthenticatorPlugin object at 0xb9ac76cc>, 'auth_tkt': <AuthTktCookiePlugin 3118013260>, 'form': <FriendlyFormPlugin 3118011468>, 'authorization_md': <repoze.what.middleware.AuthorizationMetadata object at 0xb9d9182c>}
  routes.route: <routes.route.Route object at 0xb9a7e4cc>
  routes.url: <routes.util.URLGenerator object at 0xb9eed72c>
  webob.adhoc_attrs: {'language': 'en-us'}
  wsgi process: 'Multithreaded'
  wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb9ed9e78>
  wsgi.version: (1, 1)
  wsgiorg.routing_args: (<routes.util.URLGenerator object at 0xb9eed72c>, {'action': u'me', 'controller': u'person'})

--- End Message ---

Follow ups

References