tags 351453 + patch pending thanks * Martin Michlmayr <[EMAIL PROTECTED]> [2006-02-04 23:08]: > --upd-progress doesn't work: > > 11509:[EMAIL PROTECTED]: ~/tmp/jack/jack-1210f412] mv jack.progress p > 11510:[EMAIL PROTECTED]: ~/tmp/jack/jack-1210f412] jack --upd-progress > This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]> > Traceback (most recent call last): > File "/usr/bin/jack", line 136, in ? > jack_prepare.update_progress(todo) > File "/usr/lib/python2.3/site-packages/jack_prepare.py", line 341, in > update_progress > if not status[num]['dae']: > NameError: global name 'status' is not defined > zsh: exit 1 jack --upd-progress
Here's a patch to get this working again: --- orig/jack_prepare.py 2006-02-05 00:22:16.000000000 +0000 +++ b/jack_prepare.py 2006-02-05 00:26:14.000000000 +0000 @@ -21,6 +21,7 @@ import pprint import os, sys import difflib, shutil +import ogg import jack_playorder import jack_functions @@ -331,7 +332,7 @@ status['all']['id3_year'] = ["-1",] return status -def update_progress(todo): +def update_progress(status, todo): ext = jack_targets.targets[jack_helpers.helpers[cf['_encoder']]['target']]['file_extension'] "update progress file at user's request (operation mode)" --- a/jack 2006-02-05 00:22:22.000000000 +0000 +++ b/jack 2006-02-05 00:23:04.000000000 +0000 @@ -133,7 +133,7 @@ ### (6) update progress file at user's request (operation mode) if cf['_upd_progress']: - jack_prepare.update_progress(todo) + jack_prepare.update_progress(status, todo) sys.exit(0) ### (7) now read in the progress file -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]