--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
--- You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I also have noticed the 'templating error' in traceback. I wonder If the problem is in gluon/template.py itself or in the view that generate the traceback
A quick fix to overcome the 'templating error' is to remove the try/except in https://github.com/web2py/web2py/blob/master/gluon/restricted.py#L139. Post the output here
Paolo
2017-04-27 13:28 GMT+02:00 Alexandre Andrade <alexand...@gmail.com>:
I also have noticed the 'templating error' in traceback. I wonder If the problem is in gluon/template.py itself or in the view that generate the traceback
Hi Paolo, thanks for your answer, this is the output:
Unhandled exception in thread started by <bound method
Thread._bootstrap of <WSGIWorker(Thread-2, started daemon
140315953710848)>>
Traceback (most recent call last):
File "/home/cccaballero/github/web2py/gluon/restricted.py", line
219, in restricted
exec(ccode, environment)
File
"/home/cccaballero/github/web2py/applications/historia_clinica_new/models/0_db.py",
line 94, in <module>
from plugin_thumbnails.thumbnails import thumbnails
File "/home/cccaballero/github/web2py/gluon/custom_import.py",
line 77, in custom_importer
return NATIVE_IMPORTER(oname, globals, locals, fromlist,
level)
File "<frozen importlib._bootstrap>", line 969, in
_find_and_load
File "<frozen importlib._bootstrap>", line 948, in
_find_and_load_unlocked
KeyError: 'plugin_thumbnails'
During handling of the above exception, another exception
occurred:
Traceback (most recent call last):
File "/home/cccaballero/github/web2py/gluon/main.py", line 446,
in wsgibase
serve_controller(request, response, session)
File "/home/cccaballero/github/web2py/gluon/main.py", line 177,
in serve_controller
run_models_in(environment)
File "/home/cccaballero/github/web2py/gluon/compileapp.py", line
584, in run_models_in
restricted(ccode, environment, layer=model)
File "/home/cccaballero/github/web2py/gluon/restricted.py", line
233, in restricted
raise RestrictedError(layer, ccode, output, environment)
File "/home/cccaballero/github/web2py/gluon/restricted.py", line
143, in __init__
self.traceback = traceback.format_exc()
File "/usr/lib/python3.5/traceback.py", line 163, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit,
chain=chain))
File "/usr/lib/python3.5/traceback.py", line 117, in
format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.5/traceback.py", line 474, in __init__
capture_locals=capture_locals)
File "/usr/lib/python3.5/traceback.py", line 358, in extract
f.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename,
self.lineno).strip()
AttributeError: 'NoneType' object has no attribute 'strip'
During handling of the above exception, another exception
occurred:
Traceback (most recent call last):
File "/home/cccaballero/github/web2py/gluon/rocket.py", line
1320, in run
self.run_app(conn)
File "/home/cccaballero/github/web2py/gluon/rocket.py", line
1821, in run_app
output = self.app(environ, self.start_response)
File "/home/cccaballero/github/web2py/gluon/main.py", line 651,
in app_with_logging
ret[0] = wsgiapp(environ, responder2)
File "/home/cccaballero/github/web2py/gluon/main.py", line 546,
in wsgibase
e = RestrictedError('Framework', '', '', locals())
File "/home/cccaballero/github/web2py/gluon/restricted.py", line
143, in __init__
self.traceback = traceback.format_exc()
File "/usr/lib/python3.5/traceback.py", line 163, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit,
chain=chain))
File "/usr/lib/python3.5/traceback.py", line 117, in
format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.5/traceback.py", line 487, in __init__
self._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 498, in _load_lines
frame.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename,
self.lineno).strip()
AttributeError: 'NoneType' object has no attribute 'strip'
During handling of the above exception, another exception
occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in
_bootstrap_inner
self.run()
File "/home/cccaballero/github/web2py/gluon/rocket.py", line
1323, in run
handled = self._handleError(*exc)
File "/home/cccaballero/github/web2py/gluon/rocket.py", line
1280, in _handleError
tb_fmt = traceback.format_exception(typ, val, tb)
File "/usr/lib/python3.5/traceback.py", line 117, in
format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.5/traceback.py", line 487, in __init__
self._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 498, in _load_lines
frame.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename,
self.lineno).strip()
AttributeError: 'NoneType' object has no attribute 'strip'
During handling of the above exception, another exception
occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 882, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.5/threading.py", line 924, in
_bootstrap_inner
(self.name, _format_exc()), file=_sys.stderr)
File "/usr/lib/python3.5/traceback.py", line 163, in format_exc
return "".join(format_exception(*sys.exc_info(), limit=limit,
chain=chain))
File "/usr/lib/python3.5/traceback.py", line 117, in
format_exception
type(value), value, tb, limit=limit).format(chain=chain))
File "/usr/lib/python3.5/traceback.py", line 487, in __init__
self._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 500, in _load_lines
self.__context__._load_lines()
File "/usr/lib/python3.5/traceback.py", line 498, in _load_lines
frame.line
File "/usr/lib/python3.5/traceback.py", line 282, in line
self._line = linecache.getline(self.filename,
self.lineno).strip()
AttributeError: 'NoneType' object has no attribute 'strip'
A quick fix to overcome the 'templating error' is to remove the try/except in https://github.com/web2py/web2py/blob/master/gluon/restricted.py#L139. Post the output here
Paolo
2017-04-27 13:28 GMT+02:00 Alexandre Andrade <alexand...@gmail.com>:
I also have noticed the 'templating error' in traceback. I wonder If the problem is in gluon/template.py itself or in the view that generate the traceback
Em 27/04/2017 02:04, "Carlos Cesar Caballero Díaz" <carlos.caballero@cfg.jovenclub.cu> escreveu:
Hi guys, following the last thread in the list about the status of python 3 support, I began to test my apps using the master branch and python 3, and they are working!!
The main problem right now is with the ldap authentication, because the python-ldap module has no py3 version. I will try to fix it using a new module, I find the ldap3 and the python-ldap3 modules that seems to suit our needs (maybe there are others out there). Have you some recommendation about that?
Right now I find other two issues, in some cases the tickets Traceback shows: "no traceback because template parsing error", I need to check the exact kind of errors that trigger this, and the other one is that my apps are running 3 times slower with python3 using the default server.
Greetings.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
--- You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : MailScanner ha detectado un intento de fraude en la siguiente página web "groups.google.com". No confíe en esta página web: MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". No conf�e en esta p�gina web: http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
For more options, visit MailScanner ha detectado un intento de fraude en la siguiente página web "groups.google.com". No confíe en esta página web: MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". No conf�e en esta p�gina web: https://groups.google.com/d/optout.
Thanks Richard, I think the same too, I will start working ASAP with ldap3.
Greetings.
@Carlos, I think ldap3 is a good choice I recall trying it and I think that it design it more modern...
Richard
On Thu, Apr 27, 2017 at 11:58 AM, Paolo Valleri <paolo....@gmail.com> wrote:
A quick fix to overcome the 'templating error' is to remove the try/except in https://github.com/web2py/web2py/blob/master/gluon/restricted.py#L139. Post the output here
Paolo
2017-04-27 13:28 GMT+02:00 Alexandre Andrade <alexand...@gmail.com>:
I also have noticed the 'templating error' in traceback. I wonder If the problem is in gluon/template.py itself or in the view that generate the traceback
Em 27/04/2017 02:04, "Carlos Cesar Caballero Díaz" <carlos.c...@cfg.jovenclub.cu> escreveu:
Hi guys, following the last thread in the list about the status of python 3 support, I began to test my apps using the master branch and python 3, and they are working!!
The main problem right now is with the ldap authentication, because the python-ldap module has no py3 version. I will try to fix it using a new module, I find the ldap3 and the python-ldap3 modules that seems to suit our needs (maybe there are others out there). Have you some recommendation about that?
Right now I find other two issues, in some cases the tickets Traceback shows: "no traceback because template parsing error", I need to check the exact kind of errors that trigger this, and the other one is that my apps are running 3 times slower with python3 using the default server.
Greetings.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
--- You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paolo
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
<snapshot_27.png><snapshot_35.png>
no, the plugin is not python 3 compatible, but the issue is not related to the plugin, is related to the ticket traceback showing "no traceback because template parsing error"
Greetings.
Paolo
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
--- You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
details : MailScanner ha detectado un intento de fraude en la siguiente página web "groups.google.com". No confíe en esta página web: MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". No conf�e en esta p�gina web: http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit MailScanner ha detectado un intento de fraude en la siguiente página web "groups.google.com". No confíe en esta página web: MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". No conf�e en esta p�gina web: https://groups.google.com/d/optout.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : MailScanner ha detectado un intento de fraude en la siguiente página web "groups.google.com". No confíe en esta página web: MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". No conf�e en esta p�gina web: http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-develop...@googlegroups.com.
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/
---
You received this message because you are subscribed to the Google Groups "web2py-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Richard, I am using Thunderbird, but I am not sure what you mean because thunderbird shows the threads ok, can you send me a link or something about the issue and/or how to fix it?
Greetings.
--
-- mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-developers@googlegroups.com
unsubscribe: web2py-developers+unsubscribe@googlegroups.com
Hi Carlos,I think that the problem comes from the addition of the {Disarmed} tag into the subject when you reply. This is probably added by your mail client or ISP, see http://forums.mozillazine.org/viewtopic.php?f=39&t=1604185 for example.While this is silently hidden on the Goggle Groups at https://groups.google.com/forum/#!forum/web2py-developers, it breaks badly the thread on Goggle mail (at least as seen with the Web Mail interface).nico
You go in the option on how to reply and remove anything that change the object of the emails you receive... If you can use Gmail, you will see what going on when you answer...ThanksRichard
On Tue, May 2, 2017 at 8:52 AM, Nico Zanferrari <nico...@gmail.com> wrote:
Hi Carlos,I think that the problem comes from the addition of the {Disarmed} tag into the subject when you reply. This is probably added by your mail client or ISP, see http://forums.mozillazine.org/viewtopic.php?f=39&t=1604185 for example.While this is silently hidden on the Goggle Groups at https://groups.google.com/forum/#!forum/web2py-developers, it breaks badly the thread on Goggle mail (at least as seen with the Web Mail interface).nico
Massimo
<snapshot_27.png><snapshot_35.png>