well, That is totally true.This is the problem which I need to find it's solution. Do I have to make the table?? How? I looked for the DB tables and I didn't find it-Maybe I did not searched the correct place
I need help On Thursday, November 6, 2014 9:04:05 PM UTC+8, Avraham Serour wrote: > > 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 <[email protected] > <javascript:>> wrote: > >> Hello, >> >> I'm working in a project where I use DionaeaFR to visualize my data >> collected by Dionaea and the tutorial >> <http://bruteforce.gr/visualizing-dionaeas-results-with-dionaeafr.html>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 matter >> >> here goes the traceback of the error : >> >> Environment: >> >> >> Request Method: GET >> Request URL: http://x.x.x.x:8000/ >> >> Django Version: 1.7.1 >> Python Version: 2.7.6 >> Installed 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_response >> 98. resolver_match = resolver.resolve(request.path_info) >> File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" >> in resolve >> 343. for pattern in self.url_patterns: >> File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" >> in url_patterns >> 372. patterns = getattr(self.urlconf_module, "urlpatterns", >> self.urlconf_module) >> File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" >> in urlconf_module >> 366. self._urlconf_module = import_module(self.urlconf_name) >> File "/usr/lib/python2.7/importlib/__init__.py" in import_module >> 37. __import__(name) >> File "/opt/DionaeaFR/DionaeaFR/urls.py" in <module> >> 5. from Web.views.download import downloadIndex >> File "/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_all >> 966. self._result_cache = list(self.iterator()) >> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" >> in iterator >> 265. for row in compiler.results_iter(): >> File >> "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" >> in results_iter >> 700. for rows in self.execute_sql(MULTI): >> File >> "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" >> in execute_sql >> 786. cursor.execute(sql, params) >> File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" >> in execute >> 81. return super(CursorDebugWrapper, self).execute(sql, >> params) >> File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py" >> in execute >> 65. 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 execute >> 65. return self.cursor.execute(sql, params) >> File >> "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py" >> in execute >> 485. return Database.Cursor.execute(self, query, params) >> >> Exception Type: OperationalError at / >> Exception Value: no such table: downloads >> >> >> I 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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 >> >> <https://groups.google.com/d/msgid/django-users/152a29ac-afd6-4177-95d2-3c3378b191d2%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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 [email protected]. To post to this group, send email to [email protected]. 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/02099246-ead8-4f43-8647-f496959deb1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

