Forum OpenACS Q&A: Re: acs-templating I18N work

Collapse
Posted by Randy O'Meara on
HEAD fresh checkout 10/15/03 @ 9:30 PST
Errors since 15/Oct/2003:21:57:36

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-kernel.common_ok' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-kernel.common_edit' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-templating.Previous_with_arrow' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-kernel.common_repeat' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-templating.Next_with_arrow' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: lang::message::lookup: Key 'acs-kernel.common_finish' does not exist in en_US

[15/Oct/2003:21:58:52]
    Error: Error sourcing /devel/openacs5b/packages/acs-templating/tcl/acs-templating-init.tcl:
    list must have an even number of elements
        while executing
    "array set default_button_labels  [list back [_ acs-templating.Previous_with_arrow] [_ acs-kernel.common_repeat] next [_ acs-templating.Next_with_arrow..."
        (in namespace eval "::template::wizard" script line 7)
        invoked from within
    "namespace eval wizard {
        
        # stack level at which wizard is created
        variable parse_level
        # An array of default buttons and their names
     ..."
        (in namespace eval "::template" script line 46)
        invoked from within
    "namespace eval template {
    
      namespace export query request form element
    
      # namespaces for cached datasource and template procedures
    
      namespace ev..."
        (file "/devel/openacs5b/packages/acs-templating/tcl/acs-templating-init.tcl" line 17)
        invoked from within
    "source $__file "

[15/Oct/2003:21:58:56]
    Error: lang::catalog::import_from_files - The import of file /devel/openacs5b/packages/acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml failed, error message is:
    
    Required attribute "key" missing from <msg>
    
    stack trace:
    
    Required attribute "key" missing from <msg>
        while executing
    "error "Required attribute \"$attribute\" missing from <[xml_node_get_name $element]>""
        (procedure "get_required_xml_attribute" line 5)
        invoked from within
    "get_required_xml_attribute $message_node ${KEY_ATTR}"
        (procedure "parse" line 40)
        invoked from within
    "parse [read_file $file_path"
        (procedure "import_messages_from_file" line 6)
        invoked from within
    "import_messages_from_file $file_path"
    
    
    Notice: Querying '
          
            select mime_charset
            from   ad_locales 
            where  locale = 'en_US';'
Collapse
Posted by Dirk Gomez on
Works for me. Can you update again please?

I removed the three empty message keys.

Now I am looking at a system where acs_subsite's message_keys have gone amiss.

Collapse
Posted by Randy O'Meara on
Dirk, I will reinstall fresh again this evening.
Collapse
Posted by Randy O'Meara on
Dirk & Peter: CVS HEAD as of 4:10 PM PST
Errors since 16/Oct/2003:16:10:23

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-kernel.common_ok' does not exist in en_US

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-kernel.common_edit' does not exist in en_US

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-templating.Previous_with_arrow' does not exist in en_US

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-kernel.common_repeat' does not exist in en_US

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-templating.Next_with_arrow' does not exist in en_US

[16/Oct/2003:16:11:37]
    Error: lang::message::lookup: Key 'acs-kernel.common_finish' does not exist in en_US