# vBulletin import fails on import\_topics

**URL:** <https://meta.discourse.org/t/vbulletin-import-fails-on-import-topics/34683>\
**Category:** Migration\
**Tags:** vbulletin\
**Created:** [2015 年 10 月 19 日午後 6:01 UTC](https://meta.discourse.org/t/vbulletin-import-fails-on-import-topics/34683 "2015-10-19T18:01:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2015 年 10 月 19 日午後 6:08 UTC](https://meta.discourse.org/t/vbulletin-import-fails-on-import-topics/34683/2 "2015-10-19T18:08:32Z")

</div>

Looks like the importer needs some love. 😉

Change line 213 in `script/import_scripts/vbulletin.rb` to:

```ruby
next if all_records_exist? :posts, topics.map {|t| "thread-#{t["threadid"]}" }

```

---

_[View the full topic](https://meta.discourse.org/t/vbulletin-import-fails-on-import-topics/34683)._
