forked from expo/troggle
diagnosing missing entrance file
This commit is contained in:
@@ -46,7 +46,7 @@ from django.db import transaction
|
||||
|
||||
from troggle.core.utils import get_process_memory
|
||||
from troggle.core.models.caves import Cave, Entrance
|
||||
from troggle.parsers.imports import import_caves, import_people, import_surveyscans, \
|
||||
from troggle.parsers.imports import import_caves, import_people, import_surveyscans, import_ents, \
|
||||
import_logbooks, import_logbook, import_QMs, import_survex, import_loadpos, import_drawingsfiles
|
||||
|
||||
if os.geteuid() == 0:
|
||||
@@ -343,6 +343,7 @@ def usage():
|
||||
scans - the survey scans in all the wallets (must run before survex)
|
||||
drawings - read in the Tunnel & Therion files - which scans the survey scans too
|
||||
survex - read in the survex files - all the survex blocks and entrances x/y/z
|
||||
ents - read just the entrances x/y/z (must run after survex)
|
||||
|
||||
dumplogbooks - Not used. write out autologbooks (not working? use http://localhost:8000/controlpanel )
|
||||
logbook - read a single logbook. Defautl set in python code
|
||||
@@ -385,9 +386,8 @@ if __name__ == "__main__":
|
||||
exit()
|
||||
elif "init" in sys.argv:
|
||||
jq.enq("reinit",reinit_db)
|
||||
elif "test" in sys.argv:
|
||||
jq.enq("caves",import_caves)
|
||||
jq.enq("people",import_people)
|
||||
elif "ents" in sys.argv:
|
||||
jq.enq("survex",import_ents)
|
||||
elif "test2" in sys.argv:
|
||||
jq.enq("QMs",import_QMs)
|
||||
jq.enq("drawings",import_drawingsfiles)
|
||||
|
||||
Reference in New Issue
Block a user