From: Anders Bengtsson Date: 2004-07-06T17:50:53+09:00 Subject: Re: [Q] YAML Error: stack level too deep --- "E.-R. Bruecklmeier" wrote: > Hi Rubyists, > > is there a solution for the: > > `quick_emit': stack level too deep (SystemStackError) > > Error? You're probably writing a very deep object graph, which uses up all the stack. One solution could be to write custom YAML emitters for some of your classes, that writes the data in a more "flat" form (writing a tree of objects as a list, etc.) Look in the YAML source for how Ruby's built-in types are written to YAML. /Anders ===== __________________________________________________ Anders Bengtsson ndrsbngtssn@yahoo.se Stockholm, Sweden H�strusk och gr� moln - k�p en resa till solen p� Yahoo! Resor p� adressen http://se.docs.yahoo.com/travel/index.html