looks like we have a mystery here. the problem is either in the
webserver layer or in in the django install.

we use a bunch of django "middleware" to improve performance, do things
like caching, compression etc. the error might be found there
somewhere. I attached a patch to disable them (tell me if you don't
know how to use a patch file).

you can also test with django's builtin server instead of our own
implementation, by running the command

./manage.py runserver

instead of ./PootleServer

the runserver command will use 8000 port by default instead of the
usual 8080

it would help if we can debug together, if you are familiar with IRC
we can meet on channel #pootle in the freenode network
irc://irc.freenode.net/#pootle

if you don't know what IRC is just this page
http://webchat.freenode.net/?randomnick=0&channels=pootle

enter a nick name and you'll be chatting with us (we'll need to figure
out timezones and stuff).

cheers,
Alaa


diff --git a/Pootle/pootle/settings.py b/Pootle/pootle/settings.py
index 1487b6f..37f5855 100644
--- a/Pootle/pootle/settings.py
+++ b/Pootle/pootle/settings.py
@@ -92,9 +92,9 @@ MIDDLEWARE_CLASSES = (
     # Uncomment to use pagecahing
     'pootle_misc.middleware.baseurl.BaseUrlMiddleware',
     'pootle_misc.middleware.siteconfig.SiteConfigMiddleware',
-    'django.middleware.cache.UpdateCacheMiddleware', # THIS MUST BE FIRST
-    'django.middleware.http.ConditionalGetMiddleware',
-    'django.middleware.gzip.GZipMiddleware',
+#    'django.middleware.cache.UpdateCacheMiddleware', # THIS MUST BE FIRST
+#    'django.middleware.http.ConditionalGetMiddleware',
+#    'django.middleware.gzip.GZipMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.middleware.locale.LocaleMiddleware',
@@ -104,7 +104,7 @@ MIDDLEWARE_CLASSES = (
     'pootle.middleware.check_cookies.CheckCookieMiddleware',
     #'pootle.middleware.profile.ProfilerMiddleware',
     # Uncomment to use pagecaching
-    'django.middleware.cache.FetchFromCacheMiddleware' # THIS MUST BE LAST
+#    'django.middleware.cache.FetchFromCacheMiddleware' # THIS MUST BE LAST
 )
 
 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to