Seems it's a bug I had that error and that situation repeated
Traceback (most recent call last): File "/hamdy/workspace/hg/gluon/restricted.py", line 173, in restricted exec ccode in environment File "/hamdy/workspace/hg/applications/egypttrader/models/a.py", line 2, in <module> T.force('ar-ar') File "/hamdy/workspace/hg/gluon/languages.py", line 148, in force self.t = read_dict(filename) File "/root/workspace/hg/gluon/languages.py", line 44, in read_dict return eval(lang_text) File "<string>", line 3 <gluon.languages.lazyT object at 0x97d8a6c>: <gluon.languages.lazyT object at 0x97d8a6c>, ^ SyntaxError: invalid syntax ---------- and I keep having that particular line inserted into my translation file ------- B4 that error I got another one : Traceback (most recent call last): File "/root/workspace/hg/gluon/restricted.py", line 173, in restricted exec ccode in environment File "/root/workspace/hg/applications/egypttrader/views/sysadmin/ editCompany.html", line 100, in <module> {{if len(x[key]) != 0:}} File "/root/workspace/hg/gluon/globals.py", line 105, in write self.body.write(xmlescape(data)) File "/root/workspace/hg/gluon/html.py", line 107, in xmlescape data = str(data) TypeError: __str__ returned non-string (type lazyT) -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.