On Sep 10, 12:21 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> > Ok, we are almost there.
>
> > I found a type in the myfirstapp.wsgi script provided in the wiki.
>
> > #For root mounted app
> > #application = cherrypy._cpwsgi.wsgiAppi
>
> fixed.
>
> > should be
>
> > #For root mounted app
> > #application = cherrypy._cpwsgi.wsgiApp
>
> > Once I enabled that and disabled the lines as instructed my web site
> > came up and I was able to fully navigate it.
>
> > However, when I try run my reports, which passes a pdf back to the
> > client, I get a 500 error.  We have come full circle but now I am
> > running wsgi as was requested.  And yes, there are no tracebacks in
> > the apache error.log
>
> > Now maybe we can move on and fix the 500 error since wsgi is now
> > working.
>
> In the instruction I had disabled the server.log. IF you did too then
> re enable it, and make sure it has a full path
>
> args="('/usr/local/..morepath....server.log',)
> (restart apache)
>
> and check if you get the error there.
>
> If not then how are you generating the reports? Is that a tg app that
> sends it back or you are just passing a url to a file?
>
> if not working still
>
> stop apache and run
>
> start-myapp prod.cfg
> and see if you get the error. Check the logs.
>
> Lucas

Nothing in the log except this:

 - mel "POST /myclient/reports/BidVSJobDetailReport HTTP/1.1" 500 791
"http://192.168.1.9/myclient/reports/BidVSJobDetailInfo"; "Mozilla/5.0
(Windows; U; Windows NT 5.0; en-US; rv:1.8.1.16) Gecko/20080702 F
irefox/2.0.0.16"

Otherwise it works fine if I use start-myapp prod.cfg

This part of the code is creating a pdf report using reportlab and
using StringIO to buffer the report before sending it to the client
with an application/pdf header.  I don't think its making it into the
actual code though because all the log.debug() logic is being
skipped.  Going to try opening an empty template first then move on
from there.  Let you know whats up when I know more.

Mel

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to