# Migration error with question2answer.rb

**URL:** https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601
**Category:** Migration
**Created:** [March 4, 2019, 8:26am UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601 "2019-03-04T08:26:58Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 6, 2019, 1:10pm UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/21 "2019-03-06T13:10:12Z")

</div>

I didn’t clean up the code good enough ☹  
You need to remove the word NOT on line 95. I have updated the gist.

---

<div class="post-metadata">

### Author: ![Ankhamax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankhamax/32/52785_2.png) [@Ankhamax](https://meta.discourse.org/u/Ankhamax)
#### Post date: [March 6, 2019, 3:05pm UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/22 "2019-03-06T15:05:49Z")

</div>

I updated the script and removed word NOT on line 95 as you instructed but I still received the same error as above.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 6, 2019, 4:19pm UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/23 "2019-03-06T16:19:54Z")

</div>

I have tested the cleaned up script but I’m not getting any errors. Since there is no use in submitting a non-working script back to the Discourse repo, we’re willing to spend one hour to take a look at this issue at no cost, so we can determine if the issue is with the script or with your database, and modify the script accordingly. In order to spend that time as good as possible we would like to test this on our infrastructure so we would need a copy of the database. If you’re ok with that, send me a PM and we’ll arrange that.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 17, 2022, 6:58am UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/24 "2022-04-17T06:58:16Z")

</div>



---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [April 17, 2022, 8:53am UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/25 "2022-04-17T08:53:48Z")

</div>



[Previous page](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601.md?page=1)
