LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-28-2007, 11:32 PM   #1
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Exclamation apache2 mod_python.publisher upload problem


I'm having an issue with mod_python on a custom app that I designed. I'm posting here because I just became fairly confident that this problem has nothing to do with my code. I set "PythonDebug on" in order to get a stack trace.

This only seems to happen on Internet explorer (version 6 sp2, don't have 7 handy right now). This has not occurred on firefox.

The when uploading a file as part of a form, through POST, the page eventually times out and gives this error:

Code:
Mod_python error: "PythonHandler mod_python.publisher"

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/mod_python/publisher.py", line 213, in handler
    published = publish_object(req, object)

  File "/usr/lib/python2.4/site-packages/mod_python/publisher.py", line 411, in publish_object
    req.form = util.FieldStorage(req, keep_blank_values=1)

  File "/usr/lib/python2.4/site-packages/mod_python/util.py", line 147, in __init__
    self.read_to_boundary(req, boundary, None)

  File "/usr/lib/python2.4/site-packages/mod_python/util.py", line 238, in read_to_boundary
    line = req.readline(readBlockSize)

IOError: Client read error (Timeout?)
Note that the stack trace does NOT go through any of my code. This is all mod_python.

This is not consistent behavior. The file will sometimes upload just fine. Typically, it can be convinced to work by selecting "back" and then submitting again.

I am working with a client on this one, and need to understand this quickly (hence posting here). If I do not solve this before I leave work today, I really should fix it first thing tomorrow.

Apache version: 2.2.3-4
mod_python version: 3.2.10-4

Thank you in advance to anybody who replies.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_python file upload gd2shoe Programming 0 07-26-2006 02:38 AM
mod_python segfaults apache2 fietske Slackware 1 07-19-2006 05:14 AM
Apache2 upload fileperms problem Martin Fischer Suse/Novell 1 09-03-2005 04:57 AM
mod_python (with -DEAPI) compiled problem dominant Linux - Software 0 12-05-2004 07:28 AM
Upload Files in Apache2.... vous Linux - Software 0 02-03-2004 08:51 AM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration