please don't Bcc me, I don't check my unmatched folder very often.

On Fri, 2007-04-20 at 11:52 +0200, Petter Reinholdtsen wrote:

> This proved to be user error.  I used the wrong admin-URL.  The
> correct one is
> 
>   adminurl http://{domain}/mailman/admindb/{list}
> 
> With this URL, it worked.  I used this earlier, and it failed:
> 
>   adminurl http://{domain}/mailman/admin/{list}
> 
> So I reformulate this request to ask for a better error message, to
> make it easier to figure out what is wrong.

please try this patch, I don't have access to very many servers myself.

--- listadmin.pl        2 Apr 2007 16:22:31 -0000       1.53
+++ listadmin.pl        23 May 2007 02:39:28 -0000
@@ -187,7 +187,7 @@
     if ($info->{'servererror'}) {
        print "\n";
        printf STDERR ("ERROR: fetching %s\n", $info->{'url'});
-       printf STDERR ("ERROR: Server returned '%s' -- skipping list\n",
+       printf STDERR ("ERROR: %s\nERROR: skipping list\n",
                       $info->{'servererror'});
        next;
     } elsif ($info->{'autherror'}) {
@@ -654,7 +654,13 @@
            print "empty page\n";
        }
        return {};
+    } elsif ($page !~ /pending request/) {
+       print "\n";
+       print "ERROR: fetching $url\n";
+       print "ERROR: Unexpected contents -- ";
+       return {};
     }
+
     my $dumpdir = $config->{"dumpdir"};
     if (defined $dumpdir) {
        if (open (DUMP, ">$dumpdir/dump-$list.html")) {

-- 
Kjetil T.




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

Reply via email to