Hi,

Is there a way to retrieve all the attributes of a BH resource? For example, I 
am working on storing tickets in the Solr index, and I need to create a 
dictionary mapping each ticket field type to its value. However, when fetching 
tickets from the database, they are returned as tuples. I tried to get the 
attributes by using the get_ticket_fields method in the trac.ticket.api module, 
but I get the error: "RuntimeError: maximum recursion depth exceeded while 
calling a Python object”. Apparently, the program fails at the step where it 
deepcopies the fields (fields = copy.deepcopy(ts.fields)). Has anyone 
encountered this error before?

Thanks,
Antonia

Reply via email to