james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1260) Download from mirrors is broken
Date Wed, 01 Jun 2011 15:52:47 GMT
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

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 <infrastructure@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

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.
(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,

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

View raw message