On Fri, Nov 30, 2007 at 10:05:28PM +0100, Martin Michlmayr wrote:
> How did you call jack and what did you do exactly?

Sorry for the terse report, I have more time now.

I reproduced the error, using a CD that is not in FreeDB:

SNIP

$ jack --cont-failed-query --edit-freedb
This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
 *info* querying...
 *warning* 202 No match for disc ID 87105e09. How about trying another
           --server?

freedb search failed, continue? (y/N)  y
  
  [edit DB info, save]

You made the following changes to the FreeDB file:

--- jack.freedb.bak
+++ jack.freedb
@@ -17,18 +17,18 @@
 # Submitted via: jack 3.1.1
 #
 DISCID=87105e09
-DTITLE=
-DYEAR=
-DGENRE=
-TTITLE0=
-TTITLE1=
-TTITLE2=
-TTITLE3=
-TTITLE4=
-TTITLE5=
-TTITLE6=
-TTITLE7=
-TTITLE8=
+DTITLE=x/x
+DYEAR=1
+DGENRE=x
+TTITLE0=x
+TTITLE1=x
+TTITLE2=x
+TTITLE3=x
+TTITLE4=x
+TTITLE5=x
+TTITLE6=x
+TTITLE7=x
+TTITLE8=x
 EXTD=
 EXTT0=
 EXTT1=

Would you like to submit these changes to the FreeDB server? (y/N) y
Traceback (most recent call last):
  File "/usr/bin/jack", line 155, in ?
    freedb_rename = jack_prepare.query_on_start(todo)
  File "/var/lib/python-support/python2.4/jack_prepare.py", line 545, in 
query_on_start
    freedb_submit(jack_progress.status_all['freedb_cat'])
KeyError: 'freedb_cat'

SNIP

I tried patching jack_prepare.py to use a default of 'None' for freedb_cat:

545c545
<                         freedb_submit(jack_progress.status_all['freedb_cat'])
---
>                         
> freedb_submit(jack_progress.status_all.get('freedb_cat', None))

This seems to work, Jack continues and asks for genre information.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to