Cheetah compile errors in deviceManagementTemplate.tmpl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johnsen, ?ge Olai wrote:
Cheetah 0.9.16a1 [...] Cheetah.Parser.ParseError:
#end if found, expected #end def at line 362, column 1 in file deviceManagementTemplate.tmpl
Good catch! Our development server runs Cheetah 0.9.15, which, for some strange reason, silently ignores this syntax error. In other words: It works for us ;-) I'll be checking in a fix for this shortly - just remove line 361 (or comment it out) from deviceManagementTemplate.tmpl and try again. - -- Morten Vold NTNU ITEA Integrasjonsgruppen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7hY6XxIl0kpcOkQRAm+jAJwLlbiYke9DxHPIvkDw9m/Lbe3bVgCfeupT s613eX7nASNvMmy58lfBGWM= =SERo -----END PGP SIGNATURE-----
From Aage.Olai.Johnsen at hitos.no Wed Jan 19 09:25:38 2005 From: Aage.Olai.Johnsen at hitos.no (Johnsen, Åge Olai) Date: Wed Jan 19 09:22:13 2005 Subject: SV: [Nav-users] Cheetah compile errors in deviceManagementTemplate.tmpl Message-ID: <B1272BF7DAE6094E8D302FF90A391808DFBD8C@DIGITALIS.hitos.no>
Smooth :) I've tested that. The syntax aint that complicated, so i've changed some of the source to make it compile. But after the third change/error i gave up. I've also tested compiling the file with cheetah 0.9.15 with python 2.2.2 on a another box, and it runs smoothly there. (silently ignores the errors) Error #2, after editing line 362; Line|Line contents ----|------------------------------------------------------------- 745 |#for $value,$option in $args['orgList'] 746 | <option value="$value">$option</option> 747 |#end if 748 | </select> ^ 749 | </td> 750 | <td><input type="text" name="cn_retailer"></td> 751 | <td><input type="text" name="cn_ordernr"></td> And so on.. -Åge
-----Opprinnelig melding----- Fra: Morten Vold [mailto:morten.vold@ntnu.no] Sendt: 19. januar 2005 09:12 Til: Johnsen, Åge Olai Kopi: nav-users@itea.ntnu.no Emne: Re: [Nav-users] Cheetah compile errors in deviceManagementTemplate.tmpl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Johnsen, Åge Olai wrote:
Cheetah 0.9.16a1 [...] Cheetah.Parser.ParseError:
#end if found, expected #end def at line 362, column 1 in file deviceManagementTemplate.tmpl
Good catch! Our development server runs Cheetah 0.9.15, which, for some strange reason, silently ignores this syntax error. In other words: It works for us ;-)
I'll be checking in a fix for this shortly - just remove line 361 (or comment it out) from deviceManagementTemplate.tmpl and try again.
- -- Morten Vold NTNU ITEA Integrasjonsgruppen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB7hY6XxIl0kpcOkQRAm+jAJwLlbiYke9DxHPIvkDw9m/Lbe3bVgCfeupT s613eX7nASNvMmy58lfBGWM= =SERo -----END PGP SIGNATURE-----
########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/
participants (1)
-
morten.vold@ntnu.no