# Trouble creating category in import script

**URL:** https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000
**Category:** Development
**Created:** [June 5, 2017, 11:44pm UTC](https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000 "2017-06-05T23:44:14Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [September 28, 2017, 2:25am UTC](https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000/3 "2017-09-28T02:25:07Z")

</div>

Taking a hint from iamphi’s problem of no system user

> [@No 'system' user. Is this bad?](https://meta.discourse.org/t/no-system-user-is-this-bad/70910):
>
> I am having trouble with importing like this case ([Trouble creating category in import script](https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000)) I noticed that the user table does not have a record for a ‘system’ user with id -1. Does this user need to exist in the db? I had dropped the database and did a ‘rake db:migrate’. ‘git log’ tells me that I am using (right? I am new to git): commit 25683124752a504007d5bf1673ac9dcb615c7041 Author: Guo Xiang Tan \<tgx\_world@hotmail.com\> Date: Wed Sep 27 11:55:06 2017 +0800 FIX: Use exact patht t…

it’s as though there was a change in code that allowed “signed” numeric types (both positive and negative) to code that defaults to unsigned numeric types (positive only)

I did a quick look at some changelogs and didn’t see anything confirming my suspicion, but I think it would be worth looking into a bit to see if it might have to do with the Ruby version upgrade.

---

_[View the full topic](https://meta.discourse.org/t/trouble-creating-category-in-import-script/64000)._
