Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install dashboard #1

Open
ldacosta opened this issue May 15, 2017 · 2 comments
Open

Unable to install dashboard #1

ldacosta opened this issue May 15, 2017 · 2 comments

Comments

@ldacosta
Copy link

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
Copy link

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

@Mei621
Copy link

Mei621 commented Apr 3, 2019

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
132. 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
22. return view_func(request, *args, **kwargs)
File "C:\Users\User\Desktop\cbd-master\cbd_project\cbd\views.py" in dashboard
105. 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
318. 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
466. 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
447. 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
840. cursor.execute(sql, params)
File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\utils.py" in execute
79. 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
64. 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
98. 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
685. 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
64. 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
318. return Database.Cursor.execute(self, query, params)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants