Seif has not been able to reproduce afaik, so marking as invalid ** Changed in: zeitgeist Status: New => Invalid
-- bug in client.py https://bugs.launchpad.net/bugs/490110 You received this bug notification because you are a member of Zeitgeist-Engine, which is the registrant for Zeitgeist Framework. Status in Zeitgeist Framework: Invalid Bug description: Fiddling with the client.py i found this error i will write down the code first so u might understand where the problem is -------------------------------------------------------------------------------------------------------------------------------------------------- def insert_events(self): self.event_dict.clear() event = Event() event.set_interpretation(Interpretation.VISIT_EVENT.uri) event2 = Event() event2.set_interpretation(Interpretation.MODIFY_EVENT.uri) self.zg.find_event_ids_for_templates([event], self.handle_events1, [self.time*1000, (self.time+86399)*1000], num_events=50000) #HERE I GET 9 items self.zg.find_event_ids_for_templates([event2], self.handle_events2, [self.time*1000, (self.time+86399)*1000], num_events=50000) #HERE I GET 13 items self.zg.find_event_ids_for_templates([event, event2], self.handle_events, [self.time*1000, (self.time+86399)*1000], num_events=50000) #HERE I GET 126 def handle_events1(self, x): print len(x) def handle_events2(self, x): print len(x) def handle_events(self, x=None): print "*************", len(x) ------------------------------------------------------------------------ here the output again: 9 13 ************* 126 ------------------------------------------------------------------------ AFAIK 9+13=22 and not 126! somthing is wrong combining 2 event templates _______________________________________________ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp