Hi,

Julian Gilbey <[EMAIL PROTECTED]> - Sat, Jan 15, 2005:

> That's weird: does the first command give no output at all?

 It does give output, I just got my copy-pasting wrong, sorry!
 (I ran the commands on two differents terminals, hence the error.)

 I recall the command said:
 Downloading http://bugs.debian.org/285761 ... (cache already up-to-date)

 You already have something to laugh at me, but wait there's more:
 today, copying the commands I gave in the report in a terminal, it
 simply worked.  This is because this particular bug changed.

 But I think I've spotted the exact bug:  I made my initial caching
 without --cache-mode=full, when I tried to recache with
 --cache-mode=full, I got plenty of:
 bee% bts --cache-mode=full cache src:galeon
 ...
 Downloading http://bugs.debian.org/252418 ... (cache already
 up-to-date)

 And still:
 bee% bts --mbox -o show 252418
 bts: Sorry, you are in offline mode and that is not cached.
 Use "bts [--cache-mode=...] cache" to update the cache.

 => I think the problem is the cache which does not download the mbox if
 it already downloaded the page the first time, despite the presence of
 cache-full.

 In the download sub:
     ...
     my $manual=shift;  # true="bts cache", false="bts show/bug"
     ...
        if (! $manual and $mboxing) {
        ... eventually downloads the mbox ...
        } else {
            print "(cache already up-to-date)\n";
        }
    ...

 => I see no way that bts cache downloads the mbox.

   Bye,

-- 
Loïc Minier <[EMAIL PROTECTED]>

Reply via email to