[Bugs] #3297 UNSP: voltage block fails on the 1.75
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Jan 20 16:36:04 EST 2012
#3297: voltage block fails on the 1.75
------------------------------------------+---------------------------------
Reporter: tonyforster | Owner: walter
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Turtleart | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
ta131 xo1.75 os25
Traceback (most recent call last):
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/talogo.py",
line 482, in doevalstep
self.step.next()
File "/home/olpc/Activities/TurtleArt.activity/TurtleArt/talogo.py",
line 461, in _evalsym
result = self.cfun.fcn(self, *self.arglist)
File
"/home/olpc/Activities/TurtleArt.activity/plugins/audio_sensors/audio_sensors.py",
line 198, in <lambda>
'voltage', 0, lambda self: primitive_dictionary['voltage'](0))
File
"/home/olpc/Activities/TurtleArt.activity/plugins/audio_sensors/audio_sensors.py",
line 366, in prim_voltage
voltage = float(_avg(buf)) * self.voltage_gain + self.voltage_bias
AttributeError: 'Audio_sensors' object has no attribute 'voltage_gain'
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/3297>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list