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 "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2011/08/08 19:24:27 UTC

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

    [ https://issues.apache.org/jira/browse/JAMES-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081070#comment-13081070 ] 

Stefano Bagnara commented on JAMES-1260:
----------------------------------------

I just updated site.vm because downloadTracking was broken (it used the old urchin script way to do that and somehow now we moved to the async tracking code).
I also reverted item(X) to [ X ] (using spaces) because my chrome was throwing syntax errors on the item() call for simple arrays (not on the dom elements resultsets).



> 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