Hi Torgil, El ds 09 de 06 del 2007 a les 21:05 +0200, en/na Torgil Svensson va escriure: > Hi > > Good work! I'm eager to test this out, especially the numexpr kernels. > > Right now i'm on a box running XP and I have/had a few issues to get > up and running. > > Processor: Intel Dual Core > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > PyTables version: 2.0rc2 > HDF5 version: 1.6.5 > NumPy version: 1.0.3 > Zlib version: 1.2.3 > Python version: 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 > 32 bit (Intel)] > Byte-ordering: little > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Performing only a light (yet comprehensive) subset of the test suite. > If you want a more complete test, try passing the --heavy flag to this script > (or set the 'heavy' parameter in case you are using tables.test() call). > The whole suite will take more than 2 minutes to complete on a relatively > modern CPU and around 80 MB of main memory. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Skipping Numeric test suite. > Skipping numarray test suite. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > hdf5dll.dll from 5-165-win-net.zip > zlib from zlib123-windows.zip > szlib from szip20-win-xpnet-enc.tar.gz > > > > 1. in the documentation "2.2.1. Windows prerequisites" talks about a > szipdll.dll - the dll-name found in the archive downloaded from > http://hdf.ncsa.uiuc.edu/HDF5/release/obtain5.html is named > "szlibdll.dll"
Ok. Updated in svn docs. > 2. PyTables crashed first when i imported the module with "import > tables" > AppName: pythonw.exe AppVer: 0.0.0.0 ModName: bzip2.dll > ModVer: 1.0.2.1531 Offset: 0000a822 > > I found that I had a "bzip2.dll" installed with "GTK+ 2.10 developer > runtime" (installed for PyGtk according to > http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp ). > Renaming/removing this dll "fixed" the issue. Using the bzip2 dll in > the file bzip2-1.0.4-bin.zip downloaded from ref [21] in pytables > documentation didn't help. Mmm... this must be due to the fact that I used bzip2 1.0.3 instead of 1.0.4 so as to build the binary. I'll try to upgrade to 1.0.4 for creating the binaries for PyTables 2.0 final. I've opened a ticket (#82) on this so that I can remember this. > 3. Running the test-suite (verbose=False, heavy=False) crashes > sometimes with XP giving me the following message: > > AppName: pythonw.exe AppVer: 0.0.0.0 ModName: interpreter.pyd > ModVer: 0.0.0.0 Offset: 00005235 > > Sometimes it passes with no tests failing. That's great, absolutely great! I've spent many, many time looking at previous issues causing crashes with numexpr and when I (ingenuously) thought that all the problems were already fixed, real life proves that I was wrong :( To worse this, it seems that your issue is not reproducible; in fact, I've run the test suite three or four times on my own windows machine and I haven't run into crash problems with 2.0rc2 at all. If you (or anybody else getting the same behaviour) want to spent some time trying to isolate the problem on a single script, that would be very helpful. In any case, any hint about this issue would be *very* appreciated. > Turning the verbose flag on hasn't given me any crash but one test failes: > > ====================================================================== > ERROR: None (tables.tests.test_array.GroupsArrayTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Python25\Lib\site-packages\tables\tests\test_array.py", > line 566, in test00_iterativeGroups > print " type ==> %s" % dset.dtype > AttributeError: 'Array' object has no attribute 'dtype' > > ---------------------------------------------------------------------- > Ran 5636 tests in 91.031s > > FAILED (errors=1) Oh. This was a typo (but nothing to do with the previous crashes). Fixed in svn. > 4. running tables.test(verbose=False) after running > tables.test(verbose=True) doesn't suppress the verbose output. Should be fixed in svn as well. > 5. importing gtk-module with "import gtk" before or after "import > tables" makes two tests fail in the test-suit (see issue 2 above for > how I have installed gtk). > > ====================================================================== > FAIL: None (tables.tests.test_vlarray.TypesReopenTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Python25\Lib\site-packages\tables\tests\test_vlarray.py", > line 1217, in test05_VLStringAtom > self.assertRaises(UnicodeEncodeError, vlarray.append, u"asd\xe4") > AssertionError: UnicodeEncodeError not raised > > ====================================================================== > FAIL: None (tables.tests.test_vlarray.TypesNoReopenTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "C:\Python25\Lib\site-packages\tables\tests\test_vlarray.py", > line 1217, in test05_VLStringAtom > self.assertRaises(UnicodeEncodeError, vlarray.append, u"asd\xe4") > AssertionError: UnicodeEncodeError not raised > > ---------------------------------------------------------------------- > Ran 5636 tests in 75.422s > > FAILED (failures=2) Ok. I've opened a ticket on this one: http://www.pytables.org/trac/ticket/81 > Thanks for a great product! And thanks for the exhaustive testing! PS: It would be nice if people get used to use the PyTables trac system (http://www.pytables.org/trac) so as to file these bugs (and specially, the most grave ones). That way, we can look for problems and resolutions more easily in the future. Cheers, -- Francesc Altet | Be careful about using the following code -- Carabos Coop. V. | I've only proven that it works, www.carabos.com | I haven't tested it. -- Donald Knuth ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users