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: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] list creatation with the code in CVS
  • Date: Mon, 30 Aug 2004 13:33:28 +0200

Hi Robert,

The error message in not complete ; it does not mention the 'config.tt2' that sympa is looking for.

You probably have  a /home/sympa/etc/beta.internal.network/create_list_templates/newsletter/ directory with a config.tpl file in it, whereas Sympa is looking for a config.tt2 file. I suppose that the tpl2tt2.pl migration script (that is automatically run at sympa.pl startup) should also migrate create_list templates ; we will change that.

In the meanwhile, you can either :
  1. manually edit your config.tpl to make it a config.tt2
  2. OR run : perl -I/home/sympa/bin -p -e 'require "tt2.pl";$_=Sympa::Template::Compat::_translate($_)' your_old_tpl

Robert G. Ristroph wrote:
        I am using the code from the CVS repository.  When I try to
        create a new list, it says "unable_to_open_template" on the
        webpage, and I get this in /var/log/sympa:

Aug 29 22:28:54 pizzabox wwsympa[14845]: WWSympa started 
Aug 29 22:28:54 pizzabox wwsympa[14845]: [robot beta.internal.network] [client 192.168.1.
1] [user address@concealed] do_create_list(newcvs,new list with new cvs version,newsletter)
 
Aug 29 22:28:54 pizzabox wwsympa[14845]: No such list newcvs 
Aug 29 22:28:54 pizzabox wwsympa[14845]: [robot beta.internal.network] [client 192.168.1.
1] [user address@concealed] do_create_list, get action : do_it  
Aug 29 22:28:55 pizzabox wwsympa[14845]: no template newsletter in /home/sympa/etc/beta.internal.network/create_list_templates/newsletter NOR /home/sympa/etc/create_list_templates/newsletter 

        The two files mentioned do exist.

        Is this something I should expect from the CVS code, or
        something I messed up in my configuration ?  I am trying to
        set up a machine with two virtual hosts, just to test the
        virtual host feature.  (This error occurs with both virtual
        hosts.)  When first setting this up, I did have to change some
        permissions to get the cgi scripts to have access to all the
        right files, but everything is readable by the right group
        now.

        Thanks in advance for any suggestions,
  
-- 
Olivier Salaün
Comité Réseau des Universités
-------------------------------------------
Validation signature / Trusting  signature: --> http://igc.cru.fr/trust.html
------------------------------------------- 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page