Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9497 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: processor error on requestRunning

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: OMERO-4.4.4
Component: Scripting Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-09-25 (5)

Description

2012-08-17 08:42:04,951 WARNI [              omero.processor.ProcessorI] (Dummy-8   ) callback failed on requestRunning: ProcessorCallback/75bacb45-a15d-4272-9c1b-1568d6b093fc -o @ BlitzAdapters Exception:long() argument must be a string or a number, not 'ProcessI'

found in Processor-0.log after omero import siRNA_PRIM1_03102008/

Change History (4)

comment:1 Changed 12 years ago by jmoore

This is caused by a bad refactoring:

-            rv = [long(x.properties["omero.job"]) for x in servants]
+            rv = []
+            for x in servants:
+                if hasattr(x, "properties"):
+                    rv.append(long(x))

done here:

commit 1f79b2a01b5679257710262eea91c042bbf49165
Author: jmoore <jmoore@05709c45-44f0-0310-885b-81a1db45b4a6>
Date:   Mon May 10 17:02:41 2010

    see #2341 - Adding `IScript.canRunScript` and `getUserScript` now defaults to current group
    
    git-svn-id: file:///home/svn/omero/trunk@6927 05709c45-44f0-0310-885b-81a1db45b4a6

comment:2 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Sprint set to 2012-09-25 (5)
  • Status changed from new to closed

comment:3 Changed 12 years ago by jmoore <josh@…>

  • Remaining Time set to 0

(In [dbb80819c1f341ea0a83a3ac50b5eef27dbe545f/ome.git] on branch develop) Fix 'compile error' in processor.py (Fix #9497)

comment:4 Changed 12 years ago by Josh Moore <josh@…>

(In [c30f752084f72ca657962f00837c4b647cdb5440/ome.git] on branch develop) Merge pull request #361 from joshmoore/9497-proc-bug

Fix 'compile error' in processor.py (Fix #9497)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.74820 sec.)

We're Hiring!