SMF2 importer crashes with 'stack level too deep' error

I’m trying to run this smf2 import script to import a very large SMF2 forum, 48 hours in it finished importing all 611,071 users, starts importing posts, then crashes with this:

creating posts
\/usr/local/lib/ruby/2.0.0/set.rb:86: stack level too deep (SystemStackError)

If it’s relevant we are looking at 3,258,301 Posts in 455,361 Topics total.

I don’t really see what could be causing this at a quick glance of the code, but then I’ve never programmed ruby before either, can anyone provide some hints or help?

Thanks much.

Did you resolve your issue? I’ll be attempting the very same task shortly.

Unfortunately no, I determined anything built on the official discourse convertor could not handle a forum of this size, and that a custom solution would need written instead, but have never gotten around to doing it. Let me know if you have different results.

From other posts it does seem to work on smaller forums though.

1 Like

I have same problem here, but only few thousands posts.