Re: [Mailman-Users] mailman problem after 2.1.5 -> 2.1.7 update

2006-01-27 Thread Hauke Fath
Am 26.01.2006 um 19:06 Uhr +0100 schrieb Brad Knowles:
>At 6:46 PM +0100 2006-01-26, Hauke Fath wrote:
>
>>  I haven't found a way of tweaking this and assume that the list URLs
>>  are made up dynamically by the cgi script (rather, binary).
>>
>>  Does anybody else see this? Any pointers?
>
>   The URLs are probably messed up in your mm_cfg.py (mailman 
>configuration) file.  Try posting the contents of that file.

[...]

###
# Here's where we get the distributed defaults.

from Defaults import *

##
# Put YOUR site-specific settings below this line.

# IMPORTANT: Edit the following two definitions to provide the domain
# name of your mail lists, and host name of the Web server.
# (Leave the add_virtualhost line alone.)
#
DEFAULT_EMAIL_HOST = 'spg.tu-darmstadt.de'
DEFAULT_URL_HOST = 'www.spg.tu-darmstadt.de'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

DEFAULT_URL_PATTERN = 'https://%s/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'


--  note that the file was not changed since before the update:

[EMAIL PROTECTED] /<3>mailman/Mailman > ls -l mm_cfg.py
-rw-rw-r--  1 root  mailman  2088 Oct  8  2004 mm_cfg.py

hauke

-- 
/~\  The ASCII Ribbon CampaignHauke Fath
\ /No HTML/RTF in email Institut für Nachrichtentechnik
  X No Word docs in email TU Darmstadt
/ \  Respect for open standards  Ruf +49-6151-16-3281
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] mailman problem after 2.1.5 -> 2.1.7 update

2006-01-26 Thread Mark Sapiro
Hauke Fath wrote:
>
>Basically, both the .../mailman/listinfo and .../mailman/admin pages
>have the URLs to the existing mailing lists wrong. They look like
>
>href="https://www.spg.tu-darmstadt.de/mailman/listinfo""/rt2-praktikum";>RT2-Praktikum
>
>-- note the extra pair of quotes between the base URL and the list
>name. Browsers ignore the part after the quote pair.
>
>I haven't found a way of tweaking this and assume that the list URLs =
>
>are made up dynamically by the cgi script (rather, binary).

The URLs are made dynamically, but not by the binary wrapper. They are
made by the scripts Mailman/Cgi/admin.py and Mailman/Cgi/listinfo.py.

This doesn't seem to be a DEFAULT_URL_PATTERN or list web_page_url
attribute problem. If it were the extra quotes would be between
'mailman' and 'listinfo', not between 'listinfo' and the list name.

The code that makes the
https://www.spg.tu-darmstadt.de/mailman/listinfo part of the URL is
the ScriptURL() function in Mailman/Utils.py and the code that puts it
together with the list name is the GetScriptURL() method in
Mailman/MailList.py, and various methods in Mailman/htmlformat.py make
the actual link, but I don't see anything in this that would add
quotes other than the ones around the whole URL.

I'm puzzled, but perhaps you can look at the specific areas I mention
and see that there's something strange in your version.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] mailman problem after 2.1.5 -> 2.1.7 update

2006-01-26 Thread Brad Knowles
At 6:46 PM +0100 2006-01-26, Hauke Fath wrote:

>  I haven't found a way of tweaking this and assume that the list URLs
>  are made up dynamically by the cgi script (rather, binary).
>
>  Does anybody else see this? Any pointers?

The URLs are probably messed up in your mm_cfg.py (mailman 
configuration) file.  Try posting the contents of that file.

-- 
Brad Knowles, <[EMAIL PROTECTED]>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

  LOPSA member since December 2005.  See .
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] mailman problem after 2.1.5 -> 2.1.7 update

2006-01-26 Thread Hauke Fath
Hi,

I am seeing a problem with mail/mailman after updating an existing 
2.1.5 installation to 2.1.7nb1. This is a NetBSD pkgsrc setup; an 
update leaves changed config files and the lists database around and 
installs the new binaries, scripts etc., just like you'd do a manual 
update.

Basically, both the .../mailman/listinfo and .../mailman/admin pages 
have the URLs to the existing mailing lists wrong. They look like

https://www.spg.tu-darmstadt.de/mailman/listinfo""/rt2-praktikum";>RT2-Praktikum

-- note the extra pair of quotes between the base URL and the list 
name. Browsers ignore the part after the quote pair.

I haven't found a way of tweaking this and assume that the list URLs 
are made up dynamically by the cgi script (rather, binary).

Does anybody else see this? Any pointers?

hauke

-- 
/~\  The ASCII Ribbon CampaignHauke Fath
\ /No HTML/RTF in email Institut für Nachrichtentechnik
  X No Word docs in email TU Darmstadt
/ \  Respect for open standards  Ruf +49-6151-16-3281
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp