Sorry if this is a FAQ, google didn't show anything very quickly.

We are running a Python script using pytables1.3.2 to load data. It runs
fine in Python2.4, but in 2.5 we see this:

/home/robert/evaporation/projet_num/evaporation_VT1.py in
experience(source, K, dt_libre1, dt_libre2, RELAIS)
    173     config_h5 = tables.openFile(source, 'r')
    174     table_param = config_h5.root.temps_0.parametres
    175 
--> 176     t_inf = float (array([x['temps'] for x in
table_param.iterrows() ]))
    177     E_inf = array([x['energy'] for x in table_data.iterrows() ])
    178     dos_inf = array([x['dos'] for x in table_data.iterrows() ])

/home/robert/evaporation/projet_num/TableExtension.pyx in
TableExtension.Row.__next__()
    862 
    863 
--> 864 
    865 
    866 

/home/robert/evaporation/projet_num/TableExtension.pyx in
TableExtension.Row.__next__general()
   1048 
   1049 
-> 1050 
   1051 
   1052 

/home/robert/evaporation/projet_num/TableExtension.pyx in
TableExtension.Row.finish_riterator()
   1056 
   1057 
-> 1058 
   1059 
   1060 

<type 'exceptions.TypeError'>: exceptions must be strings, classes, or
instances, not type

This seems to me like its a Python2.4/2.5 problem. Is this a known
problem ? Does this mean that pytables1.3.2 does not run under 2.5. If
so, its no big deal, I just wanted to check the problem was not on our
side.

Cheers,

Gaƫl

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to