You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Felix Knecht (JIRA)" <se...@james.apache.org> on 2011/06/29 19:15:28 UTC

[jira] [Resolved] (JAMES-1260) Download from mirrors is broken

     [ https://issues.apache.org/jira/browse/JAMES-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Knecht resolved JAMES-1260.
---------------------------------

       Resolution: Fixed
    Fix Version/s: Trunk
         Assignee: Felix Knecht

Fix workaround and [4]. Access array values via x.item(nr) function instead of using square brackets x[nr].

> Download from mirrors is broken
> -------------------------------
>
>                 Key: JAMES-1260
>                 URL: https://issues.apache.org/jira/browse/JAMES-1260
>             Project: JAMES Server
>          Issue Type: Bug
>            Reporter: Eric Charles
>            Assignee: Felix Knecht
>             Fix For: Trunk
>
>
> Further to last project website deploy, error [1] arised.
> It seems that [2] was forseen to avoid the problem, but block [3] rises [2].
> For now, line [4] has been removed.
> [1] ------------------------
> Problem running mirror.cgi, contact <in...@apache.org> if it persists.
> Traceback (most recent call last):
>   File "/www/www.apache.org/dyn/mirrors/mirrors.cgi", line 124, in mirrorwrap
>     return mirrorsapp(environ, start_response)
>   File "/www/www.apache.org/dyn/mirrors/mirrors.cgi", line 200, in mirrorsapp
>     template.generate(output, data)
>   File "/x1/www/www.apache.org/content/dyn/mirrors/ezt.py", line 320, in generate
>     self._execute(self.program, fp, ctx)
>   File "/x1/www/www.apache.org/content/dyn/mirrors/ezt.py", line 480, in _execute
>     method(method_args, fp, ctx, filename, line_number)
>   File "/x1/www/www.apache.org/content/dyn/mirrors/ezt.py", line 483, in _cmd_print
>     value = _get_value(valref, ctx, filename, line_number)
>   File "/x1/www/www.apache.org/content/dyn/mirrors/ezt.py", line 665, in _get_value
>     raise UnknownReference(refname, filename, line_number)
> UnknownReference: 0 in file /x1/www/james.apache.org/download.html at line 35
> [2]------------------
> The mirror choosing script replaces any simple word in square bracket and was breaking the new javascript.
> Added a "0+" in front of each index in square bracket.
> https://svn.apache.org/viewvc/james/project/trunk/maven-skin/src/main/resources/META-INF/maven/site.vm?revision=532445&view=markup
> 	
> [3]------------
> (function() {
>  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
>  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
> -----> Issue arises here [4]: var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
> })();
>       

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org