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

request data read error
Python  /usr/utilitymill/web/webapi.py in data, line 121
Web     POST http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to