The library is for pulling data from MLS.

I tried running it under the apache user, works fine there. I guess
I'll have to dig a little.

On Jan 21, 3:39 pm, Colin Bean <ccb...@gmail.com> wrote:
> On Wed, Jan 21, 2009 at 12:18 PM, joshuajonah <j...@joshuajonah.com> wrote:
>
> > Why wouldn't it at least except?
>
> > On Jan 21, 3:17 pm, joshuajonah <j...@joshuajonah.com> wrote:
> >> It doesn't even get to start the session:http://dpaste.com/111586/
>
> >> On Jan 21, 3:14 pm, joshuajonah <j...@joshuajonah.com> wrote:
>
> >> > It works and outputs what it should:http://dpaste.com/111584/
>
> >> > I'll try commenting out some lines and seeing how far it gets.
>
> >> > On Jan 21, 3:10 pm, Colin Bean <ccb...@gmail.com> wrote:
>
> >> > > On Wed, Jan 21, 2009 at 11:34 AM, joshuajonah <j...@joshuajonah.com> 
> >> > > wrote:
>
> >> > > > I'm having an issue getting Apache to serve a view. It appears to 
> >> > > > work
> >> > > > fine through shell (http://dpaste.com/111549/), however when viewed
> >> > > > through a web browser, it loads indefinitely.
>
> >> > > > Here is the view:http://dpaste.com/111551/
>
> >> > > > Any ideas guys?
>
> >> > > What's the contents of the response in the shell?  Perhaps the shell
> >> > > version encounters an exception and returns, while the server version
> >> > > gets hung up on something further along (looks like you're accessing a
> >> > > remote session, which might take a while).  Either way, I'd put some
> >> > > debugging statements in your view and see how far it gets...
>
> >> > > Colin
>
> How long were you waiting for the view to return?  I'm not familiar
> with the library you're using, but if it's timing out on the network
> access it might take a while before it generates an exception.
>
> It does look like accessing your remote session under apache is
> causing the problem (your shell test was done from the same box as the
> apache server, correct?).  If you're using mod_python, your code is
> stuck running under the 'apache' user... could that be a problem?  You
> could start a shell with sudo -u apache and run your view test again
> to check.
>
> Beyond that, all I can recommend is doing something to examine your
> network traffic and see if there's anything that points to a problem.
> Might be worth checking the apache error log too, if you haven't
> already.
>
> Colin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to