Re: [Zope-dev] StringIO and Zope

2004-07-12 Thread Tim Peters
[Oskar Wilhelmsen] > I can't print tracebacks. I'm unfortunatly on a windows system, an whats > happen is tha Python jus quits, with no fault description. > > A type(data) gives me DbiRaw, which is the type of data in the DB OK, can you break the line into two lines, as suggested before? Since

Re: [Zope-dev] StringIO and Zope

2004-07-12 Thread Tor Oskar Wilhelmsen
TECTED]> To: "Tor Oskar Wilhelmsen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 12, 2004 7:41 PM Subject: Re: [Zope-dev] StringIO and Zope > [Oskar Wilhelmsen] > > I have a problem with python 2.3.3 and Zope 2.7.0. When I Execute the code >

Re: [Zope-dev] StringIO and Zope

2004-07-12 Thread Tim Peters
[Oskar Wilhelmsen] > I have a problem with python 2.3.3 and Zope 2.7.0. When I Execute the code > below, Python just get som unhandled exceptions, and crash? What are (exactly) the "unhandled exceptions"? Can you paste in tracebacks? > from cStringIO import StringIO > #pic[3] is a blob in a data

[Zope-dev] StringIO and Zope

2004-07-12 Thread Tor Oskar Wilhelmsen
Hi   I have a problem with python 2.3.3 and Zope 2.7.0. When I Execute the code below, Python just get som unhandled exceptions, and crash? Why? Does anyone know???     from cStringIO import StringIO #pic[3] is a blob in a database data = "">fil = StringIO(str(data)) #this li