#38 Playing an ogg jingle causes problems

closed-fixed
nobody
None
5
2012-11-19
2012-11-09
No

Here's an odd on. With the current development version.
Playing a jingle (effect I guess you now call them) throws this error:

total_duration 180.284896
ogg_vorbisdec_init was called
ogg_vorbisdec_init: configuring resampler
new dynamic metadata
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 2709, in vu_update
key.split("_", 1)[0]), value))
AttributeError: 'MainWindow' object has no attribute 'player_jingles'
unexpected reply from idjcsourceclient jingles_elapsed=0

unexpected reply from idjcsourceclient jingles_playing=0

unexpected reply from idjcsourceclient jingles_signal=0

unexpected reply from idjcsourceclient jingles_cid=0

unexpected reply from idjcsourceclient jingles_audio_runout=0

unexpected reply from idjcsourceclient jingles_silence=0.000000

unexpected reply from idjcsourceclient jingles_elapsed=0

unexpected reply from idjcsourceclient jingles_playing=0

unexpected reply from idjcsourceclient jingles_signal=0

unexpected reply from idjcsourceclient jingles_cid=0

unexpected reply from idjcsourceclient jingles_audio_runout=0

unexpected reply from idjcsourceclient jingles_silence=0.000000

unexpected reply from idjcsourceclient jingles_elapsed=0

unexpected reply from idjcsourceclient jingles_playing=0

unexpected reply from idjcsourceclient jingles_signal=0

unexpected reply from idjcsourceclient jingles_cid=0

unexpected reply from idjcsourceclient jingles_audio_runout=0

unexpected reply from idjcsourceclient jingles_silence=0.000000

unexpected reply from idjcsourceclient str_l_peak=-127

unexpected reply from idjcsourceclient str_r_peak=-127

unexpected reply from idjcsourceclient str_l_rms=120

unexpected reply from idjcsourceclient str_r_rms=120

unexpected reply from idjcsourceclient midi=

unexpected reply from idjcsourceclient session_command=

unexpected reply from idjcsourceclient ports_connections_changed=0

unexpected reply from idjcsourceclient effects_playing=-1

unexpected reply from idjcsourceclient freewheel_mode=0

unexpected reply from idjcsourceclient end

ogg_vorbisdec_cleanup was called
total_duration 180.284896
ogg_vorbisdec_init was called
ogg_vorbisdec_init: configuring resampler
save_session called
ogg_vorbisdec_cleanup was called
frames 465
bytes 292152
toc has been read
lame tag found
frames to drop 1104 and 1427
finished eject

After this, the time indicators on the main players no longer work, and trying to exit from IDJC causes this error:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 2566, in delete_event
self.destroy()
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 2524, in destroy
self.send_new_mixer_stats()
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 1952, in send_new_mixer_stats
self.vu_update(False)
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 2709, in vu_update
key.split("_", 1)[0]), value))
AttributeError: 'MainWindow' object has no attribute 'player_jingles'
save_session called
/usr/lib/python2.7/dist-packages/idjc/playergui.py:1195: GtkWarning: IA__gtk_file_chooser_get_files: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
extlist = self.external_pl.filechooser.get_filename()
/usr/lib/python2.7/dist-packages/idjc/playergui.py:1198: GtkWarning: IA__gtk_file_chooser_get_files: assertion `GTK_IS_FILE_CHOOSER (chooser)' failed
extdir = self.external_pl.directorychooser.get_filename()
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/idjc/gtkstuff.py", line 178, in newf
r = f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/idjc/maingui.py", line 2408, in save_session
self.player_left.save_session(where)
File "/usr/lib/python2.7/dist-packages/idjc/playergui.py", line 1244, in save_session
model, iter = self.treeview.get_selection().get_selected()
AttributeError: 'NoneType' object has no attribute 'get_selected'

Logging off is the only way to get IDJC back after this.

Playing mp3 jingles does not cause this problem.

Discussion

  • Stephen Fairchild

    • status: open --> open-fixed
     
  • Stephen Fairchild

    The backend posted some metadata for a jingles player that no longer exists and the resulting exception broke the backend data collection routine.

    Fixed.

     
  • Brian Millham

    Brian Millham - 2012-11-10

    Thanks much, fix worked great :D

     
  • Brian Millham

    Brian Millham - 2012-11-19
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks