Melinda Gilmore wrote:
I am trying to write a script with bin/withlist -l -r fix_url listname in
it.    But I keep getting an erro for the fix_url part.   Like the script
cannot see the second half with the withlist.  The error I get is

Importing /usr/local/mailman/bin/fix_url...
Traceback (most recent call last):
  File "/usr/local/mailman/bin/withlist", line 299, in ?
    main()
  File "/usr/local/mailman/bin/withlist", line 267, in main
    __import__(module)
ImportError: No module named /usr/local/mailman/bin/fix_url


It looks like your script actually has something which is or expands to

/usr/local/mailman/bin/withlist -l -r /usr/local/mailman/bin/fix_url ...

If so, this is the problem. The command in the script should be

/usr/local/mailman/bin/withlist -l -r fix_url ...

There must not be a path to 'fix_url'. fix_url will be imported from the same directory as withlist.

If this is not the issue, then please post more detail from the script.

--
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to