rfcx / arbimon-jobs

Apache License 2.0
0 stars 0 forks source link

Soundscape error #7

Closed lazychino closed 9 years ago

lazychino commented 9 years ago

Traceback (most recent call last): File "/var/lib/arbimon2/jobs/scripts/Soundscapes/playlist2soundscape.py", line 436, in norm_vector = get_norm_vector(db, get_sc_data(db,soundscapeId)) if normalized else None File "/var/lib/arbimon2/jobs/lib/soundscape/set_visual_scale_lib.py", line 52, in get_norm_vector aggregation = soundscape.aggregations[sc_data['aggregation']] TypeError: tuple indices must be integers, not str

creo que le error es aqui que sc_data es un tuplo

@rafael-alvarez @g-i-o-

rafael-alvarez commented 9 years ago

fixed in commit 4319e52dcdfb1aaa97feee4f531620f7cbc6adc7