I'm trying to run the TG-based whatwhat tracking system on DreamHost. I
followed the excellent wiki instructions at
http://trac.turbogears.org/turbogears/wiki/TurboGearsOnDreamHost and
loaded TG 1.0b1. A fresh quickstart project set up as fastcgi runs just
fine, so I'm pretty hopeful that the installation is ok.

Next I downloaded WhatWhat Tracking (http://cleverdevil.org/whatwhat)
from SVN and tried it. Whatwhat runs well on my local Linux box, and it
runs ok if I start it directly with whatwhat-start.py under DH, but
when I try to start it with fastcgi under DH my browser sees a "500 -
internal error", and stderr.log contains

WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
Exception in thread VisitManager (most likely raised during interpreter
shutdow\
n):
Traceback (most recent call last):
  File "/home/tbytes/lib/lib/python2.4/threading.py", line 442, in
__bootstrap
  File
"/home/.griper/tbytes/lib/lib/python2.4/site-packages/TurboGears-1.0b1-p\
y2.4.egg/turbogears/visit/api.py", line 257, in run
  File "/home/tbytes/lib/lib/python2.4/threading.py", line 348, in wait

My .htaccess contains

AddDefaultCharset utf-8
RewriteEngine On
RewriteBase /
RewriteRule ^(tg_fastcgi\.fcgi/.*)$ - [L]
RewriteRule !^stat - [C]
RewriteRule ^(.*)$ tg_fastcgi.fcgi/$1 [L]

and tg_fastcgi.fcgi has

# -- START USER EDIT SECTION
# -- Users must edit this section --
code_dir = '/home/tbytes/tg_sites/whatwhat/trunk'   # (Required) The
base direc\
tory of the TG app code.
root_class_name = 'whatwhat.controllers.Root' # (Required) The fully
qualified \
Root class name.
project_module_name = 'whatwhat.config'       # (Required) The config
module na\
me. Replace
                                              # PROJECTNAME with your
project's\
 name (e.g. wiki20).
log_dir = ''                                  # (Optional) The log
directory. D\
efault = code_dir.
# -- END USER EDIT SECTION

I suspect that the problem might be related to whatwhat having been
created with an earlier version of TG, but I'm not sure. Anyone have
any suggestions for where I might look for the problem?

(aside - I think TG and Whatwhat are pretty cool, and my goal is to
demo WW to our offsite management using my personal DH account.)

Thanks much,
Bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to