"char buffer type not available" error while gunzip

2010-10-11 Thread Istvan Gouritz
Hello! I'm getting exception while trying to gunzip data, which is stored in db: File "helper.py", line 33, in gunzip f = StringIO(data) "exceptions.TypeError: char buffer type not available" function which does gunzipping: def gunzi

char buffer

2005-03-10 Thread doodle4
Hello all, I need to create 6 buffers in python and keep track of it. I need to pass this buffer, say buffer 1 as an index to a test app. Has any one tried to do this. Any help with buffer management appreciated. Thanks, -Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: char buffer

2005-03-10 Thread doodle4
Each buffer need to hold 512 bytes of data. Thanks, -Joe -- http://mail.python.org/mailman/listinfo/python-list

Re: char buffer

2005-03-10 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hello all, > > I need to create 6 buffers in python and keep track of it. > I need to pass this buffer, say buffer 1 as an index to a test app. Has > any one tried to do this. Any help with buffer management appreciated. Use the module array. -- Regards, Diez B. Rog

Re: char buffer

2005-03-10 Thread Jaime Wyant
You'll probably want to be more specific. First thing that comes to mind is how do you plan on passing the `buffer' to your `test app'. I can think of a couple of ways off hand -- socket, stdin or maybe as a command line argument. If you're doing one of those, then I don't think you'll need a bu