[The next message has been sent to the list from an unsubscribed 
address.  Please try to send mails here only if you are subscribed as 
it takes me some time to get aware of them and re-inject to the list]

-----------------------------------------------------------------

Hello,

(I am not subscribed to the mailing list, please include my email if you 
respond to this post.)

I just wanted to report my experience installing pytables-2.0.1. I'm 
running 
gentoo linux on a 64bit amd machine, with gcc-4.2.2. The ebuild I used 
is 
attached, if anyone is interested.

The first time I built and tested pytables-2, tables.test() reported one 
error:

======================================================================
ERROR: None (tables.netcdf3.tests.test_netcdf3.NetCDFFileTestCase2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/tables/tests/common.py", line 
247, 
in newmethod
    return oldmethod(self, *args, **kwargs)
  
File "/usr/lib64/python2.5/site-packages/tables/netcdf3/tests/test_netcdf3.py", 
line 168, in test_h5tonc
    nobjects, nbytes = f.nctoh5(self.filenc)
  File "/usr/lib64/python2.5/site-packages/tables/netcdf3/__init__.py", 
line 
478, in nctoh5
    var = 
self.createVariable(varname,datatype,ncvar.dimensions,least_significant_digit=lsd,filters=filters)
  File "/usr/lib64/python2.5/site-packages/tables/netcdf3/__init__.py", 
line 
294, in createVariable
    var = 
NetCDFVariable(varname,self,datatype,dimensions,least_significant_digit=least_significant_digit,expectedsize=expectedsize,filters=filters)
  File "/usr/lib64/python2.5/site-packages/tables/netcdf3/__init__.py", 
line 
581, in __init__
    raise ValueError, 'datatype must be one 
of %s'%_netcdftype_dict.keys()
ValueError: datatype must be one of 
['c', 'd', 'f', 'i', 'F', 'l', '1', 's', 'D']

----------------------------------------------------------------------


When I ran tables.test(heavy=True), I got 661 errors, almost all looked 
something like this:

======================================================================
ERROR: Testing ``((lbound < c_time64) & (c_time64 <= rbound)) | 
((c_extra+1) > 
0)``. [#L506]
----------------------------------------------------------------------
Traceback (most recent call last):
  
File "/usr/lib64/python2.5/site-packages/tables/tests/test_queries.py", 
line 
253, in setUp
    fill_table(table, self.shape, self.nrows)
  
File "/usr/lib64/python2.5/site-packages/tables/tests/test_queries.py", 
line 
183, in fill_table
    row[ncolname] = row[colname] = coldata
  File "tableExtension.pyx", line 1290, in 
tableExtension.Row.__setitem__
  File "tableExtension.pyx", line 128, in 
tableExtension.getNestedFieldCache
  File "utilsExtension.pyx", line 328, in utilsExtension.getNestedField
ValueError: field named c_int16 not found.

----------------------------------------------------------------------


I installed ctypes-1.0.2, which took care of 660 of the failures. Should 
a 
ctypes version be listed in the manual as a prerequisite? Is the netcdf 
error 
a known pytables bug, or is it maybe a configuration issue on my end?

Thank you,
Darren

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

NEED_PYTHON=2.4

inherit distutils

DESCRIPTION="Module for Python that use HDF5"
SRC_URI="http://www.pytables.org/download/stable/${P}.tar.gz";
HOMEPAGE="http://www.pytables.org/moin/PyTables";

SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
LICENSE="as-is"
IUSE="doc examples lzo"
DOCS="ANNOUNCE.txt RELEASE-NOTES.txt THANKS TODO.txt VERSION"

RDEPEND=">=sys-devel/gcc-3.2
        >=sci-libs/hdf5-1.6.5
        >=dev-python/ctypes-1.0.2
        >=dev-python/numpy-1.0.3
        lzo? ( dev-python/python-lzo )"


src_install() {
        distutils_src_install

        if use examples; then
                insinto /usr/share/doc/${PF}
                doins -r examples
        fi

        if use doc; then
                cd doc

                dohtml -r html/*

                docinto text
                dodoc text/*

                insinto /usr/share/doc/${PF}
                doins -r usersguide.pdf scripts/
        fi
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to