Re: [Pytables-users] pytable 30 - encoding

2013-06-05 Thread Anthony Scopatz
t; *From:* Anthony Scopatz > *To:* Jeff Reback > *Cc:* Discussion list for PyTables > *Sent:* Tuesday, June 4, 2013 6:39 PM > > *Subject:* Re: [Pytables-users] pytable 30 - encoding > > Hi Jeff, > > Hmmm, Could you try doing the same thing on just an in-memory num

Re: [Pytables-users] pytable 30 - encoding

2013-06-04 Thread Jeff Reback
/PyTables/issues/265 I can be reached on my cell (917)971-6387 From: Anthony Scopatz To: Jeff Reback Cc: Discussion list for PyTables Sent: Tuesday, June 4, 2013 6:39 PM Subject: Re: [Pytables-users] pytable 30 - encoding Hi Jeff, Hmmm, Could you try

Re: [Pytables-users] pytable 30 - encoding

2013-06-04 Thread Anthony Scopatz
t; pytables-users@lists.sourceforge.net> > *Sent:* Tuesday, June 4, 2013 12:25 PM > *Subject:* Re: [Pytables-users] pytable 30 - encoding > > Hi Jeff, > > Have you also updated numexpr to the most recent version? The error is > coming from numexpr not compiling the expr

Re: [Pytables-users] pytable 30 - encoding

2013-06-04 Thread Jeff Reback
Sent: Tuesday, June 4, 2013 12:25 PM Subject: Re: [Pytables-users] pytable 30 - encoding Hi Jeff,  Have you also updated numexpr to the most recent version?  The error is coming from numexpr not compiling the expression correctly. Also, you might try making selector a str, rather than bytes:

Re: [Pytables-users] pytable 30 - encoding

2013-06-04 Thread Anthony Scopatz
Hi Jeff, Have you also updated numexpr to the most recent version? The error is coming from numexpr not compiling the expression correctly. Also, you might try making selector a str, rather than bytes: selector = "(column == 'str-2')" rather than selector = "(column == 'str-2')".encode(encodin

[Pytables-users] pytable 30 - encoding

2013-06-04 Thread Jeff Reback
anthony, where am I going wrong here? #!/usr/local/bin/python3 import tables import numpy as np import datetime, time encoding = 'UTF-8' test_file = 'test_select.h5' handle = tables.openFile(test_file, "w") node = handle.createGroup(handle.root, 'test') table = handle.createTable(node, 'table',