Re: Webware times out on WebFaction Hosting service

Roger Haase <crosseyedpenguin-/[email protected]> Mon, 25 Jul 2011 12:11:12 -0700 (PDT)
Newsgroups gmane.comp.python.webware
Message-ID <[email protected]>



----- Original Message -----
From: Christoph Zwerschke <[email protected]>
To: Discussion of Webware for Python including feedback and proposals. <web=
[email protected]>
Cc: =

Sent: Sunday, July 24, 2011 11:08 PM
Subject: Re: [Webware-discuss] Webware times out on WebFaction Hosting serv=
ice

Am 25.07.2011 00:36 schrieb Roger Haase:
> I have some progress. I think the WSGIAdapter.py has a bug -- I
> couldnot use a non-standard port on Ubuntu 11.04.

Just had a look and noticed that I actually removed the adapter.address =

file config option in r8114 on purpose, probably because you can do the =

same with WSGIAdapter.config. I just forgot to remove its mention in the =

docstring and had WSGIAdapter.config spelled wrong.

Not sure if I should remove it in the docstring now or reinclude the =

support for the adapter.address file. Do you think it's worthwile?

Note that I made some small fixes to the WSGIAdapter after 1.1b1, the =

current version is here:
http://svn.w4py.org/Webware/trunk/WebKit/Adapters/WSGIAdapter.py
But I don't think they have to do with your bad marshall data error.

Could you post a traceback of that error? I guess it's thrown somewhere =

in receiveDict. One possible problem could be that your WSGIAdapter.py =

file runs with a different Python version than your ThreadedAppServer.

-- Christoph

------------------------------------------

Thank you Christoph, the problem was indeed different Python versions. =A0A=
ll is working now.

Regarding the docstring and adapter.address file, I think the least confusi=
ng route would be to fix the docstring and add Host and AdapterPort lines t=
o the WSGIAdapter.config (etc) files.

Thanks for your help!

Roger Haase

---------------------------------------------------------------------------=
---
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to =

the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/5142737=
8/