Skip to Content.
Sympa Menu

en - Re: [sympa-users] list creatation with the code in CVS

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: address@concealed (Rob Ristroph)
  • From: address@concealed (Robert G. Ristroph)
  • To: address@concealed
  • Subject: Re: [sympa-users] list creatation with the code in CVS
  • Date: Tue, 31 Aug 2004 23:43:38 -0500

>>>>> "Olivier" == Olivier Salaun <- CRU <address@concealed>> writes:
Olivier>
Olivier> Hi Robert,
Olivier> The error message in not complete ; it does not mention the
Olivier> 'config.tt2' that sympa is looking for.
Olivier>
Olivier> You probably have a
Olivier>
/home/sympa/etc/beta.internal.network/create_list_templates/newsletter/
Olivier> directory with a config.tpl file in it, whereas Sympa is looking for
a
Olivier> config.tt2 file. I suppose that the tpl2tt2.pl migration script
(that is
Olivier> automatically run at sympa.pl startup) should also migrate
create_list templates
Olivier> ; we will change that.
Olivier>
Olivier> In the meanwhile, you can either :
Olivier>
Olivier> 1. manually edit your config.tpl to make it a config.tt2
Olivier> 2. OR run : perl -I/home/sympa/bin -p -e 'require
Olivier> "tt2.pl";$_=Sympa::Template::Compat::_translate($_)'
your_old_tpl


Many thanks ! You were right. I converted the template and it worked.
I am working on a find command to convert all the templates in
/home/sympa.

It now works for the first domain I set sympa up for; however, I get a
different error message when I try to create a list on the 2d of my
two virtual robots. It says "new2: unknown list" on the web page when
I try to create a list named "new2". Here is a relavant part of
/var/log/sympa:

Aug 31 23:27:31 pizzabox wwsympa[32419]: WWSympa started
Aug 31 23:27:32 pizzabox wwsympa[32419]: [robot testsympa.internal] [client
192.168.1.1] [
user address@concealed] do_create_list(new2,second attempt,newsletter)
Aug 31 23:27:32 pizzabox wwsympa[32419]: No such list new2
Aug 31 23:27:32 pizzabox wwsympa[32419]: [robot testsympa.internal] [client
192.168.1.1] [
user address@concealed] do_create_list, get action : listmaster,notify
Aug 31 23:27:32 pizzabox wwsympa[32419]: No such list new2
Aug 31 23:27:32 pizzabox wwsympa[32419]: [robot testsympa.internal] [client
192.168.1.1] [
user address@concealed] check_param_in: unknown list new2
Aug 31 23:27:32 pizzabox wwsympa[32419]: notify listmaster
Aug 31 23:27:34 pizzabox sympa[7078]: Processing web message for
address@concealed
Aug 31 23:27:34 pizzabox sympa[7078]: Message for address@concealed sent

This "no such list" message is the same one I was previously getting for
the 2d virtual domain with the stable version of sympa.

I suppose I have missed some step in setting up the second virtual
robot. Does any have any idea what it might be ?

Thanks again for showing me how to convert the templates.

--Rob





Archive powered by MHonArc 2.6.19+.

Top of Page