{"action":"created","issue":{"url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/40","labels_url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/40/comments","events_url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/40/events","html_url":"https://github.com/caciviclab/disclosure-backend/issues/40","id":109204397,"number":40,"title":"downloadzipcodedata fails","user":{"login":"rkiddy","id":691368,"avatar_url":"https://avatars.githubusercontent.com/u/691368?v=3","gravatar_id":"","url":"https://api.github.com/users/rkiddy","html_url":"https://github.com/rkiddy","followers_url":"https://api.github.com/users/rkiddy/followers","following_url":"https://api.github.com/users/rkiddy/following{/other_user}","gists_url":"https://api.github.com/users/rkiddy/gists{/gist_id}","starred_url":"https://api.github.com/users/rkiddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkiddy/subscriptions","organizations_url":"https://api.github.com/users/rkiddy/orgs","repos_url":"https://api.github.com/users/rkiddy/repos","events_url":"https://api.github.com/users/rkiddy/events{/privacy}","received_events_url":"https://api.github.com/users/rkiddy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T00:06:24Z","updated_at":"2015-10-02T22:17:41Z","closed_at":"2015-10-01T02:41:46Z","body":"I will see if I can see what is wrong, but I thought I was following the directions. I did a 'git pull' and then this:\r\n\r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ mysql \r\n     Welcome to the MySQL monitor.  Commands end with ; or \\g.\r\n     Your MySQL connection id is 86\r\n     Server version: 5.6.19-0ubuntu0.14.04.1 (Ubuntu)\r\n     \r\n     Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.\r\n     \r\n     Oracle is a registered trademark of Oracle Corporation and/or its\r\n     affiliates. Other names may be trademarks of their respective\r\n     owners.\r\n     \r\n     Type 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n     \r\n     mysql> \r\n     mysql> \r\n     mysql> drop database calaccess_raw;\r\n     Query OK, 109 rows affected (5.26 sec)\r\n     \r\n     mysql> create database calaccess_raw;\r\n     Query OK, 1 row affected (0.00 sec)\r\n     \r\n     mysql> quit\r\n     Bye\r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ \r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ python disclosure-backend/manage.py migrate\r\n     Operations to perform:\r\n       Synchronize unmigrated apps: staticfiles, calaccess_raw, netfile, messages, zipcode_metro\r\n       Apply all migrations: admin, contenttypes, auth, sessions\r\n     Synchronizing apps without migrations:\r\n       Creating tables...\r\n         Creating table CVR_SO_CD\r\n         Creating table CVR2_SO_CD\r\n         Creating table CVR_CAMPAIGN_DISCLOSURE_CD\r\n         Creating table CVR2_CAMPAIGN_DISCLOSURE_CD\r\n         Creating table RCPT_CD\r\n         Creating table CVR3_VERIFICATION_INFO_CD\r\n         Creating table LOAN_CD\r\n         Creating table S401_CD\r\n         Creating table EXPN_CD\r\n         Creating table F495P2_CD\r\n         Creating table DEBT_CD\r\n         Creating table S496_CD\r\n         Creating table SPLT_CD\r\n         Creating table S497_CD\r\n         Creating table F501_502_CD\r\n         Creating table S498_CD\r\n         Creating table CVR_REGISTRATION_CD\r\n         Creating table CVR2_REGISTRATION_CD\r\n         Creating table CVR_LOBBY_DISCLOSURE_CD\r\n         Creating table CVR2_LOBBY_DISCLOSURE_CD\r\n         Creating table LOBBY_AMENDMENTS_CD\r\n         Creating table F690P2_CD\r\n         Creating table LATT_CD\r\n         Creating table LEXP_CD\r\n         Creating table LCCM_CD\r\n         Creating table LOTH_CD\r\n         Creating table LEMP_CD\r\n         Creating table LPAY_CD\r\n         Creating table FILERNAME_CD\r\n         Creating table FILER_FILINGS_CD\r\n         Creating table FILINGS_CD\r\n         Creating table SMRY_CD\r\n         Creating table CVR_E530_CD\r\n         Creating table TEXT_MEMO_CD\r\n         Creating table ACRONYMS_CD\r\n         Creating table ADDRESS_CD\r\n         Creating table BALLOT_MEASURES_CD\r\n         Creating table EFS_FILING_LOG_CD\r\n         Creating table FILERS_CD\r\n         Creating table FILER_ACRONYMS_CD\r\n         Creating table FILER_ADDRESS_CD\r\n         Creating table FILER_ETHICS_CLASS_CD\r\n         Creating table FILER_INTERESTS_CD\r\n         Creating table FILER_LINKS_CD\r\n         Creating table FILER_STATUS_TYPES_CD\r\n         Creating table FILER_TO_FILER_TYPE_CD\r\n         Creating table FILER_TYPES_CD\r\n         Creating table FILER_XREF_CD\r\n         Creating table FILING_PERIOD_CD\r\n         Creating table GROUP_TYPES_CD\r\n         Creating table HEADER_CD\r\n         Creating table HDR_CD\r\n         Creating table IMAGE_LINKS_CD\r\n         Creating table LEGISLATIVE_SESSIONS_CD\r\n         Creating table LOBBYING_CHG_LOG_CD\r\n         Creating table LOBBYIST_CONTRIBUTIONS1_CD\r\n         Creating table LOBBYIST_CONTRIBUTIONS2_CD\r\n         Creating table LOBBYIST_CONTRIBUTIONS3_CD\r\n         Creating table LOBBYIST_EMPLOYER1_CD\r\n         Creating table LOBBYIST_EMPLOYER2_CD\r\n         Creating table LOBBYIST_EMPLOYER3_CD\r\n         Creating table LOBBYIST_EMPLOYER_FIRMS1_CD\r\n         Creating table LOBBYIST_EMPLOYER_FIRMS2_CD\r\n         Creating table LOBBYIST_EMP_LOBBYIST1_CD\r\n         Creating table LOBBYIST_EMP_LOBBYIST2_CD\r\n         Creating table LOBBYIST_FIRM1_CD\r\n         Creating table LOBBYIST_FIRM2_CD\r\n         Creating table LOBBYIST_FIRM3_CD\r\n         Creating table LOBBYIST_FIRM_EMPLOYER1_CD\r\n         Creating table LOBBYIST_FIRM_EMPLOYER2_CD\r\n         Creating table LOBBYIST_FIRM_LOBBYIST1_CD\r\n         Creating table LOBBYIST_FIRM_LOBBYIST2_CD\r\n         Creating table LOOKUP_CODES_CD\r\n         Creating table NAMES_CD\r\n         Creating table RECEIVED_FILINGS_CD\r\n         Creating table REPORTS_CD\r\n         Creating table netfile_agency\r\n         Creating table netfile_cal201_transaction\r\n         Creating table ZIPCODE_METRO\r\n         Running deferred SQL...\r\n       Installing custom SQL...\r\n     Running migrations:\r\n       Rendering model states... DONE\r\n       Applying contenttypes.0001_initial... OK\r\n       Applying auth.0001_initial... OK\r\n       Applying admin.0001_initial... OK\r\n       Applying contenttypes.0002_remove_content_type_name... OK\r\n       Applying auth.0002_alter_permission_name_max_length... OK\r\n       Applying auth.0003_alter_user_email_max_length... OK\r\n       Applying auth.0004_alter_user_username_opts... OK\r\n       Applying auth.0005_alter_user_last_login_null... OK\r\n       Applying auth.0006_require_contenttypes_0002... OK\r\n       Applying sessions.0001_initial... OK\r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$  \r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ python disclosure-backend/manage.py downloadcalaccessrawdata --use-test-data\r\n     Using test data\r\n     Cleaning data files\r\n     [################################] 80/80 - 00:00:02\r\n     Loading data files\r\n     [################################] 76/76 - 00:00:46\r\n     Done!\r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ \r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ python disclosure-backend/manage.py downloadzipcodedata\r\n     Downloading/unzipping raw data files\r\n     ok.\r\n     Loading CSV files\r\n     Traceback (most recent call last):\r\n       File \"disclosure-backend/manage.py\", line 9, in <module>\r\n         execute_from_command_line(sys.argv)\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 338, in execute_from_command_line\r\n         utility.execute()\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/core/management/__init__.py\", line 330, in execute\r\n         self.fetch_command(subcommand).run_from_argv(self.argv)\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/core/management/base.py\", line 393, in run_from_argv\r\n         self.execute(*args, **cmd_options)\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/core/management/base.py\", line 444, in execute\r\n         output = self.handle(*args, **options)\r\n       File \"zipcode_metro/management/commands/downloadzipcodedata.py\", line 49, in handle\r\n         self.load()\r\n       File \"zipcode_metro/management/commands/downloadzipcodedata.py\", line 73, in load\r\n         super(Command, self).load('zipcode_metro.ZipCodeMetro')\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/src/django-calaccess-raw-data/calaccess_raw/management/commands/loadcalaccessrawfile.py\", line 33, in load\r\n         model = get_model(\"calaccess_raw\", model_name)\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/apps/registry.py\", line 202, in get_model\r\n         return self.get_app_config(app_label).get_model(model_name.lower())\r\n       File \"/home/ray/Projects/OpenCA/disclosure-backend/env/local/lib/python2.7/site-packages/django/apps/config.py\", line 162, in get_model\r\n         \"App '%s' doesn't have a '%s' model.\" % (self.label, model_name))\r\n     LookupError: App 'calaccess_raw' doesn't have a 'zipcode_metro.zipcodemetro' model.\r\n     (env)ray@ubu01:~/Projects/OpenCA/disclosure-backend$ \r\n     "},"comment":{"url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/comments/145168861","html_url":"https://github.com/caciviclab/disclosure-backend/issues/40#issuecomment-145168861","issue_url":"https://api.github.com/repos/caciviclab/disclosure-backend/issues/40","id":145168861,"user":{"login":"rkiddy","id":691368,"avatar_url":"https://avatars.githubusercontent.com/u/691368?v=3","gravatar_id":"","url":"https://api.github.com/users/rkiddy","html_url":"https://github.com/rkiddy","followers_url":"https://api.github.com/users/rkiddy/followers","following_url":"https://api.github.com/users/rkiddy/following{/other_user}","gists_url":"https://api.github.com/users/rkiddy/gists{/gist_id}","starred_url":"https://api.github.com/users/rkiddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkiddy/subscriptions","organizations_url":"https://api.github.com/users/rkiddy/orgs","repos_url":"https://api.github.com/users/rkiddy/repos","events_url":"https://api.github.com/users/rkiddy/events{/privacy}","received_events_url":"https://api.github.com/users/rkiddy/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T22:17:41Z","updated_at":"2015-10-02T22:17:41Z","body":"@adborden, I cannot tell if you are being facetious or not. :-) I will try to keep up with you all. It is working if I pull bug/30. Thanx.\r\n"}}