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"

Bug #1173 (closed)

Opened 15 years ago

Closed 15 years ago

ITimeline.getEventsByPeriod thrown UnknownException

Reported by: atarkowska Owned by: jamoore
Priority: blocker Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

Debug:

--Call--
> /Users/Ola/J2EP/OMERO/dist/lib/omero_API_ice.py(2530)getEventsByPeriod()
-> def getEventsByPeriod(self, start, end, p, _ctx=None):
(Pdb) 
> /Users/Ola/J2EP/OMERO/dist/lib/omero_API_ice.py(2531)getEventsByPeriod()
-> return _M_omero.api.ITimeline._op_getEventsByPeriod.invoke(self, ((start, end, p), _ctx))
(Pdb) print self
25b4a129-76c2-4775-ac71-955109686801/omero.api.ITimeline -t:tcp -h 10.211.55.4 -p 51756:tcp -h 10.37.129.3 -p 51756:tcp -h 10.11.3.129 -p 51756
(Pdb) print start, end
object #0 (::omero::RTime)
{
    _val = 1233446400000
} object #0 (::omero::RTime)
{
    _val = 1235865599000
}
(Pdb) s
--Call--
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(542)ice_preMarshal()
-> def ice_preMarshal(self):
(Pdb) print self
object #0 (::omero::RTime)
{
    _val = 1235865599000
}
(Pdb) s
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(546)ice_preMarshal()
-> """
(Pdb) s
--Return--
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(546)ice_preMarshal()->None
-> """
(Pdb) print self
object #0 (::omero::RTime)
{
    _val = 1235865599000
}
(Pdb) s
--Call--
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(542)ice_preMarshal()
-> def ice_preMarshal(self):
(Pdb) s
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(546)ice_preMarshal()
-> """
(Pdb) s
--Return--
> /Users/Ola/J2EP/OMERO/dist/lib/omero/rtypes.py(546)ice_preMarshal()->None
-> """
(Pdb) s
--Call--
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ice-python/work/destroot/opt/local/lib/python2.4/site-packages/Ice_LocalException_ice.py(214)__init__()
-> def __init__(self, unknown=''):

Change History (4)

comment:1 Changed 15 years ago by atarkowska

test: r3513

comment:2 Changed 15 years ago by jmoore

That this is throwing an UnknownUserException is weird; I'll have to keep looking into that. The problem, though, is a ClassCastException. Ola, this method is specified to return an EventList but your query returns EventLogs. Which one is correct List<Event> or List<EventLog>?

comment:3 Changed 15 years ago by atarkowska

comment:4 Changed 15 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

r3530 has the fix and r3557 the passing test.

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.65675 sec.)

We're Hiring!