[wplug] mailman/python error under redhat 9
John Harrold
jmh17 at pitt.edu
Fri May 9 11:16:11 EDT 2003
Sometime in May Tim Lesher assaulted the keyboard and produced:
| No, python is finding getgrnam() just fine. The problem is that
| getgrname() is not finding its argument, which is the MAILMAN_GROUP
| member of the mm_cfg dictionary (a KeyError means that a dictionary
| lookup by key failed).
|
| Sounds like your friend didn't edit the mm_cfg.py file to set the
| MAILMAN_GROUP and MAILMAN_USER variables.
bare with my python ignorance here. in the file mm_cfg.py there are the
following lines:
MAILMAN_UID = pwd.getpwnam('mailman')[2]
MAILMAN_GID = grp.getgrnam('mailman')[2]
if this behaves like i would expect, i would assume that it determines the
gid and uid on it's own?
--
--------------------------------------------------------------------------
| /"\
john harrold | \ / ASCII ribbon campaign
jmh at member.fsf.org | X against HTML mail
the most useful idiot | / \
--------------------------------------------------------------------------
"Of course the people don't want war. But after all, it's the leaders of
the country who determine the policy, and it's always a simple matter to
drag the people along whether it's a democracy, a fascist dictatorship,
or a parliament, or a communist dictatorship. Voice or no voice, the
people can always be brought to the bidding of the leaders. That is
easy. All you have to do is tell them they are being attacked, and
denounce the pacifists for lack of patriotism, and exposing the country
to greater danger."
-- Herman Goering
as related to Gustave Gilbert at the Nuremberg trials,
--------------------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030509/fe42dc80/attachment-0001.bin
More information about the wplug
mailing list