<% curpage = 'failed' %> <%@ include file="template/main.psp"%> <%@ include file="template/head.psp"%> <% import socket, xmlrpclib try: args = {} # Don't show finished/failed jobs, just ones packagers # haven't cleared yet. args['status'] = ['failed'] args['result'] = 'failed' args['orderby'] = ['endtime desc'] args['maxrows'] = 100 (e, msg, these_jobs) = server.list_jobs(args) except socket.error, e: msg = str(e) e = -1 except xmlrpclib.Fault, fault: msg = "XMLRPC Fault" e = -1 except Exception, e: msg = str(e) e = -1 if e == -1: if len(config_opts['down_message']) > 0: %>

<%=config_opts['down_message']%>

<% else: %>

The server could not process the request.


Error was:  <%=msg%>

<% else: i = 1 %>
<% i = 1 for job in these_jobs: top = '' if i == 1: top = '-top' col_mod = '' if int(i / 2.0) == (i / 2.0): col_mod = '-alt' source = job['source'] if '/' in source: import os source = os.path.basename(source) # endif target_distro = job['target_distro'] target_target = job['target_target'] target_repo = job['target_repo'] target_str = "%s-%s-%s" % (target_distro, target_target, target_repo) %> <% i = i + 1 # endfor # No jobs... if i == 1: %> <% # endif %>
JOB ID PACKAGE SOURCE STATUS FAILED TARGET SUBMITTER
<%=job['uid']%> <%=job['package']%> <%=source%> <%=job['status']%> <%=relative_date_short(job['endtime'])%> <%=target_str%> <%=despam_user(job['username'])%>
No jobs found.


<% # endtry %> <%@ include file="template/foot.psp"%>