Bug #1173 (closed)
Opened 11 years ago
Closed 10 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 11 years ago by atarkowska
comment:2 Changed 11 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 11 years ago by atarkowska
comment:4 Changed 10 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
test: r3513