{"action":"closed","issue":{"url":"https://api.github.com/repos/eyeonus/Trade-Dangerous/issues/12","repository_url":"https://api.github.com/repos/eyeonus/Trade-Dangerous","labels_url":"https://api.github.com/repos/eyeonus/Trade-Dangerous/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/eyeonus/Trade-Dangerous/issues/12/comments","events_url":"https://api.github.com/repos/eyeonus/Trade-Dangerous/issues/12/events","html_url":"https://github.com/eyeonus/Trade-Dangerous/issues/12","id":335611413,"node_id":"MDU6SXNzdWUzMzU2MTE0MTM=","number":12,"title":"UnboundLocalError: local variable 'from_live' referenced before assignment","user":{"login":"aadler","id":5596401,"node_id":"MDQ6VXNlcjU1OTY0MDE=","avatar_url":"https://avatars2.githubusercontent.com/u/5596401?v=4","gravatar_id":"","url":"https://api.github.com/users/aadler","html_url":"https://github.com/aadler","followers_url":"https://api.github.com/users/aadler/followers","following_url":"https://api.github.com/users/aadler/following{/other_user}","gists_url":"https://api.github.com/users/aadler/gists{/gist_id}","starred_url":"https://api.github.com/users/aadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aadler/subscriptions","organizations_url":"https://api.github.com/users/aadler/orgs","repos_url":"https://api.github.com/users/aadler/repos","events_url":"https://api.github.com/users/aadler/events{/privacy}","received_events_url":"https://api.github.com/users/aadler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T00:09:21Z","updated_at":"2018-06-26T00:15:43Z","closed_at":"2018-06-26T00:15:43Z","author_association":"CONTRIBUTOR","body":"I downloaded a fresh copy of TD and was running a clean install when I got the following error:\r\n\r\n```\r\nF:\\>cd elite/td\r\n\r\nF:\\Elite\\TD>trade import -P eddblink -O clean\r\nNOTE: Rebuilding cache file: this may take a few moments.\r\nNOTE: Missing \"F:\\Elite\\TD\\data\\TradeDangerous.prices\" file - no price data.\r\nNOTE: Downloading file 'modules.json'.\r\nNOTE: Requesting http://elite.ripz.org/files/modules.json\r\nNOTE: Downloaded 292.3KB of gziped data 510.5KB/s\r\nNOTE: Processing Upgrades: Start time = 2018-06-25 19:56:17.902780\r\nNOTE: Finished processing Upgrades. End time = 2018-06-25 19:56:17.913750\r\nNOTE: Downloading file 'index.json'.\r\nNOTE: Requesting https://raw.githubusercontent.com/EDCD/coriolis-data/master/dist/index.json\r\nNOTE: Downloaded   0.7MB of gziped data  10.9MB/s\r\nNOTE: Processing Ships: Start time = 2018-06-25 19:56:18.237884\r\nNOTE: Finished processing Ships. End time = 2018-06-25 19:56:18.244865\r\nNOTE: Downloading file 'systems_populated.jsonl'.\r\nNOTE: Requesting http://elite.ripz.org/files/systems_populated.jsonl\r\nNOTE: Downloaded  20.5MB of gziped data   1.1MB/s\r\nNOTE: Processing Systems: Start time = 2018-06-25 19:56:37.701863\r\nNOTE: Finished processing Systems. End time = 2018-06-25 19:56:38.979448\r\nNOTE: Downloading file 'stations.jsonl'.\r\nNOTE: Requesting http://elite.ripz.org/files/stations.jsonl\r\nNOTE: Downloaded 113.5MB of gziped data   3.2MB/s\r\nNOTE: Processing Stations, this may take a bit: Start time = 2018-06-25 19:57:15.028101\r\nNOTE: Simultaneously processing ShipVendors.\r\nNOTE: Simultaneously processing UpgradeVendors, this will take quite a while.\r\nNOTE: Finished processing Stations. End time = 2018-06-25 20:01:56.025085\r\nNOTE: Downloading file 'commodities.json'.\r\nNOTE: Requesting http://elite.ripz.org/files/commodities.json\r\nNOTE: Downloaded  99.3KB of gziped data 213.7KB/s\r\nNOTE: Processing Categories and Items: Start time = 2018-06-25 20:01:57.189972\r\nNOTE: Finished processing Categories and Items. End time = 2018-06-25 20:01:57.194958\r\nNOTE: F:\\Elite\\TD\\data\\Category.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\Item.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\Ship.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\ShipVendor.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\Station.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\System.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\Upgrade.csv exported.\r\nNOTE: F:\\Elite\\TD\\data\\UpgradeVendor.csv exported.\r\nNOTE: Downloading file 'listings.csv'.\r\nNOTE: Requesting http://elite.ripz.org/files/listings.csv\r\nNOTE: Downloaded 149.2MB of gziped data   4.0MB/s\r\nNOTE: Processing market data from listings.csv: Start time = 2018-06-25 20:04:05.625704\r\nTraceback (most recent call last):\r\n  File \"F:\\Elite\\TD\\trade.py\", line 104, in <module>\r\n    main(sys.argv)\r\n  File \"F:\\Elite\\TD\\trade.py\", line 77, in main\r\n    results = cmdenv.run(tdb)\r\n  File \"F:\\Elite\\TD\\commands\\commandenv.py\", line 81, in run\r\n    return self._cmd.run(results, self, tdb)\r\n  File \"F:\\Elite\\TD\\commands\\import_cmd.py\", line 124, in run\r\n    if not plugin.run():\r\n  File \"F:\\Elite\\TD\\plugins\\eddblink_plug.py\", line 814, in run\r\n    self.importListings(self.listingsPath)\r\n  File \"F:\\Elite\\TD\\plugins\\eddblink_plug.py\", line 649, in importListings\r\n    supply_price, supply_units, supply_level, from_live))\r\nUnboundLocalError: local variable 'from_live' referenced before assignment\r\n```"}}
{"actor":{"display_login":"eyeonus"}}