--multi-mode option does not work

Bug #763795 reported by shoh7EuR
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jack (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: jack

Note: this is about jack (Rip and encode CDs with one command), NOT about jackd (JACK Audio Connection Kit)
When running "jack --multi-mode" following error is produced:
This is jack 3.1.1 (C)2004 Arne Zellentin <email address hidden>
Traceback (most recent call last):
  File "/usr/bin/jack", line 101, in <module>
    toc_just_read = jack_prepare.find_workdir()
  File "/usr/lib/pymodules/python2.6/jack_prepare.py", line 120, in find_workdir
    err, jack_tag.track_names, jack_tag.locale_names, cd_id, revision = freedb_names(jack_freedb.freedb_id(jack_ripstuff.all_tracks), jack_ripstuff.all_tracks, jack_ripstuff.all_tracks, os.path.join(i, cf['_freedb_form_file']), verb = 0, warn = 0)
NameError: global name 'freedb_names' is not defined

I tried to fix this with a change
in /usr/lib/pymodules/python2.6/jack_prepare.py:
@ line 120:
changed freedb_names changed into jack_freedb.freedb_names:
  err, jack_tag.track_names, jack_tag.locale_names, cd_id, revision = jack_freedb.freedb_names(jack_freedb.freedb_id(jack_ripstuff.all_tracks), jack_ripstuff.all_tracks, jack_ripstuff.all_tracks, os.path.join(i, cf['_freedb_form_file']), verb = 0, warn = 0)

No I get following error:
This is jack 3.1.1 (C)2004 Arne Zellentin <email address hidden>
Traceback (most recent call last):
  File "/usr/bin/jack", line 101, in <module>
    toc_just_read = jack_prepare.find_workdir()
  File "/usr/lib/pymodules/python2.6/jack_prepare.py", line 123, in find_workdir
    info("matching dir found: %d" % i)
TypeError: %d format: a number is required, not str

I tried to fix this with a change
in /usr/lib/pymodules/python2.6/jack_prepare.py:
@line 123:
changed info("matching dir found: %d" % i) into info("matching dir found: %s" % i)

After these two changes no more complaints.
Extra info:
> lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
> apt-cache policy jack
jack:
  Geïnstalleerd: 3.1.1+cvs20050801-26
  Kandidaat: 3.1.1+cvs20050801-26
  Versietabel:
 *** 3.1.1+cvs20050801-26 0
        500 http://be.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.