-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
TIB5: cire831/mm@2049390
TagFuse: danome/TagNet@d0187a1
Running continuous stream against TIB 5:
Fuse side:
read p/l:18008664/20
*** 35115 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '(\x00\x04\x00\x07\x18\x04\x00\x9fI\x0f\x0e\x15\x04\x14\x04\xe2\x07\xa4\x02'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (20L, 18008684L, <fuse.fuse_file_info object at 0x75ddae40>)
read p/l:18008684/20
*** 35116 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '0\x00\x00\x00\x02\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (20L, 18008704L, <fuse.fuse_file_info object at 0x75ddaee0>)
read p/l:18008704/20
*** 35117 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '-\x00 \x00\x08\x18\x04\x00\x99I\x0f\x0e\x15\x04\x14\x04\xe2\x07K\x05'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (28L, 18008724L, <fuse.fuse_file_info object at 0x75ddae40>)
read p/l:18008724/28
*** 35118 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '\x00\x00\x00\x00\x01\x00\x00\x00\xa0\xa2\x00\t\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\xb0\xb3\x00\x00\x00'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (20L, 18008752L, <fuse.fuse_file_info object at 0x75ddaee0>)
read p/l:18008752/20
*** 35119 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '>\x00 \x00\t\x18\x04\x00\xceI\x0f\x0e\x15\x04\x14\x04\xe2\x07v\x0c'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (44L, 18008772L, <fuse.fuse_file_info object at 0x75ddae40>)
read p/l:18008772/44
*** 35120 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read '\x00\x00\x00\x00\x01\x00\x00\x00\xa0\xa2\x00\x1a]\x12\x03\x07\x99\xe8\x07\xcd\x07\x12\x00\x01_&\x00\x00\x00A\x00K\xa8\xe2m\x00\x00\x00\x05\xf0\xb0\xb3\x00\x00'
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (20L, 18008816L, <fuse.fuse_file_info object at 0x75ddaee0>)
read p/l:18008816/20
*** 35121 sparsefile, cur/max number of blocks: 5/5, max block size: 635536
DEBUG:fuse.log-mixin:<- read "'\x00 \x00\n\x18\x04\x008J\x0f\x0e\x15\x04\x14\x04\xe2\x077\x05"
DEBUG:fuse.log-mixin:-> read /1fbcd99fd29f/tag/sd/0/dblk/byte (20L, 18008836L, <fuse.fuse_file_info object at 0x75ddae40>)
DEBUG:fuse.log-mixin:<- read '[Unhandled Exception]'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 495, in _wrapper
return func(*args, **kwargs) or 0
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 583, in read
offset, fh)
File "/usr/local/lib/python2.7/dist-packages/fuse.py", line 972, in __call__
ret = getattr(self, op)(path, *args)
File "tagfuse/tagfuse.py", line 188, in read
return (str(handler.read(path_list, size, offset)))
File "tagfuse/taghandlers.py", line 322, in read
size, offset)
File "tagfuse/radiofile.py", line 63, in file_get_bytes
err, payload = msg_exchange(radio, req_msg)
File "tagfuse/radioutils.py", line 200, in msg_exchange
rsp = TagMessage(bytearray(rsp_buf))
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagmessages.py", line 88, in __init__
self.parse(args[0])
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagmessages.py", line 175, in parse
self.name = TagName(v[hdr_size:self.header.name_length+hdr_size])
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagnames.py", line 23, in __init__
super(TagName,self).__init__(*args, **kwargs)
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagtlv.py", line 176, in __init__
self.parse(args[0])
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagtlv.py", line 225, in parse
self.append(TagTlv(fb[x:x+y]))
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagtlv.py", line 577, in __init__
self.mytlv = _Tlv(t)
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagtlv.py", line 315, in __init__
if (self._build_value(t) is not None):
File "/home/pi/tag/Tagnet/tagfuse/../tagnet/tagnet/tagtlv.py", line 524, in _build_value
build, minor, major = version_struct.unpack(v)
error: unpack requires a string argument of length 4
DEBUG:fuse.log-mixin:-> flush /1fbcd99fd29f/tag/sd/0/dblk/byte (<fuse.fuse_file_info object at 0x75ddae90>,)
*** sparse IO flush [u'<node_id:1fbcd99fd29f>', u'tag', u'sd', u'0', u'dblk', u'byte']
DEBUG:fuse.log-mixin:<- flush 0
DEBUG:fuse.log-mixin:-> release /1fbcd99fd29f/tag/sd/0/dblk/byte (<fuse.fuse_file_info object at 0x75ddae90>,)
** tag release
DEBUG:fuse.log-mixin:<- release 0
tag side:
--- @18008664 268295 235882911 40 4 EVENT GPS_AWAKE_S 2 4 0 0
--- @18008704 268296 235882905 45 32 GPS_RAW -- MID: 9 (09) <rx> cpu thruput
--- @18008752 268297 235882958 62 32 GPS_RAW -- MID: 93/18 (5d) <rx> TCXO learning
*** TF.read: unhandled OSError exception <type 'exceptions.OSError'>
Traceback (most recent call last):
File "/usr/local/bin/tagdump", line 11, in <module>
load_entry_point('tagdump==0.3.0.dev3', 'console_scripts', 'tagdump')()
File "/usr/local/lib/python2.7/dist-packages/tagdump-0.3.0.dev3-py2.7.egg/tagdump/__main__.py", line 10, in main
dump(parseargs())
File "/usr/local/lib/python2.7/dist-packages/tagdump-0.3.0.dev3-py2.7.egg/tagdump/tagdump.py", line 547, in dump
rec_offset, hdr, rec_buf = get_record(infile)
File "/usr/local/lib/python2.7/dist-packages/tagdump-0.3.0.dev3-py2.7.egg/tagdump/tagdump.py", line 413, in get_record
rec_buf.extend(bytearray(fd.read(dlen)))
File "/usr/local/lib/python2.7/dist-packages/tagdump-0.3.0.dev3-py2.7.egg/tagdump/tagfile.py", line 57, in read
new = os.read(self.fileno, cnt - len(buf))
OSError: [Errno 14] Bad address
and the restart:
P222 (111): tagdump --tail -j 18008664 byte
--- offset recnum rt len type name
--- @18008664 268295 235882911 40 4 EVENT GPS_AWAKE_S 2 4 0 0
--- @18008704 268296 235882905 45 32 GPS_RAW -- MID: 9 (09) <rx> cpu thruput
--- @18008752 268297 235882958 62 32 GPS_RAW -- MID: 93/18 (5d) <rx> TCXO learning
--- @18008816 268298 235883064 39 32 GPS_RAW -- MID: 51/1 (33) <rx> unk_51
--- @18008856 268299 235883099 40 32 GPS_RAW -- MID: 65/192 (41) <rx> gpio
--- @18008896 268300 235947408 127 32 GPS_RAW -- MID: 41 (29) <rx> GeoData L (6)
--- @18009024 268301 235947761 40 4 EVENT GPS_SATS_41 6 0 516 0
--- @18009064 268302 235947765 40 4 EVENT GPS_TIME 132252692 5387 21000 0
--- @18009104 268303 235947771 40 4 EVENT GPS_GEO 370763123 3075047372 1997 508299000
--- @18009144 268304 235947774 40 4 EVENT GPS_AWAKE_S 41 4 0 0
--- @18009184 268305 235948483 45 32 GPS_RAW -- MID: 9 (09) <rx> cpu thruput
--- @18009232 268306 235948537 62 32 GPS_RAW -- MID: 93/18 (5d) <rx> TCXO learning
--- @18009296 268307 235948643 84 32 GPS_RAW -- MID: 56/42 (38) <rx> ext ephemeris data
--- @18009380 268308 235948818 39 32 GPS_RAW -- MID: 51/1 (33) <rx> unk_51
--- @18009420 268309 235948852 40 32 GPS_RAW -- MID: 65/192 (41) <rx> gpio
--- @18009460 268310 236012975 127 32 GPS_RAW -- MID: 41 (29) <rx> GeoData L (6)