From: Francesc A. <fa...@ca...> - 2005-01-13 16:00:42
|
Ooops, Replace: objgroup.append(name) =20 by objgroup._v_indices.append(name) Hope this time works A Dijous 13 Gener 2005 16:04, kevin lester va escriure: > Francesc, >=20 > Regarding Patch Supplied... >=20 > Exception raised: >=20 > File > "C:\Python24\lib\site-packages\tables\Group.py", line > 190, in _g_openFile > objgroup.append(name) > File > "C:\Python24\lib\site-packages\tables\Group.py", line > 528, in __getattr__ > if not self._v_file.isopen: > AttributeError: 'File' object has no attribute > 'isopen' > Exception raised while running script <source> >=20 > >>>=20 > --- Francesc Altet <fa...@ca...> wrote: >=20 > > A Dijous 13 Gener 2005 13:00, vareu escriure: > > > I'm confused Francesc: > >=20 > > Me too. Well, it seems like you have encountered yet > > another bug. Try this > > patch: > >=20 > > --- Group.py.orig 2005-01-13 > > 13:47:37.000000000 +0100 > > +++ Group.py 2005-01-13 13:48:03.000000000 +0100 > > @@ -186,7 +186,7 @@ > > # and their names will be > > append to a list > > if classname =3D=3D "INDEX": > > # only INDEX names will be > > appended > > - =20 > > self._v_indices.append(name) > > + objgroup.append(name) > > for name in leaves: > > objleaf=3Dobjgroup._g_getLeaf(name) > > if objleaf <> None: > >=20 > > and tell me how it goes. > >=20 > > >=20 > > > >>> Running 'C:\H5\klester.py' ... > > > C:\Python24\lib\site-packages\tables\Leaf.py:90: > > > UserWarning: zlib compression library is not > > > available. Using zlib instead!. > > > warnings.warn( \ > >=20 > > Mmm, are you sure that zlib DLL is in the PATH? If > > it is, you should not get > > this warning. >=20 > If PATH =3D=3D PYTHONPATH, then yes I do have > zlib.dll(along with the others) in the /WINDOWS/SYSTEM > folder with the PATH pointing to it. >=20 > Kevin :) > >=20 > > --=20 > > >OO< Francesc Altet || http://www.carabos.com/ > > V V Carabos Coop. V. || Who is your data daddy? > > PyTables > > "" > >=20 > >=20 >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Pytables-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pytables-users >=20 =2D-=20 >OO< =A0 Francesc Altet || http://www.carabos.com/ V =A0V =A0 Carabos Coop. V. || Who is your data daddy? PyTables "" |