Hi,
I have a packed a Web2py application that is about 1.9Gb (lots of upload
files). When trying to upload it to production server the following error
occurs:
Traceback (most recent call last):
File "/home/tempName/web2py/gluon/restricted.py", line 212, in restricted
exec ccode in environment
File "/home/
<https://46.19.33.202/admin/default/edit/admin/controllers/default.py>tempName/web2py/applications/admin/controllers/default.py"
<https://46.19.33.202/admin/default/edit/admin/controllers/default.py>, line
1775, in <module>
File "/home/tempName/web2py/gluon/globals.py", line 188, in <lambda>
self._caller = lambda f: f()
File "/home/
<https://46.19.33.202/admin/default/edit/admin/controllers/default.py>tempName/web2py/applications/admin/controllers/default.py"
<https://46.19.33.202/admin/default/edit/admin/controllers/default.py>, line
212, in site
form_update.process()
File "/home/tempName/web2py/gluon/html.py", line 2170, in process
self.validate(**kwargs)
File "/home/tempName/web2py/gluon/html.py", line 2109, in validate
if self.accepts(**kwargs):
File "/home/tempName/web2py/gluon/sqlhtml.py", line 1281, in accepts
**kwargs
File "/home/tempName/web2py/gluon/html.py", line 2022, in accepts
self._traverse(False, hideerror)
File "/home/tempName/web2py/gluon/html.py", line 842, in _traverse
newstatus = c._traverse(status, hideerror) and newstatus
File "/home/tempName/web2py/gluon/html.py", line 842, in _traverse
newstatus = c._traverse(status, hideerror) and newstatus
File "/home/tempName/web2py/gluon/html.py", line 842, in _traverse
newstatus = c._traverse(status, hideerror) and newstatus
File "/home/tempName/web2py/gluon/html.py", line 842, in _traverse
newstatus = c._traverse(status, hideerror) and newstatus
File "/home/tempName/web2py/gluon/html.py", line 853, in _traverse
self._postprocessing()
File "/home/tempName/web2py/gluon/html.py", line 1762, in _postprocessing
_value = str(self['_value'])
File "/usr/lib/python2.7/cgi.py", line 515, in __repr__
self.name, self.filename, self.value)
OverflowError: string is too large to make repr
Web2py is 2.2.1.
Does anyone have clues why this is happening and how to get past this?
Kimmo
--