I'm still hitting this error occasinally. Graham suggested it might bots but I got a report from a real user. Has anyone seen this issue before?
I don't think it would help to upgrade mod_wsgi as I'm not using the daemon mode. Thanks for the help. -Greg On Dec 20 2007, 10:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hey Ya'll, > > I started getting this error being reported from my website. Since > it's not happening when I use the website I'm not sure how to debug > it. Do you folks have any ideas? > > I hope the Django style traceback below isn't too hard to read. The > lines it says the errors are on are 121 and 101. > > Thanks a bunch! > > -Greg > > requestdata readerror > Python /usr/utilitymill/web/webapi.py in data, line 121 > Web POSThttp://utilitymill.com/code.py/utility/Greeting_Card_Generator > Traceback (innermost first) > > * /usr/utilitymill/web/webapi.py in data > 114. badrequest() > 115. raise StopIteration > 116. > 117. def data(): > 118. """Returns the data sent with the request.""" > 119. if 'data' not in ctx: > 120. cl = intget(ctx.env.get('CONTENT_LENGTH'), 0) > 121. ctx.data = ctx.env['wsgi.input'].read(cl) > 122. return ctx.data > 123. > 124. def setcookie(name, value, expires="", domain=None): > 125. """Sets a cookie.""" > 126. if expires < 0: > 127. expires = -1000000000 > ▼ Local vars > Variable Value > cl > 935840 > > * /usr/utilitymill/web/webapi.py in input > 94. _method = defaults.pop('_method', 'both') > 95. > 96. e = ctx.env.copy() > 97. out = {} > 98. if _method.lower() in ['both', 'post']: > 99. a = {} > 100. if e['REQUEST_METHOD'] == 'POST': > 101. a = cgi.FieldStorage(fp = StringIO(data()), environ=e, ... > 102. keep_blank_values=1) > 103. a = dictify(a) > 104. out = dictadd(out, a) > 105. > 106. if _method.lower() in ['both', 'get']: > 107. e['REQUEST_METHOD'] = 'GET' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
