We’ve attempted to use the importer to bring our Disqus comments across and the --dry-run option passed without a hitch.
Repeating the process for real though hasn’t gone smoothly. Lots of element validity errors as 20-30 of our threads were re-created (successful), before it failed with the below. Is this something to nudge @eviltrout on, or does someone else own the importer now?
/var/www/discourse/app/models/topic_embed.rb:83:in `block in find_remote': undefined method `empty?' for nil:NilClass (NoMethodError)
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.6.4.1/lib/nokogiri/xml/node_set.rb:237:in `block in each'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.6.4.1/lib/nokogiri/xml/node_set.rb:236:in `upto'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/nokogiri-1.6.4.1/lib/nokogiri/xml/node_set.rb:236:in `each'
from /var/www/discourse/app/models/topic_embed.rb:80:in `find_remote'
from /var/www/discourse/app/models/topic_embed.rb:102:in `import_remote'
from /var/www/discourse/lib/tasks/disqus.thor:148:in `block in import'
from /var/www/discourse/lib/tasks/disqus.thor:143:in `each'
from /var/www/discourse/lib/tasks/disqus.thor:143:in `import'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/runner.rb:36:in `method_missing'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:29:in `run'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:126:in `run'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/thor-0.19.1/bin/thor:6:in `<top (required)>'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/bin/thor:23:in `load'
from /var/www/discourse/vendor/bundle/ruby/2.0.0/bin/thor:23:in `<main>'