Hi!
Thanks! It works now. I only wish I wrote to you
earlier... :)
Cheers, Dragan.
--- Francesc Altet <[EMAIL PROTECTED]> wrote:
> A Monday 14 April 2008, dragan savic escrigué:
> > Hi!
> >
> > When using readWhere I get this error:
> >
> > Traceback (most recent call last):
> > File "CoreGlue.py", line 167, in run
> > res = functions[command.name](command.args)
> > File
> >
> "C:\Python24\Lib\site-packages\CostGlue\archive.py",
> > line 842, in conditi
> > onCommand
> > data =
> >
>
DataTableClassObj.condition(groupObject,condition,columns,startRow,st
> > opRow,step)
> > File
> >
> "C:\Python24\Lib\site-packages\CostGlue\archive.py",
> > line 470, in conditi
> > on
> > resData =
> >
>
dataTable.readWhere(pCond,None,field=pCols,start=pStart,stop=pStop
> > ,step=pStep)
> > File
> > "c:\python24\lib\site-packages\tables\table.py",
> line
> > 1276, in readWhere
> > splitted = self._splitCondition(condition,
> > condvars)
> > File
> > "c:\python24\lib\site-packages\tables\table.py",
> line
> > 1091, in _splitCond
> > ition
> > splitted = split_condition(condition, typemap,
> > indexedcols, copycols)
> > File
> >
>
"C:\Python24\lib\site-packages\tables\conditions.py",
> > line 117, in split_
> > condition
> > expr = stringToExpression(condition, typemap,
> {})
> > File
> >
>
"C:\Python24\lib\site-packages\tables\numexpr\compiler.py",
> > line 194, in
> > stringToExpression
> > old_ctx = expressions._context.ctx
> > AttributeError: 'thread._local' object has no
> > attribute 'ctx'
> >
> > Any idea what's going on?
> >
> > Cheers, Dragan.
>
> Curiosly enough this very same problem has been
> reported by another user
> some hours ago ;-) Have a look at:
>
> http://www.pytables.org/trac/ticket/164
>
> This has been fixed in all branches of PyTables, but
> unless you like to
> live dangerously, I recommend you to use the std-2.0
> one:
>
> svn co
>
http://pytables.carabos.com/svn/pytables/branches/std-2.0
>
> Cheers,
>
> --
> >0,0< Francesc Altet http://www.carabos.com/
> V V Cárabos Coop. V. Enjoy Data
> "-"
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008
> JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still
> time to save $100.
> Use priority code J8TL2D2.
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Pytables-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/pytables-users
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users