i think this is an old version problem:
ubuntu breezy default version is: 4.3.9-2

The code is not the same as at the svn.

Mod_python error: "PythonHandler wepy.handler"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/wepy/handler.py", line 20, in handler
    env, si, so = apache.setup_cgi(req)

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 706, in setup_cgi
    os.environ.update(build_cgi_env(req))

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 541, in build_cgi_env
    if len(req.path_info) > 0:

TypeError: len() of unsized object

i found the fixed revision:
http://svn.apache.org/viewcvs.cgi?rev=104092&view=rev

Added a check for path_info so that we don't try to get len() of None.

my mistake,
thanks for your support.


--
Öğr. Gör. Fırat KÜÇÜK
Industrial Electronics Program Coordinator
-----------------------------------------------------------
  Department of Industrial Electronics
  Sakarya University, Adapazari Vocational College
  + 90 (264) 346 02 32, fkucuk[at]sakarya[dot]edu[dot]tr
  http://www.adamyo.sakarya.edu.tr/

  http://firat.kucuk.org/, firat[at]kucuk[dot]org
-----------------------------------------------------------

Reply via email to