casmlab / stack

The BITS Lab STACK tool for social media collection and analysis.
http://bits.ischool.syr.edu/
MIT License
1 stars 0 forks source link

show raw/rough count of data for a collector #2

Closed casmlab-bot closed 7 years ago

casmlab-bot commented 7 years ago

On the project detail page, add a "# datum" or some other title to the table that displays how many tweets/posts have already been collected.

libbyh commented 7 years ago

Edit: use the "Total tweets/comments" field on the left to indicate how much data this collector currently has. I've put a red box around the area I mean in this image.

screen shot 2017-03-22 at 10 23 32 am
pratik27shah commented 7 years ago

The issue has been resolved and commited on the git repo please take the update of the code and restart the apache server

libbyh commented 7 years ago

Throws a 500 error, log says:

[Thu Mar 23 15:24:00.387580 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] mod_wsgi (pid=9078): Target WSGI script '/mnt/stor2/stack/run.wsgi' cannot be loaded as Python module., referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387621 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] mod_wsgi (pid=9078): Exception occurred processing WSGI script '/mnt/stor2/stack/run.wsgi'., referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387654 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] Traceback (most recent call last):, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387684 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] File "/mnt/stor2/stack/run.wsgi", line 10, in , referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387762 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] from app import app as application, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387784 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] File "/mnt/stor2/stack/app/init.py", line 13, in , referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387842 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] from app import views, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.387862 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] File "/mnt/stor2/stack/app/views.py", line 7, in , referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388124 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] from decorators import login_required, admin_required, load_project, load_admin, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388147 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] File "/mnt/stor2/stack/app/decorators.py", line 3, in , referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388220 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] from models import DB, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388275 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] File "/mnt/stor2/stack/app/models.py", line 244, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388289 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] details=0, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388297 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] ^, referer: http://stack.casmlab.org/ [Thu Mar 23 15:24:00.388305 2017] [wsgi:error] [pid 9078] [client 216.47.144.53:52064] IndentationError: unexpected indent, referer: http://stack.casmlab.org/ [Thu Mar 23 15:25:27.894772 2017] [mpm_prefork:notice] [pid 11091] AH00171: Graceful restart requested, doing restart

pratik27shah commented 7 years ago

The issue has been resolved and commited on the git repo please take the update of the code and restart the apache server..intendation has been changed....

pratik27shah commented 7 years ago

copy from collector page to project page

pratik27shah commented 7 years ago

done and commited and updated on git and server