{"action":"opened","issue":{"url":"https://api.github.com/repos/BenjV/autosub-bootstrapbill/issues/13","repository_url":"https://api.github.com/repos/BenjV/autosub-bootstrapbill","labels_url":"https://api.github.com/repos/BenjV/autosub-bootstrapbill/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/BenjV/autosub-bootstrapbill/issues/13/comments","events_url":"https://api.github.com/repos/BenjV/autosub-bootstrapbill/issues/13/events","html_url":"https://github.com/BenjV/autosub-bootstrapbill/issues/13","id":159386879,"number":13,"title":"Config upgrade","user":{"login":"Citriik","id":19777748,"avatar_url":"https://avatars.githubusercontent.com/u/19777748?v=3","gravatar_id":"","url":"https://api.github.com/users/Citriik","html_url":"https://github.com/Citriik","followers_url":"https://api.github.com/users/Citriik/followers","following_url":"https://api.github.com/users/Citriik/following{/other_user}","gists_url":"https://api.github.com/users/Citriik/gists{/gist_id}","starred_url":"https://api.github.com/users/Citriik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Citriik/subscriptions","organizations_url":"https://api.github.com/users/Citriik/orgs","repos_url":"https://api.github.com/users/Citriik/repos","events_url":"https://api.github.com/users/Citriik/events{/privacy}","received_events_url":"https://api.github.com/users/Citriik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-09T11:35:11Z","updated_at":"2016-06-09T11:35:11Z","closed_at":null,"body":"Hi,\r\nWhen I want to start AutoSub for the first time, I got this in my terminal on Ubuntu :+1: \r\n\r\n> AutoSub: Initializing variables and loading config\r\n***************************************************************************\r\nConfig ERROR: Not a valid configuration file! Using default values instead!\r\n***************************************************************************\r\nConfig: Upgrading config version from 1 to 4\r\nConfig: More than 1 upgrade required. Starting subupgrades\r\nConfig: Upgrading config version from 1 to 2\r\nConfig: Upgrading minmatchscores\r\nTraceback (most recent call last):\r\n  File \"AutoSub.py\", line 133, in <module>\r\n    sys.exit(main())\r\n  File \"AutoSub.py\", line 95, in main\r\n    autosub.Initialize()\r\n  File \"/home/citriik/AutoSub/autosub/__init__.py\", line 187, in Initialize\r\n    Config.ReadConfig(CONFIGFILE)\r\n  File \"/home/citriik/AutoSub/autosub/Config.py\", line 47, in ReadConfig\r\n    upgradeConfig(cfg, autosub.CONFIGVERSION, version.configversion)\r\n  File \"/home/citriik/AutoSub/autosub/Config.py\", line 1052, in upgradeConfig\r\n    upgradeConfig(cfg, from_version + x, from_version + x + 1)\r\n  File \"/home/citriik/AutoSub/autosub/Config.py\", line 1056, in upgradeConfig\r\n    print \"Config: Old value's Minmatchscore: %d\" %(autosub.MINMATCHSCORE)\r\nTypeError: %d format: a number is required, not NoneType\r\n\r\nI think it's because I don't have any config file and there is no defaults values set before calling \"upgradeConfig\" in Config.py."}}
{"actor":{"display_login":"Citriik"}}