-
Notifications
You must be signed in to change notification settings - Fork 1
/
error.txt
65 lines (59 loc) · 3.24 KB
/
error.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Traceback (most recent call last):
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/registry.py", line 73, in encode
sum([1 << index for index in range(len(StateFieldRegistry.COMPONENTS))
File "/home/pi/pfs-rewrite/lib/registry.py", line 74, in <listcomp>
if StateFieldRegistry.COMPONENTS[index] in self.vars.LOCKED_ON_DEVICES]),
AttributeError: 'Vars' object has no attribute 'vars'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/pfs-rewrite/mission_control.py", line 52, in main
self.mcl.iterate() # Run a single iteration of MCL
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/MainControlLoop/main_control_loop.py", line 47, in iterate
self.sfr.logger.log() # Logs data
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/log.py", line 99, in log
self.loggers[i].execute()
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/clock.py", line 24, in execute
result = self.func() # Run function, return whether it ran
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/registry.py", line 321, in dump
self.logs["sfr_readable"].write(self.vars.to_dict())
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/registry.py", line 93, in to_dict
encoded = self.encode()
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 107, in wrapper
raise exception(e) # Wrap with given exception
lib.exceptions.LogicalError: 'Vars' object has no attribute 'vars'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/registry.py", line 73, in encode
sum([1 << index for index in range(len(StateFieldRegistry.COMPONENTS))
File "/home/pi/pfs-rewrite/lib/registry.py", line 74, in <listcomp>
if StateFieldRegistry.COMPONENTS[index] in self.vars.LOCKED_ON_DEVICES]),
AttributeError: 'Vars' object has no attribute 'vars'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/pfs-rewrite/mission_control.py", line 211, in <module>
mission_control.main()
File "/home/pi/pfs-rewrite/mission_control.py", line 72, in main
self.testing_mode(e)
File "/home/pi/pfs-rewrite/mission_control.py", line 132, in testing_mode
print(self.sfr.vars.to_dict())
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 103, in wrapper
return func(*args, **kwargs)
File "/home/pi/pfs-rewrite/lib/registry.py", line 93, in to_dict
encoded = self.encode()
File "/home/pi/pfs-rewrite/lib/exceptions.py", line 107, in wrapper
raise exception(e) # Wrap with given exception
lib.exceptions.LogicalError: 'Vars' object has no attribute 'vars'