[Trac] Re: Ticket print?
On Mon, Jun 8, 2009 at 1:31 PM, Dan Winslowdwins...@aiminstitute.org wrote: I did this and my trac process went crazy, endlessly dumping lines to log. for t in ticket: self.env.log.info(t) Wow ! What d'u wnat to do ? -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: ¡ Bienvenido OpenSolaris 2009.06 ! - http://feedproxy.google.com/~r/simelo-es/~3/UY8IF3M3Alw/bienvenido-opensolaris-200906.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Ticket print?
Well...I thought it might print out the contents of Ticket. -Original Message- From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Olemis Lang Sent: Monday, June 08, 2009 1:36 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? On Mon, Jun 8, 2009 at 1:31 PM, Dan Winslowdwins...@aiminstitute.org wrote: I did this and my trac process went crazy, endlessly dumping lines to log. for t in ticket: self.env.log.info(t) Wow ! What d'u wnat to do ? -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: ¡ Bienvenido OpenSolaris 2009.06 ! - http://feedproxy.google.com/~r/simelo-es/~3/UY8IF3M3Alw/bienvenido-opensolaris-200906.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Ticket print?
It was in a validate_ticket callback in the ticketvalidator plugin. def validate_ticket(self, req, ticket): Make sure required fields for the next state have been the ticket will be in have been entered. state = self._get_state(req, ticket) for t in ticket: self.env.log.info(t) From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Noah Kantrowitz Sent: Monday, June 08, 2009 2:47 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? You would have to be far more specific. Where is this? --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Dan Winslow Sent: Monday, June 08, 2009 11:32 AM To: trac-users@googlegroups.com Subject: [Trac] Ticket print? I did this and my trac process went crazy, endlessly dumping lines to log. for t in ticket: self.env.log.info(t) Dan Winslow Director of Information Technology, AIM INSTITUTE 1905 Harney Street, Suite 700 Omaha, NE 68102 402-345-5025 x156 dwins...@aiminstitute.org www.aiminstitute.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Ticket print?
ticket should be a ticket object, not sure that even supports iteration or what it would mean to do so. --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Dan Winslow Sent: Monday, June 08, 2009 12:51 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? It was in a validate_ticket callback in the ticketvalidator plugin. def validate_ticket(self, req, ticket): Make sure required fields for the next state have been the ticket will be in have been entered. state = self._get_state(req, ticket) for t in ticket: self.env.log.info(t) _ From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Noah Kantrowitz Sent: Monday, June 08, 2009 2:47 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? You would have to be far more specific. Where is this? --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Dan Winslow Sent: Monday, June 08, 2009 11:32 AM To: trac-users@googlegroups.com Subject: [Trac] Ticket print? I did this and my trac process went crazy, endlessly dumping lines to log. for t in ticket: self.env.log.info(t) Dan Winslow Director of Information Technology, AIM INSTITUTE 1905 Harney Street, Suite 700 Omaha, NE 68102 402-345-5025 x156 dwins...@aiminstitute.org www.aiminstitute.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Ticket print?
Apparantly it means LOTS of iteration... If I had to guess I'd say that it wound up trying to iterate over the entire index range of the item...say from 0 to maxint or something like that. From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Noah Kantrowitz Sent: Monday, June 08, 2009 3:01 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? ticket should be a ticket object, not sure that even supports iteration or what it would mean to do so. --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Dan Winslow Sent: Monday, June 08, 2009 12:51 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? It was in a validate_ticket callback in the ticketvalidator plugin. def validate_ticket(self, req, ticket): Make sure required fields for the next state have been the ticket will be in have been entered. state = self._get_state(req, ticket) for t in ticket: self.env.log.info(t) From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Noah Kantrowitz Sent: Monday, June 08, 2009 2:47 PM To: trac-users@googlegroups.com Subject: [Trac] Re: Ticket print? You would have to be far more specific. Where is this? --Noah From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On Behalf Of Dan Winslow Sent: Monday, June 08, 2009 11:32 AM To: trac-users@googlegroups.com Subject: [Trac] Ticket print? I did this and my trac process went crazy, endlessly dumping lines to log. for t in ticket: self.env.log.info(t) Dan Winslow Director of Information Technology, AIM INSTITUTE 1905 Harney Street, Suite 700 Omaha, NE 68102 402-345-5025 x156 dwins...@aiminstitute.org www.aiminstitute.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---