details: http://www.bx.psu.edu/hg/galaxy/rev/182a7947e63a
changeset: 3460:182a7947e63a
user: jeremy goecks <jeremy.goecks(a)emory.edu>
date: Tue Mar 02 11:17:05 2010 -0500
description:
Fix bug that prevents new Galaxy visitors from viewing an accessible/published workflow. Viewing an accessible/published workflow requires a history because rendering parameters require a history, so a history is now created for visitors that do not already have one.
diffstat:
templates/workflow/display.mako | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 8bd2ace6c92d -r 182a7947e63a templates/workflow/display.mako
--- a/templates/workflow/display.mako Tue Mar 02 10:47:23 2010 -0500
+++ b/templates/workflow/display.mako Tue Mar 02 11:17:05 2010 -0500
@@ -85,6 +85,11 @@
</%def>
<%def name="render_item( workflow, steps )">
+ <%
+ # HACK: Rendering workflow steps requires that trans have a history; however, if a user's first visit to Galaxy is here, he won't have a history
+ # and an error will occur. To prevent this error, make sure user has a history.
+ trans.get_history( create=True )
+ %>
<table class="annotated-item">
<tr><th>Step</th><th class="annotation">Description/Notes</th></tr>
%for i, step in enumerate( steps ):
details: http://www.bx.psu.edu/hg/galaxy/rev/c48de7f12e58
changeset: 3455:c48de7f12e58
user: Kanwei Li <kanwei(a)gmail.com>
date: Mon Mar 01 17:47:28 2010 -0500
description:
Fix uploads not working
diffstat:
lib/galaxy/jobs/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 29bb8ebb3a59 -r c48de7f12e58 lib/galaxy/jobs/__init__.py
--- a/lib/galaxy/jobs/__init__.py Mon Mar 01 16:07:54 2010 -0500
+++ b/lib/galaxy/jobs/__init__.py Mon Mar 01 17:47:28 2010 -0500
@@ -155,7 +155,7 @@
run and dispatching if so.
"""
# HACK: Delay until after forking, we need a way to do post fork notification!!!
- time.sleep( 1000 )
+ time.sleep( 10 )
while self.running:
try:
self.__monitor_step()