Bug#416153: listadmin: Can not handle html for mailman 2.1.9
I believe the error message was improved in 2.37 and that this bug can be closed. -- best wishes, Kjetil T. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#416153: listadmin: Can not handle html for mailman 2.1.9
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.pl2 Apr 2007 16:22:31 - 1.53 +++ listadmin.pl23 May 2007 02:39:28 - @@ -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]
Bug#416153: listadmin: Can not handle html for mailman 2.1.9
Subject: Please improve error message when adminurl is wrong Severity: normal thanks [Petter Reinholdtse] When trying to moderate a list on a mailman 2.1.9 server, listadmin dies parsing the HTML code: 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. Friendly, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#416153: listadmin: Can not handle html for mailman 2.1.9
Package: listadmin Version: 2.36-1 Severity: normal Tags: upstream When trying to moderate a list on a mailman 2.1.9 server, listadmin dies parsing the HTML code: % listadmin [EMAIL PROTECTED] fetching data for [EMAIL PROTECTED] ... Died at /usr/bin/listadmin line 872. % Please update it to work with newer mailman servers. CC to upstream, as I suspect this problem need to be addressed there. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-4-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages listadmin depends on: ii libcrypt-ssleay-perl 0.51-5 Support for https protocol in LWP ii libtext-reform-perl 1.11-5 Perl module for manual text wrappi ii libwww-perl 5.805-1WWW client/server library for Perl listadmin recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]