aneesha / cbd

Cyberbullying Detection System
40 stars 25 forks source link

Unable to install dashboard #1

Open ldacosta opened 7 years ago

ldacosta commented 7 years ago

Hello,

I am starting to work on a project involving deep learning and cyberbullying detection, and I ran across this dashboard. I tried to make it run locally but I ran into problems. Would you have time to answer a couple of my questions? If would of course contribute my findings to your repository.

Cheers,

Luis

Prem3997 commented 6 years ago

Have you figured out how to run this build if so comment...

Mei621 commented 5 years ago

Hello, I am new to python and Django to work on my Final Year Project for my degree, and I came across a dashboard problem as shown like this.

dashboard1

Environment:

Request Method: GET Request URL: http://127.0.0.1:8000/dashboard/

Django Version: 1.8.19 Python Version: 3.6.4 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'cbd') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware')

Traceback: File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py" in get_response

  1. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
  2. return view_func(request, *args, **kwargs) File "C:\Users\User\Desktop\cbd-master\cbd_project\cbd\views.py" in dashboard
  3. nosocialmediausers = ProcessedSocialMediaMessage.objects.values_list('username', flat=True).distinct().count() #SocialMediaUser.objects.count() File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\query.py" in count
  4. return self.query.get_count(using=self.db) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\query.py" in get_count
  5. number = obj.get_aggregation(using, ['count'])['count'] File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\query.py" in get_aggregation
  6. result = compiler.execute_sql(SINGLE) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\models\sql\compiler.py" in execute_sql
  7. cursor.execute(sql, params) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
  8. return super(CursorDebugWrapper, self).execute(sql, params) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
  9. return self.cursor.execute(sql, params) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\utils.py" in exit
  10. six.reraise(dj_exc_type, dj_exc_value, traceback) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\six.py" in reraise
  11. raise value.with_traceback(tb) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
  12. return self.cursor.execute(sql, params) File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\sqlite3\base.py" in execute
  13. return Database.Cursor.execute(self, query, params)

Exception Type: OperationalError at /dashboard/ Exception Value: no such table: cbd_processedsocialmediamessage