Hello PyTables Users,

I have a concern with a very strange error that references that my python
ints cannot be converted to C longs when trying to run Table.append(rows).
My python integers are definitely not big, at most they would probably be
around 3 billion in size, which shouldn't be any problem for conversion to
C long.

This is the error that I am receiving...

Exception in thread bookthread:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
    self.run()
  File
"C:\Users\jacob.bennett\development\MarketDataReader\PyTablesInterface\Acceptor.py",
line 21, in run
    BookDataWrapper.acceptDict()
  File
"C:\Users\jacob.bennett\development\MarketDataReader\PyTablesInterface\BookDataWrapper.py",
line 49, in acceptDict
    tableD.append(dataArray)
  File "C:\Python27\lib\site-packages\tables\table.py", line 2076, in append
    "rows parameter cannot be converted into a recarray object compliant
with table '%s'. The error was: <%s>" % (str(self), exc)
ValueError: rows parameter cannot be converted into a recarray object
compliant with table '/t301491615959191971 (Table(0,), shuffle, blosc(3))
'Instrument''. The error was: <Python int too large to convert to C long>

Thanks,
Jacob

-- 
Jacob Bennett
Massachusetts Institute of Technology
Department of Electrical Engineering and Computer Science
Class of 2014| benne...@mit.edu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to