[Gitec] SAPL 2.1 - Bug no cadastro de normas jurídicas

Luciano De Fázio luciano at camaracatanduva.sp.gov.br
Mon Nov 21 09:35:34 BRST 2005


Ciciliatti,

Ao tentar incluir um texto integral de uma norma jurídica, com aproximadamente
16 páginas, o sistema retorna um erro meio "cabeludo"... Tal erro se repete com
todas os arquivos de texto integral com muitas páginas.

Veja só:

An operation previously failed, with traceback: File
"/usr/lib/zope2.8/lib/python/ZServer/PubCore/ZServerPublisher.py", line 23, in
__init__ response=response) File
"/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 386, in
publish_module environ, debug, request, response) File
"/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 187, in
publish_module_standard response = publish(request, module_name, after_list,
debug=debug) File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line
113, in publish request, bind=1) File
"/usr/lib/zope2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug
is not None: return debug(object,args,context) File
"/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 40, in call_object
result=apply(object,args) # Type s to step into published object. File
"/var/lib/zope2.8/instance/sapl/Products/CMFCore/FSDTMLMethod.py", line 127, in
__call__ r = Globals.HTML.__call__(self, client, REQUEST, **kw) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_String.py", line 476, in
__call__ try: result = render_blocks(self._v_blocks, md) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_Try.py", line 140, in render
return self.render_try_except(md) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_Try.py", line 183, in
render_try_except return result + render_blocks(self.elseBlock, md) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_Try.py", line 140, in render
return self.render_try_except(md) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_Try.py", line 149, in
render_try_except result = render_blocks(self.section, md) File
"/usr/lib/zope2.8/lib/python/DocumentTemplate/DT_Util.py", line 196, in eval
return eval(code, d) File "", line 1, in  File
"/usr/lib/zope2.8/lib/python/OFS/Image.py", line 62, in manage_addFile
self._getOb(id).manage_upload(file) File
"/usr/lib/zope2.8/lib/python/OFS/Image.py", line 470, in manage_upload data,
size = self._read_data(file) File "/usr/lib/zope2.8/lib/python/OFS/Image.py",
line 519, in _read_data transaction.savepoint() File
"/usr/lib/zope2.8/lib/python/transaction/_manager.py", line 90, in savepoint
return self.get().savepoint(optimistic) File
"/usr/lib/zope2.8/lib/python/transaction/_transaction.py", line 297, in
savepoint self._saveCommitishError() # reraises! File
"/usr/lib/zope2.8/lib/python/transaction/_transaction.py", line 294, in
savepoint savepoint = Savepoint(self, optimistic, *self._resources) File
"/usr/lib/zope2.8/lib/python/transaction/_transaction.py", line 654, in
__init__ raise TypeError("Savepoints unsupported", datamanager) TypeError:
('Savepoints unsupported',  at -1273030484>)

Lembrando que os textos com poucas páginas são incluídos normalmente.

Trata-se de alguma limitação de tamanho dos arquivos no ponto de montagem
"Sapl_documentos" ?

Abraço,

Luciano De Fázio
Coordenador de Informática e Tecnologia
Câmara Municipal de Catanduva - SP


Mais detalhes sobre a lista de discussão Gitec