Skip to content

Instantly share code, notes, and snippets.

@daosborne
Created November 18, 2017 22:51
Show Gist options
  • Save daosborne/e65d6fb2b3601796af3bbb324d29bbe3 to your computer and use it in GitHub Desktop.
Save daosborne/e65d6fb2b3601796af3bbb324d29bbe3 to your computer and use it in GitHub Desktop.
disco_data package load
(ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py packages -o load_package -s ~/master.zip -db true
operation: load_package
package: arches
unzipping /home/vagrant/Projects/my_project/temp_bee83adb-b54f-498e-8dc7-e66c9ff3e3af/source_data.zip to: /home/vagrant/Projects/my_project/temp_bee83adb-b54f-498e-8dc7-e66c9ff3e3af
pg_terminate_backend
----------------------
(0 rows)
DROP DATABASE
CREATE DATABASE
Operations to perform:
Apply all migrations: sessions, admin, guardian, auth, models, contenttypes
Running migrations:
Rendering model states... DONE
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying guardian.0001_initial... OK
Applying models.0001_initial... OK
Applying models.0002_40b4... OK
Applying models.0003_40b4...deleting index : resource
operation: import_graphs
package: arches
column "isrequired" of relation "nodes" does not exist
LINE 1: ...'::uuid, "config" = NULL, "issearchable" = false, "isrequire...
^
operation: import_business_data
package: arches
Resources for Import: 1, Resources Saved: 0, Tiles for Import: 0, Tiles Saved: 0, Relations for Import: 0, Relations Saved: 0
Time to import_business_data = 0:00:00.001384
No import errors
OK
Applying models.0004_4_0_1... OK
Applying models.0005_4_0_1... OK
Applying models.0006_4_0_1... OK
Applying models.0007_4_0_1... OK
Applying models.0008_4_0_1... OK
Applying models.0009_4_0_1... OK
Applying sessions.0001_initial... OK
creating index : resource
1 of 1 resources saved
Resources for Import: 1, Resources Saved: 1, Tiles for Import: 9, Tiles Saved: 9, Relations for Import: 0, Relations Saved: 0
Time to import_business_data = 0:00:00.091031
No import errors
1 of 1 resources saved
Resources for Import: 1, Resources Saved: 1, Tiles for Import: 11, Tiles Saved: 11, Relations for Import: 0, Relations Saved: 0
Time to import_business_data = 0:00:00.118301
No import errors
loading system settings
Overwrite current system settings with package settings? (Y/N): y
Using package system settings
1 of 1 resources saved
Resources for Import: 1, Resources Saved: 1, Tiles for Import: 11, Tiles Saved: 11, Relations for Import: 0, Relations Saved: 0
Time to import_business_data = 0:00:00.115379
No import errors
loading widgets
loading functions
loading datatypes
loading concepts
time elapsed to parse rdf graph 0.0139470100403 s
Casting dcterms:description to skos:scopeNote
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 4.83888483047 s
Casting dcterms:description to skos:scopeNote
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 0.0158169269562 s
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 0.00272703170776 s
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 0.0379891395569 s
Casting dcterms:title to skos:prefLabel
Casting dcterms:description to skos:scopeNote
time elapsed to parse rdf graph 0.0247189998627 s
Casting dcterms:description to skos:scopeNote
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 0.0271968841553 s
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 0.0262989997864 s
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 1.84676599503 s
Casting dcterms:title to skos:prefLabel
time elapsed to parse rdf graph 2.1275780201 s
loading resource models and branches
creating index : resource/ab74af76-fa0e-11e6-9e3e-026d961c88e6
creating index : resource/bbc5cee8-fa16-11e6-9e3e-026d961c88e6
creating index : resource/d41008a1-17ae-11e7-8a22-6c4008b05c4c
creating index : resource/3af584c3-fd4d-11e6-9e3e-026d961c88e6
creating index : resource/0844832e-fa1f-11e6-9e3e-026d961c88e6
creating index : resource/2f8a5970-fa2b-11e6-9e3e-026d961c88e6
loading resource to resource constraints
loading map layers
loading business data - resource instances and relationships
1 of 4 resources saved
2 of 4 resources saved
3 of 4 resources saved
4 of 4 resources saved
Resources for Import: 4, Resources Saved: 4, Tiles for Import: 76, Tiles Saved: 76, Relations for Import: 0, Relations Saved: 0
Time to import_business_data = 0:00:08.316847
No import errors
16 total resource saved
Time to import_business_data = 0:00:01.084370
No import errors
500 resources processed
1000 resources processed
1500 resources processed
1995 total resource saved
Time to import_business_data = 0:03:58.575353
***** Errors occured during import. Some data may not have been imported. For more information, check resource import error log: /home/vagrant/Projects/my_project/my_project/logs/resource_import.log
500 resources processed
1000 resources processed
1500 resources processed
2000 resources processed
2500 resources processed
2987 total resource saved
Time to import_business_data = 0:02:13.903288
No import errors
500 resources processed
987 total resource saved
Time to import_business_data = 0:01:13.906061
No import errors
***** Errors occured during import. Some data may not have been imported. For more information, check resource import error log: /home/vagrant/Projects/my_project/my_project/logs/resource_import.log
500 relations saved
1000 relations saved
1500 relations saved
2000 relations saved
2500 relations saved
3000 relations saved
3500 relations saved
4000 relations saved
4500 relations saved
***** Errors occured during import. Some data may not have been imported. For more information, check resource import error log: /home/vagrant/Projects/my_project/my_project/logs/resource_import.log
loading resource views
(ENV) vagrant@vagrant:~/Projects/my_project$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment