← Back to team overview

pyax team mailing list archive

[Bug 256141] [NEW] Python gzip lib says "MemoryError: Can't allocate memory for compression object"

 

Public bug reported:

Traceback:

  File "Z:\python projects\@lib\lib\pyax\connection.py", line 614, in query
    query_result = self._callApex(self.svc.query, query_string)

  File "Z:\python projects\@lib\lib\pyax\connection.py", line 158, in _callApex
    apex_result = apex_method(*args, **kw)

  File "Z:\python projects\@lib\lib\pyax\beatbox.py", line 56, in query
    return QueryRequest(self.context, self.sessionId, soql).post()

  File "Z:\python projects\@lib\lib\pyax\beatbox.py", line 315, in post
    data=self.makeEnvelope(),

  File "Z:\python projects\@lib\lib\pyax\beatbox.py", line 273, in makeEnvelope
    ("s", _envNs), ("p", _partnerNs), ("o", _sobjectNs))

  File "Z:\python projects\@lib\lib\pyax\beatbox.py", line 243, in __init__
    XmlWriter.__init__(self, context.gzip_request)

  File "Z:\python projects\@lib\lib\pyax\beatbox.py", line 173, in __init__
    self.__gzip = gzip.GzipFile(mode='wb', fileobj=self.__buf)

  File "C:\Python25\lib\gzip.py", line 120, in __init__
    0)

MemoryError: Can't allocate memory for compression object

** Affects: pyax
     Importance: Undecided
         Status: New

-- 
Python gzip lib says "MemoryError: Can't allocate memory for compression object"
https://bugs.launchpad.net/bugs/256141
You received this bug notification because you are a member of pyax
Developers, which is the registrant for pyax.



Follow ups

References