Closed npatyur closed 7 years ago
pull request https://github.com/OSLL/mooc-lp-statistics/pull/103 После исправления в razbor_stroki обнаружилась ошибка в writing_into_database() в строке https://github.com/OSLL/mooc-lp-statistics/blob/c27b96947e81291a473d63bb6e960efe4ce799f7/App/another_functions.py#L165
для обсуждения :
https://github.com/OSLL/mooc-lp-statistics/files/972736/pdaemon.txt
Environment:
Request Method: GET Request URL: http://mooc-lp-statistics/
Django Version: 1.9.4 Python Version: 2.7.6 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'App', 'rest_framework'] Installed Middleware: ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware']
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
File "/var/www/mooc-lp-statistics/App/views.py" in home
File "/var/www/mooc-lp-statistics/App/another_functions.py" in parsing
File "/var/www/mooc-lp-statistics/App/another_functions.py" in razbor_stroki
File "/usr/local/lib/python2.7/dist-packages/pyparsing.py" in getitem
Exception Type: IndexError at / Exception Value: list index out of range