What steps will reproduce the problem?
1.I move my web2py app from web2py 2.2.3 to web2py 2.0.9
Traceback (most recent call last):
File "C:\web2py2\gluon\restricted.py", line 209, in restricted
exec ccode in environment
File "C:/web2py2/applications/EMPRE/controllers/default.py", line 530, in <module>
File "C:\web2py2\gluon\globals.py", line 186, in <lambda>
self._caller = lambda f: f()
File "C:/web2py2/applications/EMPRE/controllers/default.py", line 155, in report
pdf.image(logo,xy[0],xy[1],w=30)
File "C:\web2py2\gluon\contrib\fpdf\fpdf.py", line 896, in image
info=self._parsepng(name)
File "C:\web2py2\gluon\contrib\fpdf\fpdf.py", line 1749, in _parsepng
color += re.sub('(.{3}).',lambda m: m.group(1),line, flags=re.DOTALL)
TypeError: sub() got an unexpected keyword argument 'flags'
Original issue reported on code.google.com by ramstei...@gmail.com on 14 Feb 2013 at 5:51
Original issue reported on code.google.com by
ramstei...@gmail.com
on 14 Feb 2013 at 5:51