[Pytables-users] Writing to VLArray from different multiprocessing processes does not persist

2010-11-03 Thread Marko Budisic
Dear all, I am having some trouble with using pytables correctly, and I was hoping for some guidance. I would like to have one central pytables file, containing a VLArray that would be used by several "worker" processes. Each process should perform some computation, and append it as a new row t

Re: [Pytables-users] PyTables tries and fails to raise exception when accessing invalid column

2010-11-03 Thread Charles Krohn
Thanks! Appreciate it. On Wed, Nov 3, 2010 at 12:44 PM, Francesc Alted wrote: > A Wednesday 03 November 2010 17:35:25 Francesc Alted escrigué: > > Well, the thing is that the `Row` class did not implement the > > `__contains__` special method. This was very easy to fix, so I fixed > > it > > >

Re: [Pytables-users] PyTables tries and fails to raise exception when accessing invalid column

2010-11-03 Thread Francesc Alted
A Wednesday 03 November 2010 17:35:25 Francesc Alted escrigué: > Well, the thing is that the `Row` class did not implement the > `__contains__` special method. This was very easy to fix, so I fixed > it > > :-) For details: > http://pytables.org/trac/ticket/309 > > This will be integrated with

Re: [Pytables-users] PyTables tries and fails to raise exception when accessing invalid column

2010-11-03 Thread Francesc Alted
A Wednesday 03 November 2010 16:36:13 Charles Krohn escrigué: > Hello list, > > If you obtain a row iterator and then try to access a nonexistent > column, it should presumably raise a KeyError or something similar. > Instead it gives a TypeError when trying to raise an exception. > Here's a scr

[Pytables-users] PyTables tries and fails to raise exception when accessing invalid column

2010-11-03 Thread Charles Krohn
Hello list, If you obtain a row iterator and then try to access a nonexistent column, it should presumably raise a KeyError or something similar. Instead it gives a TypeError when trying to raise an exception. Here's a script to reproduce the problem: import sys from tables import openFile f =

[Pytables-users] ANN: PyTables 2.2.1rc1 released

2010-11-03 Thread Francesc Alted
Hi List, I've just released PyTables 2.2.1 RC1. You can see a list of improvements for this release in: http://www.pytables.org/moin/ReleaseNotes/Release_2.2.1rc1 Please download the beast from: http://www.pytables.org/download/pytables-2.2.1rc1/ and tell me how it goes. If everything devel

Re: [Pytables-users] tables.test() fails with errors

2010-11-03 Thread Peter Vittali
OK Hmm, can you tell us which is the output of your ./configure for the HDF5 library? Mine is: Features: - dmalloc: No Function Stack Tracing: Disabled GPFS: No Strict File Format Checks: Disabled HDF5

Re: [Pytables-users] tables.test() fails with errors

2010-11-03 Thread Francesc Alted
A Wednesday 03 November 2010 11:05:53 Peter Vittali escrigué: > Hi > > I compiled pytables on ubuntu 10 and although the usage example in > the py-tables documentation ( HowToUse ) works, the full tests > launched with: > > $ python -c 'import tables; tables.test()' > > produces errors as shown

[Pytables-users] tables.test() fails with errors

2010-11-03 Thread Peter Vittali
Hi I compiled pytables on ubuntu 10 and although the usage example in the py-tables documentation ( HowToUse ) works, the full tests launched with: $ python -c 'import tables; tables.test()' produces errors as shown in the attached file. Note that the test suite of hdf5 itself passes, as we