it looks like django is trying to access a table named downloads which doesn't seems to exists in the db
On Thu, Nov 6, 2014 at 8:54 AM, Mr. crazy <dawahproject12@gmail.com> wrote:
Hello,--I'm working in a project where I use DionaeaFR to visualize my data collected by Dionaea and the tutorial I followed uses Django Framework.Later I go and try to access the DionaeaFR graphs through my web browser, However instead of seeing my graphs I see error "Operational error" :'(I searched online to look up for an answer on my issue bu I failed maybe due to my knowledge being not very deep in this matterhere goes the traceback of the error :Environment:Request Method: GETRequest URL: http://x.x.x.x:8000/Django Version: 1.7.1Python Version: 2.7.6Installed Applications:('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites','django.contrib.messages','django.contrib.staticfiles','compressor','django_tables2','django_tables2_simplefilter','pagination','django.contrib.humanize','Web')Installed Middleware:('django.middleware.gzip.GZipMiddleware','htmlmin.middleware.HtmlMinifyMiddleware','django.middleware.common.CommonMiddleware','django.contrib.sessions.middleware.SessionMiddleware','django.middleware.csrf.CsrfViewMiddleware','django.contrib.auth.middleware.AuthenticationMiddleware','django.contrib.messages.middleware.MessageMiddleware','django.middleware.clickjacking.XFrameOptionsMiddleware','pagination.middleware.PaginationMiddleware')Traceback:File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response98. resolver_match = resolver.resolve(request.path_info)File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve343. for pattern in self.url_patterns:File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in url_patterns372. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in urlconf_module366. self._urlconf_module = import_module(self.urlconf_name)File "/usr/lib/python2.7/importlib/__init__.py" in import_module37. __import__(name)File "/opt/DionaeaFR/DionaeaFR/urls.py" in <module>5. from Web.views.download import downloadIndexFile "/opt/DionaeaFR/Web/views/download.py" in <module>11. length = len(Download.objects.all())File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in __len__122. self._fetch_all()File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all966. self._result_cache = list(self.iterator())File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator265. for row in compiler.results_iter():File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in results_iter700. for rows in self.execute_sql(MULTI):File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql786. cursor.execute(sql, params)File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute81. return super(CursorDebugWrapper, self).execute(sql, params)File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute65. return self.cursor.execute(sql, params)File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py" in __exit__94. six.reraise(dj_exc_type, dj_exc_value, traceback)File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" in execute65. return self.cursor.execute(sql, params)File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py" in execute485. return Database.Cursor.execute(self, query, params)Exception Type: OperationalError at /Exception Value: no such table: downloadsI decided to drop a post here and hopefully you folks can help me, this is my course's final project and I have to finish it pretty soon.Thanx dudes
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/152a29ac-afd6-4177-95d2-3c3378b191d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tLs4thCx7TKNVMT0T6nX7jgHqQVH30UjBmsUMAanEa-uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment