From: Marc G. <M.G...@gm...> - 2003-05-12 12:21:20
|
Hello, when i start the second example tutorial2-1.py on win32, the example give an error in line 21 ... 20 # Reopen the file in append mode 21 h5file = openFile(filename, "a") .... -**-**-**-**- open the previous tutorial file -**-**-**-**-**- Traceback (most recent call last): File "tutorial1-2.py", line 21, in ? h5file = openFile(filename, "a") File "C:\Python22\Lib\site-packages\tables\File.py", line 146, in openFile return File(path, mode, title, new, trMap) File "C:\Python22\Lib\site-packages\tables\File.py", line 210, in __init__ self.root = self.__getRootGroup() File "C:\Python22\Lib\site-packages\tables\File.py", line 297, in __getRootGroup root._g_openFile() File "C:\Python22\Lib\site-packages\tables\Group.py", line 125, in _g_openFile objgroup._g_openFile() File "C:\Python22\Lib\site-packages\tables\Group.py", line 148, in _g_openFile objgroup._g_putObjectInTree(name, self) File "C:\Python22\Lib\site-packages\tables\Leaf.py", line 83, in _g_putObjectInTree self._open() File "C:\Python22\Lib\site-packages\tables\Table.py", line 284, in _open fields[self.colnames[i]] = Col(vartype, length, pos = i) File "C:\Python22\Lib\site-packages\tables\IsDescription.py", line 86, in __init__ raise TypeError, "Illegal type: %s" % `dtype` TypeError: Illegal type: UInt64 i can view my tutorial1.h5 file with h5ls.exe. any help. ------------------------------------ NT 4.00.1381 Python 2.2.2 on win32 table 0.5 numarray 0.5 win32 numeric 23 win32 zlib 114dll lzo 1.08 -------------------------------- Marc Gehling -- ps When you need my tutorial1.h5 file, i can send it to you. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |
From: David S. <da...@dr...> - 2004-05-07 04:02:57
|
Hello, Is it possible to use pytables in a parallel or threaded environment? I am looking at developing an application that will support live additions of data and at the same time allow data to be extracted for reporting purposes. I would not be concerned with locking because I see only one thread/process that would add data. There would be one or more threads/processes that would allow queries to be run against the dataset whose results would be returned for live reporting. Thanks, David Sumner |
From: Francesc A. <fa...@py...> - 2004-05-11 08:15:20
|
Hi David, A Divendres 07 Maig 2004 06:02, David Sumner va escriure: > Is it possible to use pytables in a parallel or threaded environment? I > am looking at developing an application that will support live additions > of data and at the same time allow data to be extracted for reporting > purposes. I would not be concerned with locking because I see only one > thread/process that would add data. There would be one or more > threads/processes that would allow queries to be run against the dataset > whose results would be returned for live reporting. A couple of weeks ago or so, another person wrote to me about the same question. PyTables 0.8 has a bug that prevents the buffers to be flushed to disk when a call to Leaf.flush() is made. This is solved in CVS now, and the patch will appear in the next public release of pytables (0.8.1). So, in principle, you should be able to have a process writing and other reading the same file. However, some problem that I currently have tracked down to the HDF5 library, makes the reading process to not be aware of the updates in the file, unless you close and re-open the file in the reader, which could be quite inconvenient. I wrote about that problem to the NCSA people, and they asked to me to provide a C example on that, but this would require some nice amount of work I haven't had time yet, and I don't really know if I will have some in the next future. If you want to contribute to this effort, you may provide this C example (or buy some of my time in order to do it). Regarding to the threaded environment, I know that HDF5 supports it (flag --enable-threadsafe during configuration), but I did not made any try with that and pytables. If you try this, I would be glad to hear about your experiences. Regards, -- Francesc Alted |
From: Thomas B. <tho...@gm...> - 2009-03-16 14:08:36
|
Hi listers, I have to work with OMI-AURA data and I don't know how to work with the array objects of the corner points. It is a CArray(4L, 1644L, 60L), where the x-coordinate of the first corner point is stored in the first shape and so on. I need for every measurment point in the OMI data the four corner points as float values to create polygons out of it. Do you have a solution for this problem or a link where I find a solution? Thanks Thomas -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 |
From: Konstantin K. <kkl...@ce...> - 2010-08-12 21:18:47
|
Hi all, After installation of 1) numpy-1.5.0b1-win32-superpack-python2.6.exe (may be this is not relevant) and 2) tables-2.2.win32-py2.6.exe I got after the import: *********************************************************** >>> import tables Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\Python26\Lib\site-packages\tables\__init__.py", line 84, in <module> from tables.file import File, openFile, copyFile File "c:\Python26\Lib\site-packages\tables\file.py", line 65, in <module> from tables.table import Table File "c:\Python26\Lib\site-packages\tables\table.py", line 38, in <module> from tables import tableExtension File "tableExtension.pyx", line 33, in init tables.tableExtension (tables\tabl eExtension.c:12260) File "c:\Python26\Lib\site-packages\tables\conditions.py", line 23, in <module > from numexpr.necompiler import stringToExpression, NumExpr ImportError: No module named necompiler *********************************************************** The reason is the obvious name collision of the `numexpr` package and the tables' `numexpr` sub-package (a directory having __init__.py) that certainly dosn't have the requested `numexpr.necompiler`. I wander how you guys go over this? Have I missed something simple but important?.. Please help! Regards, Konstantin |
From: filc e. <eka...@gm...> - 2011-05-06 05:55:34
|
http://canyonja.srv281.sd-france.net/modules/mod_osdonate/blog.html |
From: Jean-Baptiste R. <boo...@ya...> - 2012-04-02 15:12:49
|
<a href="http://motovideo.cl/videos/website_2.0/wp-content/02efpk.html"> http://motovideo.cl/videos/website_2.0/wp-content/02efpk.html</a> |
From: Jean-Baptiste R. <boo...@ya...> - 2012-04-03 15:35:11
|
<a href="http://dmjmultimedia.com/components/com_jcomments/tpl/default/jrklre.html"> http://dmjmultimedia.com/components/com_jcomments/tpl/default/jrklre.html</a> |
From: Francesc A. <fa...@op...> - 2003-05-12 12:42:26
|
A Dilluns 12 Maig 2003 14:21, Marc Gehling va escriure: > Hello, > > when i start the second example tutorial2-1.py on win32, the example gi= ve > an error in line 21 > I guess this is because the numarray Win32 version seems to not support t= he "UInt64" types. Please, on "tutorial1-1.py" substitute the line: idnumber =3D Col("UInt64", 1) # Unsigned long long=20 by idnumber =3D Col("Int64", 1) # Signed long long=20 and run again the tutorial1-1.py before running tutorial1-2.py. That shou= ld solve the problem. I'll try to address this problem on CVS. Cheers, --=20 Francesc Alted |