tags 293332 + patch pending
thanks

* Martin Michlmayr <[EMAIL PROTECTED]> [2005-02-02 15:38]:
> This bug is related to "#227117: jack -Q fails to resume" but not the
> same.  Basically, as #227117 mentions, -Q fails to resume.  Now, there
> are 3 more problems with this.  I got the following error:
> 
> 995:[EMAIL PROTECTED]: ~/tmp/jack] /usr/bin/jack -Q
> This is jack 3.1.1 (C)2004 Arne Zellentin <[EMAIL PROTECTED]>
>  *warning* config file /etc/jackrc is of unknown version None.
>  *info* querying...
> /home/tbm/jack/jack-340e5415
>  *error* destination directory already exists: Masz To Jak W Banku
> 
> Problems:
>   - the path displayed is relative but it would be nice if it was
>     absolute, i.e.
>  *error* destination directory already exists: ~/jack/O.S.T.R/Masz To Jak W 
> Banku

The patch below fixes this.

>   - It mentions /home/tbm/jack/jack-340e5415 just before giving the
>     real destination which is quite confusing
>   - It doesn't remove /home/tbm/jack/jack-340e5415 at the end (really,
>     it should not create it in the first place).  Looking at the
>     directories, I see that now the jack.* files are duplicated:

Well, that's how jack works and I don't see how this would be changed.
However, I think this bug was initall caused by jack not getting the
FreeDB ID right.  This shouldn't happen as often these days.


diff -urN jack-3.1.1~/jack_utils.py jack-3.1.1/jack_utils.py
--- jack-3.1.1~/jack_utils.py   2005-07-28 23:18:40.722448528 +0100
+++ jack-3.1.1/jack_utils.py    2005-07-28 23:37:18.256557520 +0100
@@ -94,7 +94,7 @@
 
     last_of_new = new[-1]
     if os.path.exists(last_of_new):
-        error("destination directory already exists: " + last_of_new)
+        error("destination directory already exists: " + 
os.path.join(*[cf['_base_dir']] + new))
     try:
         os.rename(cwd, last_of_new)
     except OSError:

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to