[Mailman-Developers] Listing Lists Faster in 2.0?
Barry A. Warsaw
bwarsaw@cnri.reston.va.us
Mon, 3 Apr 2000 22:47:16 -0400 (EDT)
>>>>> "RU" == Roberto Ullfig <rullfig@uchicago.edu> writes:
| Whatever the answer is, we'd like to be able to generate the
| lists of lists once a day; I tried running:
| chroot /opt/http /opt/bin/python
| /opt/pkgs/mailman/scripts/driver listinfo
RU> but get this traceback:
| @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
| [----- Mailman Version: <undetermined> -----]
| [----- Traceback ------]
| Traceback (innermost last):
| File "/opt/pkgs/mailman/scripts/driver", line 135, in
| print_traceback
| from Mailman.mm_cfg import VERSION
| ImportError: No module named Mailman.mm_cfg
| Content-type: text/html
Looks like you're trying to run this out of the source directory not
the installed directory. I don't think it makes much sense trying to
run the CGI's via the driver outside a web server environment -- there
are all sorts of environment things missing. Much better to write a
script to do what you want. See my recently posted list_lists for an
example (or anything inside bin/).
-Barry