Ticket #908 (new defect) — at Version 1

Opened 3 years ago

Last modified 3 years ago

Issues deploying extensions with modwsgi

Reported by: rgrp Owned by: rgrp
Priority: critical Milestone: ckan-v1.4-sprint-1
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by rgrp) (diff)

Some extensions import pylons features (such as request) at root.

Have encountered following issues:

  1. You need to import ckanext before any ckan stuff in your wsgi script (extension stats and dataapi)
  1. Running under wsgi daemon mode (normal mode is fine!) the front page (front page only) will not work (does not occur with disqus or synchronous_search but does with stats and dataapi extensions). You get errors like this in the log:
[Mon Jan 17 09:01:19 2011] [error] Exception KeyError: KeyError(-1218594160,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored
[Mon Jan 17 09:01:20 2011] [error] Exception AttributeError: "'NoneType' object has no attribute 'clearing'" in <bound method PluginEnvironment.__del__ of  Services for Environment '<default>'

Change History

comment:1 Changed 3 years ago by rgrp

  • Description modified (diff)
Note: See TracTickets for help on using tickets.