Problem: When trying to add .ogg files to list of files
to be burned as music, I get an error (see traceback).
Version: 2.2.0-0.9 (pre-release)
OS: Linux 2.6.10-1.770_FC3 #1 i686 athlon i386 GNU/Linux
Traceback (most recent call last):
File "/usr/local/lib/eroaster/Application.py", line
2015, in SongListDragReceive
self.AddFileToList(filename)
File "/usr/local/lib/eroaster/Application.py", line
2310, in AddFileToList
seconds = self.GetAudioTrackLength(filename)
File "/usr/local/lib/eroaster/Application.py", line
3483, in GetAudioTrackLength
seconds = int(oggfileinfo.track_length())
File "/usr/local/lib/eroaster/oggvorbis.py", line 75,
in track_length
seconds = seconds +
atoi(round(atof(splitted[intCounter][:-1])))
File "/usr/lib/python2.3/string.py", line 220, in atoi
return _int(s, base)
TypeError: int() can't convert non-string with explicit
base
Logged In: YES
user_id=420010
A bit of investigation showes me that changing line 75 of
oggvorbis.py solves the problem for me:
old:
seconds = seconds +
atoi(round(atof(splitted[intCounter][:-1])))
new
seconds = seconds + atoi(splitted[intCounter][:-1])
Dunno if it will break other things...
Sorry for the dup btw. Just saw this bug is duplicate of
#1029630