This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue957] Loading data snapshot for oh-mainline with `manage.py loaddata foo.json.gz` has poor UX

ehashman bugs at openhatch.org
Wed Apr 16 15:20:31 UTC 2014


New submission from ehashman <elana at hashman.ca>:

Loading a data snapshot can take up 
to 20 minutes. When I initially 
attempted to load a snapshot, 
following the instructions on the 
wiki, no output was printed in my 
terminal, so I thought that the 
import wasn't working. There was no 
initial "starting import" message, 
and no progress reported. (It 
somewhat resembled a shell utility 
waiting for STDIN.) I learned it was 
working later after I saw python 
using a full core of CPU, and just 
waited it out until it succeeded.

This makes for a rather poor user 
experience. I think the "loaddata" 
command could be improved with a 
little bit of output to the shell: 
first, a message saying the import 
has begun (and it will take a while); 
second, some way of demonstrating 
progress to the user, such as 
printing a '.' every 100 records. An 
update to the wiki warning the user 
the import takes a while would also 
be helpful.

----------
keyword: bitesize, usability
messages: 4231
nosy: ehashman, paulproteus
priority: feature
status: chatting
title: Loading data snapshot for oh-mainline with `manage.py loaddata foo.json.gz` has poor UX

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue957>
__________________________________________


More information about the Devel mailing list