Project

General

Profile

Bug #8904

MemoryError sur l'envoi d'une trace

Added by Frédéric Péters (de retour le 10/10) almost 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Target version:
Start date:
07 November 2015
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

Dans #8864,

Exception:
   type = '<type 'exceptions.MemoryError'>', value = ''

Stack trace (most recent call first):
   File "/usr/lib/python2.7/StringIO.py", line 271, in getvalue
    269         _complain_ifclosed(self.closed)
    270         if self.buflist:
>   271             self.buf += ''.join(self.buflist)
    272             self.buflist = []
    273         return self.buf

   locals:
      self =<StringIO.StringIO instance at 0x2f277a0>

   File "/usr/lib/python2.7/dist-packages/wcs/qommon/publisher.py", line 227, in _generate_plaintext_error
    225             error_file.write('\n')
    226
>   227         return error_file.getvalue()
    228
    229     def notify_of_exception(self, exc_tuple, context=None):

Files

Associated revisions

Revision 4358c5d2 (diff)
Added by Frédéric Péters (de retour le 10/10) almost 7 years ago

misc: cut locals displayed in traces to 10000 characters (#8904)

History

#2

Updated by Benjamin Dauvergne almost 7 years ago

Ack.

#3

Updated by Frédéric Péters (de retour le 10/10) almost 7 years ago

  • Status changed from En cours to Résolu (à déployer)
commit 4358c5d2d222eaf63c62e667d8252684f51f749a
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Nov 7 09:06:38 2015 +0100

    misc: cut locals displayed in traces to 10000 characters (#8904)
#4

Updated by Frédéric Péters (de retour le 10/10) almost 7 years ago

  • Status changed from Résolu (à déployer) to Fermé
  • Target version set to v1.22

Also available in: Atom PDF