Re: [Koha] Upgrade to koha 3.4 breaks display

2011-06-09 Thread Beda Szukics
Am 08.06.2011 18:38, schrieb Beda Szukics:
 Am 08.06.2011 06:22, schrieb Chris Cormack:
 On 8 June 2011 16:17, Beda Szukics b...@kollegium-sarnen.ch wrote:
 So I did:  perl translate install de-DE.

 Now at some point I allway get (for example: while I try to alter
 system-preferences):

 Software error:

 Template process failed: file error - prefs-admin-search.inc: not found at
 /usr/share/koha/lib/C4/Templates.pm line 119.

 For help, please send mail to the webmaster (b...@kollegium-sarnen.ch),
 giving this error message and the time and date of the error.

 Hmm,

 That should have worked, maybe Katrin can shed some light on it, she
 has had 3.4.x running in german before.
 I suspect that the translate command didnt complete, did it give you
 any errors when you ran it?
 Yes. The actual po-files for german have some errors (mainly wrong
 %-statements). I corrected them locally and will try to add these
 corrections to translate.koha-community.org.

 Now things are ok :-)
Sadly not everything is o.k.

Trying to edit an authority I get:

Template process failed: file error - parse error - 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt
 line 75: unexpected end

in the log-file I find:

detail.pl: Template process failed: file error - parse error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt
line 75: unexpected end of input at /usr/share/koha/lib/C4/Templates.pm
line 119., referer:
http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/authorities/authorities-home.pl?op=do_searchtype=intranetmarclist=mainmainentryoperator=containsvalue=H%C3%BCrbinorderby=HeadingAsc


Trying to go to Start-Katalogisierung I get:

Template process failed: file error - parse error - 
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt
 line 39: unexpected token (END)
  [% END %] at /usr/share/koha/lib/C4/Templates.pm line 119.

and in the logs:

[Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun  9
21:34:44 2011] addbooks.pl: Template process failed: file error - parse
error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt
line 39: unexpected token (END), referer:
http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl
[Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun  9
21:34:44 2011] addbooks.pl:   [% END %] at
/usr/share/koha/lib/C4/Templates.pm line 119., referer:
http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl

I think it's still a translation issue. If I switch the language to en,
both links are working fine.

Any hints?

Beda
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Upgrade to koha 3.4 breaks display

2011-06-08 Thread BWS Johnson
Kia ora!


 Yes. The actual po-files for german have some errors (mainly wrong
 %-statements). I corrected them locally and will try to add these
 corrections to translate.koha-community.org.


Wasn't someone from Argentina on about %s in Spanish? Could this be all of the 
templates somehow?

Cheers,
Brooke
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Upgrade to koha 3.4 breaks display

2011-06-08 Thread Frédéric Demians
  Wasn't someone from Argentina on about %s in Spanish? Could this be 
all of
  the templates somehow?

Yes. We get the same issue in French. It has been fixed for French on
Pootle. I now for sure it has also been fixed for German and Spanish. We
have now a better detection of this situation. It's still the
responsibility of translators to apply their translation to a current
3.4 installation, check the result, and fix any strings containing
inconsistent %s placeholders. For the next release, I will check all
languages and send a warning to translators who have to fix their
translation files.

-- 
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


[Koha] Upgrade to koha 3.4 breaks display

2011-06-07 Thread Beda Szukics
Hi

I have upgraded Koha 3.2.3 to 3.4.1

Unfortunatly the display is broken

The browser image starts with:

 xml:lang= dir= xmlns=http://www.w3.org/1999/xhtml;

and all the graphic elements are missing.

The browser is loading and loading ...

The log has a lot of lines like:


[Tue Jun 07 21:44:33 2011] [error] [client 192.168.1.50] File does not
exist: /usr/share/koha/intranet/htdocs/!-- TMPL_VAR name=, referer:
http://kbverwaltung.kollegium-sarnen.ch/

What went wrong??


Beda
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Upgrade to koha 3.4 breaks display

2011-06-07 Thread Chris Cormack
On 8 June 2011 16:17, Beda Szukics b...@kollegium-sarnen.ch wrote:
 Am 07.06.2011 22:05, schrieb Chris Cormack:

 Sounds to me like its using your not updated templates.
 Were you running an another language, you will need to reinstall the
 translation.

 My koha used to be in german.

 So I did:  perl translate install de-DE.

 Now at some point I allway get (for example: while I try to alter
 system-preferences):

 Software error:

 Template process failed: file error - prefs-admin-search.inc: not found at
 /usr/share/koha/lib/C4/Templates.pm line 119.

 For help, please send mail to the webmaster (b...@kollegium-sarnen.ch),
 giving this error message and the time and date of the error.

Hmm,

That should have worked, maybe Katrin can shed some light on it, she
has had 3.4.x running in german before.
I suspect that the translate command didnt complete, did it give you
any errors when you ran it?

Chris
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Upgrade to koha 3.4 breaks display

2011-06-07 Thread Beda Szukics
Am 08.06.2011 06:22, schrieb Chris Cormack:
 On 8 June 2011 16:17, Beda Szukics b...@kollegium-sarnen.ch wrote:
 Am 07.06.2011 22:05, schrieb Chris Cormack:

 Sounds to me like its using your not updated templates.
 Were you running an another language, you will need to reinstall the
 translation.

 My koha used to be in german.

 So I did:  perl translate install de-DE.

 Now at some point I allway get (for example: while I try to alter
 system-preferences):

 Software error:

 Template process failed: file error - prefs-admin-search.inc: not found at
 /usr/share/koha/lib/C4/Templates.pm line 119.

 For help, please send mail to the webmaster (b...@kollegium-sarnen.ch),
 giving this error message and the time and date of the error.

 Hmm,

 That should have worked, maybe Katrin can shed some light on it, she
 has had 3.4.x running in german before.
 I suspect that the translate command didnt complete, did it give you
 any errors when you ran it?

There are two warnings:

tmpl_process3.pl: Warning: opac-shelves.tt: a1: Anchor 1 not found for
msgid Diese Liste hat keine Einträge. Sie können die Ergebnisse jeder
a1Suche/a
Can't call method string on an undefined value at TmplTokenizer.pm
line 446.

and at the end:

Creating
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/labels/label-edit-layout.tt...
%Än: Unknown or unsupported format specification

but the script continues.

The last message is:

Write web-services.pref

Beda
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha