eastein / lidless

A great Eye, lidless, wreathed in webcams.
Other
19 stars 4 forks source link

storing and spatially indexing frames filtered on activity #46

Open eastein opened 11 years ago

eastein commented 11 years ago
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/home/eastein/git/lidless/percept.py", line 435, in run
    self.idx.add_file(long(ts), self.jpeg_str, self.busy_percentage, busy_bitfield)
  File "/home/eastein/git/lidless/frameidx.py", line 96, in add_file
    buf = 'FIDX' + struct.pack('!qbhh', ts, busy_percentage, busyf, busy_bitfield_size) + busy_bitfield.tobytes()
error: cannot convert argument to integer

Doesn't work well during shutdown.