Aaron Kreider wrote: > When I tried to depickle a list, I got an "Import Error No Module >named Mailman.Bouncer". > >I suspect this is for a list that has bounces. I was able to depickle a >much smaller list.
Yes, the issue only occurs for lists with members that have bounce_info. There are at least three ways around this. Create your script as a withlist script and run it via withlist (see bin/withlist --help), or run your script from Mailman's bin/ directory and 'import paths' at the beginning of the script, or copy Mailman's bin/paths.py to the directory from which you want to run the script, and 'import paths' at the beginning of the script. >Could it be a users permission issue? I tried running the script as >root, but it still gave me the error. I'm using this python script, >running it in the mailman/Mailman directory: It would probably also work as is if you ran it in the mailman/ directory, but I think the other methods are preferable. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9