A Friday 04 July 2008, dragan savic escrigué:
> Hi!
>
> Sorry for not writing to you earlier. Lets try it this way. The root
> problem is following. I am using Pytables version 2.0.3. I found out
> that when I use readWhere function I get the error:
>
>   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 116, 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'
>
> Now, I know you fixed this problem by posting a new SVN version. The
> question is how can I include these patches when I come to an error
> without installing the whole PytTables package. I want o bypass the
> compiling stuff. Is this possible?

Well, you are fortunate that the resolution for this doesn't need 
nothing to be compiled.  You only have to apply the proper changeset 
referenced in http://www.pytables.org/trac/ticket/164, and you are 
done!

At any rate, I'm working to release 2.0.4 during the weekend, with the 
patch integrated.  So, stay tuned!

Cheers,

-- 
Francesc Alted
Freelance developer
Tel +34-964-282-249

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to