From 8aea0454af9cf087f2f539369bd459f32d8f9864 Mon Sep 17 00:00:00 2001 From: wrmswindmill Date: Tue, 14 Aug 2018 09:03:07 +0800 Subject: [PATCH] add commit_id but error log havent complete --- .../migrations/0013_annotation_commit_id.py | 19 + apps/operations/models.py | 3 +- apps/operations/views.py | 23 +- apps/projects/models.py | 1 - apps/utils/git.py | 26 + nohup.out | 1731 +++++++++++++++++ 6 files changed, 1797 insertions(+), 6 deletions(-) create mode 100644 apps/operations/migrations/0013_annotation_commit_id.py create mode 100644 apps/utils/git.py diff --git a/apps/operations/migrations/0013_annotation_commit_id.py b/apps/operations/migrations/0013_annotation_commit_id.py new file mode 100644 index 0000000..1a86c12 --- /dev/null +++ b/apps/operations/migrations/0013_annotation_commit_id.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.6 on 2018-08-14 08:37 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('operations', '0012_auto_20180808_1031'), + ] + + operations = [ + migrations.AddField( + model_name='annotation', + name='commit_id', + field=models.CharField(default=None, max_length=255), + preserve_default=False, + ), + ] diff --git a/apps/operations/models.py b/apps/operations/models.py index d1ec265..c2e76d1 100644 --- a/apps/operations/models.py +++ b/apps/operations/models.py @@ -65,6 +65,7 @@ class Annotation(models.Model): is_latest = models.IntegerField(default=0, verbose_name='是最新的注释吗') create_time = models.DateTimeField(auto_now_add=True) update_time = models.DateTimeField(auto_now=True) + commit_id = models.CharField(max_length=255) class Meta: db_table = 'Annotation' @@ -239,7 +240,7 @@ class AnnotationComment(models.Model): annotation = models.ForeignKey(Annotation, verbose_name='注释', related_name='annotation_comment',on_delete=models.CASCADE) voteup = models.IntegerField(default=0, verbose_name='点赞数量') votedown = models.IntegerField(default=0, verbose_name='点踩数量') - + create_time = models.DateTimeField(auto_now_add=True) update_time = models.DateTimeField(auto_now=True) diff --git a/apps/operations/views.py b/apps/operations/views.py index 990dcc9..9383096 100644 --- a/apps/operations/views.py +++ b/apps/operations/views.py @@ -36,15 +36,25 @@ class ShowAnnotationView(View): 策略:例如只显示只显示自己的Annotation 分为多个策略吧 """ + def get_current_commitid_by_fileid(self,file_id): + try: + project_name = File.objects.get(id=file_id).project.name + return git.get_current_commitid_by_projectname(project_name) + except: + # 打BUG日志 + return None # 策略1:获取所有用户的Annotation def get_all_annotations(self,file_id,line_num): - annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,is_latest=1) + # 获取到当前commit_id对应的注释 + commit_id = self.get_current_commitid_by_fileid(file_id) + annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,is_latest=1,commit_id=commit_id) return annotations # 策略2:只获取用户自己的Annotation def get_user_annotation(self,file_id,line_num,user_id): - annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,user_id=user_id,is_latest=1) + commit_id = self.get_current_commitid_by_fileid(file_id) + annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,user_id=user_id,is_latest=1,commit_id=commit_id) return annotations # FIXME @@ -54,7 +64,8 @@ class ShowAnnotationView(View): # 首先获取当前组的所有用户id user_ids = [] # 然后调用 - annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,user_id__in=user_ids,is_latest=1) + commit_id = self.get_current_commitid_by_fileid(file_id) + annotations = Annotation.objects.filter(file_id=file_id, linenum=line_num,user_id__in=user_ids,is_latest=1,commit_id=commit_id) return annotations def post(self, request): @@ -239,6 +250,7 @@ class ShowMethodInfo(View): html_str = render_to_string('projects/filesub/search-response.html', {'results': results, 'project_id': project.pk, }) return HttpResponse(json.dumps({"status": "success", "html_str":html_str}), content_type='application/json') +from utils import git # FIXME # 还没有获取用户id,需要从request中获取用户id class AddAnnotationView(View): @@ -267,12 +279,15 @@ class AddAnnotationView(View): annotation.content = content annotation.user = request.user annotation.is_latest = 1 + # 获取到当前的commit_id + project_name = File.objects.get(id=file_id).project.name + commit_id = git.get_current_commitid_by_projectname(project_name) + annotation.commit_id = commit_id annotation.save() # 因为没有办法得到annotation.id,所以只能先存后查了 annotation = Annotation.objects.get(file_id=file_id, linenum=linenum, user_id=request.user.id) annotation.anno_id = annotation.pk annotation.save() - return HttpResponse('{"status":"success","msg":"注释成功"}', content_type='application/json') except Exception as e: return HttpResponse('{"status":"fail","msg":"参数传递错误,注释失败"}', content_type='application/json') diff --git a/apps/projects/models.py b/apps/projects/models.py index 42b2fe2..db9289a 100644 --- a/apps/projects/models.py +++ b/apps/projects/models.py @@ -18,7 +18,6 @@ class Language(models.Model): def __str__(self): return self.name - class Project(models.Model): STATE_CHOICE = [ ('1', '正常'), diff --git a/apps/utils/git.py b/apps/utils/git.py new file mode 100644 index 0000000..62291d9 --- /dev/null +++ b/apps/utils/git.py @@ -0,0 +1,26 @@ + +from django.conf import settings +import os +import subprocess + +LOCAL_SOURCE_PATH = settings.SOURCEPATH + +# FIXME +# 添加日志 +def get_current_commitid_by_projectname(project_name): + path = LOCAL_SOURCE_PATH+project_name + if os.path.exists(path): + os.chdir(path) + try: + cmd = "git rev-parse HEAD" + p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) + result = p.stdout.readline() + # 返回值为b''编码格式的,转换为utf-8 + return result[0:-1].decode(encoding='utf-8', errors='strict') + except: + # 可能有几个exception + # 第一个是Popen执行不成功 + # 第二个是p.stdout返回值为None + # write into bug log + error_msg ="cant get the commit_id" + diff --git a/nohup.out b/nohup.out index d3f4b11..4bf182e 100644 --- a/nohup.out +++ b/nohup.out @@ -27840,3 +27840,1734 @@ projects.models.DoesNotExist: File matching query does not exist. [13/Aug/2018 09:33:30] "POST /operations/get_codereading_content/ HTTP/1.1" 200 766296 [13/Aug/2018 09:33:42] "POST /operations/add_annotation/ HTTP/1.1" 200 71 [13/Aug/2018 09:34:00] "POST /operations/show_annotation/ HTTP/1.1" 200 2253 +[13/Aug/2018 10:56:00] code 400, message Bad HTTP/0.9 request type ('\x03\x00\x00+&à\x00\x00\x00\x00\x00Cookie:') +[13/Aug/2018 10:56:00] "+&àCookie: mstshash=hello" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[13/Aug/2018 12:15:31] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[13/Aug/2018 15:15:25] "GET / HTTP/1.1" 200 22420 +[13/Aug/2018 15:15:26] "GET /static/css/base.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/css/common.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 15:15:26] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/css/prettify.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/vendor/site/css/style.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/js/run_prettify.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/js/base.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 15:15:26] "GET /static/image/CodePedia.ico HTTP/1.1" 304 0 +[13/Aug/2018 15:15:26] "GET /media/avatar/users/default.png HTTP/1.1" 304 0 +Not Found: /favicon.ico +[13/Aug/2018 15:15:27] "GET /favicon.ico HTTP/1.1" 404 3103 +[13/Aug/2018 15:15:29] "GET /projects/ HTTP/1.1" 200 6497 +[13/Aug/2018 15:15:32] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 15:15:32] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:32] "GET /static/js/prettify.js HTTP/1.1" 304 0 +[13/Aug/2018 15:15:32] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:32] "GET /static/css/font-awesome.css HTTP/1.1" 304 0 +[13/Aug/2018 15:15:32] "GET /static/js/source.js HTTP/1.1" 200 47594 +[13/Aug/2018 15:15:32] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1038 +[13/Aug/2018 15:15:32] "GET /static/css/code_show.css HTTP/1.1" 200 23819 +[13/Aug/2018 15:15:32] "GET /static/image/codepedia.png HTTP/1.1" 304 0 +[13/Aug/2018 15:15:32] "GET /static/css/32px.png HTTP/1.1" 200 2988 +[13/Aug/2018 15:15:32] "GET /static/css/throbber.gif HTTP/1.1" 200 1720 +[13/Aug/2018 15:15:33] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 15:15:33] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:15:33] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:15:34] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761615 +[13/Aug/2018 15:15:37] "GET /static/image/question.png HTTP/1.1" 304 0 +[13/Aug/2018 15:15:37] "GET /static/image/annotation.png HTTP/1.1" 304 0 +Internal Server Error: /operations/right/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 1012, in post + html_str = self.get_file_right_content(project_path,file_path,file.pk) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 986, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 978, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes/res/menu' +[13/Aug/2018 15:15:50] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:15:50] "POST /operations/right/ HTTP/1.1" 500 19039 +[13/Aug/2018 15:15:50] "POST /operations/get_codereading_content/ HTTP/1.1" 200 5694 +Internal Server Error: /operations/show_navigation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 181, in post + file_id = File.objects.get(project_id=project_id,path=file_path).pk + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method + return getattr(self.get_queryset(), name)(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 403, in get + self.model._meta.object_name +projects.models.DoesNotExist: File matching query does not exist. +[13/Aug/2018 15:15:57] "POST /operations/show_navigation/ HTTP/1.1" 500 19048 +Internal Server Error: /operations/show_navigation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 181, in post + file_id = File.objects.get(project_id=project_id,path=file_path).pk + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method + return getattr(self.get_queryset(), name)(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 403, in get + self.model._meta.object_name +projects.models.DoesNotExist: File matching query does not exist. +[13/Aug/2018 15:15:59] "POST /operations/show_navigation/ HTTP/1.1" 500 19048 +[13/Aug/2018 15:16:03] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:16:03] "POST /operations/right/ HTTP/1.1" 200 2689 +[13/Aug/2018 15:16:03] "POST /operations/get_codereading_content/ HTTP/1.1" 200 41970 +[13/Aug/2018 15:22:42] "GET /users/register/ HTTP/1.1" 200 5067 +[13/Aug/2018 15:22:42] "GET /static/css/register.css HTTP/1.1" 200 1762 +[13/Aug/2018 15:22:42] "GET /static/js/users-common.js HTTP/1.1" 200 966 +[13/Aug/2018 15:22:42] "GET /captcha/image/c38fd027e5fae93e5d321b05c694ec631d61b381/ HTTP/1.1" 200 3645 +[13/Aug/2018 15:22:42] "GET /static/image/login/bg_login.jpg HTTP/1.1" 200 29922 +[13/Aug/2018 15:37:03] "GET /users/login/ HTTP/1.1" 200 4273 +[13/Aug/2018 15:37:06] "POST /users/login/ HTTP/1.1" 302 0 +[13/Aug/2018 15:37:06] "GET / HTTP/1.1" 200 24250 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 15:37:07] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +[13/Aug/2018 15:37:08] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 15:37:09] "GET /static/image/users/default.png HTTP/1.1" 200 36378 +[13/Aug/2018 15:37:09] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 15:37:09] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:37:09] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:37:11] "POST /operations/get_codereading_content/ HTTP/1.1" 200 762842 +Internal Server Error: /operations/right/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 1012, in post + html_str = self.get_file_right_content(project_path,file_path,file.pk) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 986, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 978, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes/src/net/micode/notes/ui' +[13/Aug/2018 15:37:37] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:37:37] "POST /operations/right/ HTTP/1.1" 500 19169 +[13/Aug/2018 15:37:37] "POST /operations/get_codereading_content/ HTTP/1.1" 200 7482 +[13/Aug/2018 15:37:38] "POST /operations/show_navigation/ HTTP/1.1" 200 241 +[13/Aug/2018 15:37:38] "POST /operations/right/ HTTP/1.1" 200 2690 +[13/Aug/2018 15:37:38] "POST /operations/get_codereading_content/ HTTP/1.1" 200 50465 +[13/Aug/2018 15:37:46] "POST /operations/right/ HTTP/1.1" 200 2690 +[13/Aug/2018 15:37:47] "POST /operations/show_navigation/ HTTP/1.1" 200 343 +[13/Aug/2018 15:37:47] "POST /operations/get_codereading_content/ HTTP/1.1" 200 76334 +[13/Aug/2018 15:38:08] "POST /operations/add_annotation/ HTTP/1.1" 200 41 +[13/Aug/2018 15:39:26] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 15:39:27] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[13/Aug/2018 15:39:27] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:39:27] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:39:29] "POST /operations/get_codereading_content/ HTTP/1.1" 200 762842 +[13/Aug/2018 15:40:16] "POST /operations/add_annotation/ HTTP/1.1" 200 41 +[13/Aug/2018 15:40:23] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 15:40:23] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[13/Aug/2018 15:40:24] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:40:24] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:40:26] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763356 +[13/Aug/2018 15:40:43] "POST /operations/show_annotation/ HTTP/1.1" 200 2302 +[13/Aug/2018 15:41:50] "POST /operations/show_annotation/ HTTP/1.1" 200 2302 +[13/Aug/2018 15:42:29] "POST /operations/show_annotation/ HTTP/1.1" 200 2302 +[13/Aug/2018 15:43:11] "POST /operations/modify_anno/ HTTP/1.1" 200 41 +[13/Aug/2018 15:43:13] "POST /operations/show_annotation/ HTTP/1.1" 200 2326 +[13/Aug/2018 15:43:24] "POST /operations/show_annotation/ HTTP/1.1" 200 2326 +[13/Aug/2018 15:43:30] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 15:43:31] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[13/Aug/2018 15:43:31] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:43:31] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:43:33] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763380 +[13/Aug/2018 15:43:53] "POST /operations/show_annotation/ HTTP/1.1" 200 2326 +[13/Aug/2018 15:49:42] "POST /operations/show_annotation/ HTTP/1.1" 200 2326 +[13/Aug/2018 15:50:54] "POST /operations/show_annotation/ HTTP/1.1" 200 2554 +[13/Aug/2018 15:51:01] "POST /operations/show_issue_question/ HTTP/1.1" 200 2703 +[13/Aug/2018 15:51:29] "POST /operations/show_annotation/ HTTP/1.1" 200 2554 +[13/Aug/2018 15:51:52] "POST /operations/show_annotation/ HTTP/1.1" 200 2435 +[13/Aug/2018 15:51:58] "POST /operations/show_issue_question/ HTTP/1.1" 200 926 +[13/Aug/2018 15:55:33] "POST /operations/show_annotation/ HTTP/1.1" 200 4666 +[13/Aug/2018 15:55:36] "POST /operations/add_vote/ HTTP/1.1" 200 56 +[13/Aug/2018 15:55:38] "POST /operations/add_vote/ HTTP/1.1" 200 77 +[13/Aug/2018 15:55:39] "POST /operations/add_vote/ HTTP/1.1" 200 56 +[13/Aug/2018 15:55:40] "POST /operations/add_vote/ HTTP/1.1" 200 77 +[13/Aug/2018 15:55:41] "POST /operations/add_vote/ HTTP/1.1" 200 57 +[13/Aug/2018 15:55:42] "POST /operations/add_vote/ HTTP/1.1" 200 76 +[13/Aug/2018 15:55:43] "POST /operations/add_vote/ HTTP/1.1" 200 57 +[13/Aug/2018 15:55:44] "POST /operations/add_vote/ HTTP/1.1" 200 76 +Internal Server Error: /operations/right/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 1012, in post + html_str = self.get_file_right_content(project_path,file_path,file.pk) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 986, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 978, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes/src' +[13/Aug/2018 15:56:18] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:56:18] "POST /operations/get_codereading_content/ HTTP/1.1" 200 4223 +[13/Aug/2018 15:56:18] "POST /operations/right/ HTTP/1.1" 500 19109 +Internal Server Error: /operations/right/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 1012, in post + html_str = self.get_file_right_content(project_path,file_path,file.pk) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 986, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 978, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes/src/net/micode/notes/ui' +[13/Aug/2018 15:56:53] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:56:53] "POST /operations/right/ HTTP/1.1" 500 19169 +[13/Aug/2018 15:56:53] "POST /operations/get_codereading_content/ HTTP/1.1" 200 7482 +[13/Aug/2018 15:57:06] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 15:57:07] "GET /static/js/source.js HTTP/1.1" 304 0 +[13/Aug/2018 15:57:07] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[13/Aug/2018 15:57:07] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 15:57:07] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 15:57:09] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763380 +[13/Aug/2018 15:59:54] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 15:59:54] "POST /operations/get_codereading_content/ HTTP/1.1" 200 8780 +[13/Aug/2018 15:59:54] "POST /operations/right/ HTTP/1.1" 200 2689 +[13/Aug/2018 16:05:10] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 16:05:11] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 16:05:11] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 16:05:11] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 16:05:13] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763380 +[13/Aug/2018 16:05:17] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 16:05:17] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 16:05:17] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 16:05:18] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 16:05:19] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763380 +Internal Server Error: /operations/right/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 1012, in post + html_str = self.get_file_right_content(project_path,file_path,file.pk) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 986, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 978, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes' +[13/Aug/2018 16:05:20] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[13/Aug/2018 16:05:20] "POST /operations/right/ HTTP/1.1" 500 19097 +[13/Aug/2018 16:05:20] "POST /operations/get_codereading_content/ HTTP/1.1" 200 5610 +[13/Aug/2018 16:05:27] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42001 +[13/Aug/2018 16:05:28] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 16:05:28] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 16:05:28] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 16:05:31] "POST /operations/get_codereading_content/ HTTP/1.1" 200 763380 +[13/Aug/2018 16:05:35] "GET /users/userinfo HTTP/1.1" 200 18849 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/js/plugins/queryCity/css/cityLayout.css HTTP/1.1" 200 10464 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/css/reset.css HTTP/1.1" 200 2808 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/css/lq.datetimepick.css HTTP/1.1" 200 5049 +[13/Aug/2018 16:05:35] "GET /static/css/users/userinfo.css HTTP/1.1" 200 382 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/css/animate.css HTTP/1.1" 200 74079 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/js/jquery-migrate-1.2.1.min.js HTTP/1.1" 200 7200 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/js/jquery.min.js HTTP/1.1" 200 101700 +[13/Aug/2018 16:05:35] "GET /static/vendor/site/js/selectUi.js HTTP/1.1" 200 5816 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/laydate/laydate.js HTTP/1.1" 200 13877 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/layer/layer.js HTTP/1.1" 200 14941 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/unslider.js HTTP/1.1" 200 2776 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/jquery.scrollLoading.js HTTP/1.1" 200 770 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/images/side4.png HTTP/1.1" 200 1172 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/queryCity/js/public.js HTTP/1.1" 200 43900 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/laydate/need/laydate.css HTTP/1.1" 200 6028 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/layer/skin/layer.css HTTP/1.1" 200 11336 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/laydate/skins/default/laydate.css HTTP/1.1" 200 3575 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 16:05:36] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/images/side1.png HTTP/1.1" 200 1318 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/images/arrow_g.png HTTP/1.1" 200 1275 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/validateDialog.js HTTP/1.1" 200 1878 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/images/arrow.png HTTP/1.1" 200 1295 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/deco-common.js HTTP/1.1" 200 21122 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/jquery.upload.js HTTP/1.1" 200 2876 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/validate.js HTTP/1.1" 200 2932 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/deco-user.js HTTP/1.1" 200 6721 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/images/dig_close.png HTTP/1.1" 200 1211 +Not Found: /images/send.png +[13/Aug/2018 16:05:36] "GET /images/send.png HTTP/1.1" 404 3115 +[13/Aug/2018 16:05:36] "GET /captcha/image/5f3c00e47fb1be12d2fd15b9a860711597721b3f/ HTTP/1.1" 410 0 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/layer/extend/layer.ext.js HTTP/1.1" 200 4758 +[13/Aug/2018 16:05:36] "GET /static/images/error-img.png HTTP/1.1" 404 1690 +[13/Aug/2018 16:05:36] "GET /static/vendor/site/js/plugins/layer/skin/layer.ext.css HTTP/1.1" 200 2867 +[13/Aug/2018 16:05:38] "GET /users/userinfo-anno HTTP/1.1" 301 0 +[13/Aug/2018 16:05:38] "GET /users/userinfo-anno/ HTTP/1.1" 200 37677 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 16:05:39] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +Not Found: /users/images/send.png +[13/Aug/2018 16:05:39] "GET /users/images/send.png HTTP/1.1" 404 4492 +[13/Aug/2018 16:05:39] "GET /static/images/error-img.png HTTP/1.1" 404 1690 +[13/Aug/2018 16:05:48] "GET /users/userinfo-anno/ HTTP/1.1" 200 37677 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 16:05:48] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +Not Found: /users/images/send.png +[13/Aug/2018 16:05:48] "GET /users/images/send.png HTTP/1.1" 404 4492 +[13/Aug/2018 16:05:48] "GET /static/images/error-img.png HTTP/1.1" 404 1690 +[13/Aug/2018 16:05:49] "GET /users/userinfo-anno/ HTTP/1.1" 200 37677 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 16:05:49] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +Not Found: /users/images/send.png +[13/Aug/2018 16:05:49] "GET /users/images/send.png HTTP/1.1" 404 4492 +[13/Aug/2018 16:05:49] "GET /static/images/error-img.png HTTP/1.1" 404 1690 +[13/Aug/2018 16:05:50] "GET /users/userinfo-anno/ HTTP/1.1" 200 37677 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[13/Aug/2018 16:05:50] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +Not Found: /users/images/send.png +[13/Aug/2018 16:05:50] "GET /users/images/send.png HTTP/1.1" 404 4492 +[13/Aug/2018 16:05:50] "GET /static/images/error-img.png HTTP/1.1" 404 1690 +[13/Aug/2018 16:12:37] code 400, message Bad HTTP/0.9 request type ('\x03\x00\x00+&à\x00\x00\x00\x00\x00Cookie:') +[13/Aug/2018 16:12:37] "+&àCookie: mstshash=hello" 400 - +[13/Aug/2018 16:18:20] "POST /operations/show_annotation/ HTTP/1.1" 200 4501 +[13/Aug/2018 16:18:25] "POST /operations/add_vote/ HTTP/1.1" 200 56 +Not Found: /www.baidu.com:443 +[13/Aug/2018 16:21:12] "CONNECT www.baidu.com:443 HTTP/1.1" 404 1662 +[13/Aug/2018 16:33:28] "GET / HTTP/1.1" 200 22420 +[13/Aug/2018 16:33:28] "GET /static/css/base.css HTTP/1.1" 200 18934 +[13/Aug/2018 16:33:28] "GET /static/css/common.css HTTP/1.1" 200 8146 +[13/Aug/2018 16:33:28] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 16:33:28] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[13/Aug/2018 16:33:28] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 16:33:28] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[13/Aug/2018 16:33:29] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[13/Aug/2018 16:33:29] "GET /static/js/base.js HTTP/1.1" 200 21228 +[13/Aug/2018 16:33:29] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[13/Aug/2018 16:33:29] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[13/Aug/2018 16:33:29] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[13/Aug/2018 16:33:30] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 16:33:30] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[13/Aug/2018 16:33:30] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[13/Aug/2018 16:33:32] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +Not Found: /favicon.ico +[13/Aug/2018 16:33:32] "GET /favicon.ico HTTP/1.1" 404 3103 +[13/Aug/2018 16:33:35] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 16:33:35] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 16:33:35] "GET /static/css/code_show.css HTTP/1.1" 200 23819 +[13/Aug/2018 16:33:35] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1038 +[13/Aug/2018 16:33:35] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[13/Aug/2018 16:33:35] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[13/Aug/2018 16:33:35] "GET /static/js/source.js HTTP/1.1" 200 47594 +[13/Aug/2018 16:33:35] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[13/Aug/2018 16:33:36] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[13/Aug/2018 16:33:37] "GET /static/css/throbber.gif HTTP/1.1" 200 1720 +[13/Aug/2018 16:33:37] "GET /static/css/32px.png HTTP/1.1" 200 2988 +[13/Aug/2018 16:33:37] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 16:33:37] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 16:33:37] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 16:33:39] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761727 +[13/Aug/2018 16:33:42] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[13/Aug/2018 16:33:42] "GET /static/image/question.png HTTP/1.1" 200 1112 +[13/Aug/2018 16:36:05] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 16:36:05] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 16:36:05] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[13/Aug/2018 16:36:05] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[13/Aug/2018 16:36:06] "GET /static/css/code_show.css HTTP/1.1" 200 23819 +[13/Aug/2018 16:36:06] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 16:36:06] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1038 +[13/Aug/2018 16:36:06] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[13/Aug/2018 16:36:06] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[13/Aug/2018 16:36:06] "GET /static/js/source.js HTTP/1.1" 200 47594 +[13/Aug/2018 16:36:06] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[13/Aug/2018 16:36:07] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 16:36:07] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 303104 +[13/Aug/2018 17:10:47] "GET / HTTP/1.1" 200 22420 +[13/Aug/2018 17:10:47] "GET /static/css/base.css HTTP/1.1" 200 18934 +[13/Aug/2018 17:10:47] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 17:10:47] "GET /static/css/common.css HTTP/1.1" 200 8146 +[13/Aug/2018 17:10:47] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 17:10:48] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[13/Aug/2018 17:10:48] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[13/Aug/2018 17:10:48] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[13/Aug/2018 17:10:48] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[13/Aug/2018 17:10:48] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[13/Aug/2018 17:10:48] "GET /static/js/base.js HTTP/1.1" 200 21228 +[13/Aug/2018 17:10:48] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 17:10:49] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[13/Aug/2018 17:10:49] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[13/Aug/2018 17:10:49] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[13/Aug/2018 17:10:51] "GET /static/image/CodePedia.ico HTTP/1.1" 200 319488 +[13/Aug/2018 17:10:51] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 17:10:51] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[13/Aug/2018 17:10:51] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 17:10:51] "GET /static/js/source.js HTTP/1.1" 200 47594 +[13/Aug/2018 17:10:51] "GET /static/css/code_show.css HTTP/1.1" 200 23819 +[13/Aug/2018 17:10:52] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1038 +[13/Aug/2018 17:10:53] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[13/Aug/2018 17:10:54] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[13/Aug/2018 17:10:55] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[13/Aug/2018 17:10:55] "GET /static/css/throbber.gif HTTP/1.1" 200 1720 +[13/Aug/2018 17:10:55] "GET /static/css/32px.png HTTP/1.1" 200 2988 +[13/Aug/2018 17:10:56] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Not Found: /favicon.ico +[13/Aug/2018 17:10:56] "GET /favicon.ico HTTP/1.1" 404 3103 +[13/Aug/2018 17:10:56] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 17:10:56] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +Not Found: /favicon.ico +[13/Aug/2018 17:10:56] "GET /favicon.ico HTTP/1.1" 404 3103 +[13/Aug/2018 17:10:59] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[13/Aug/2018 17:10:59] "GET /static/image/question.png HTTP/1.1" 200 1112 +[13/Aug/2018 17:11:01] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761727 +[13/Aug/2018 17:15:08] "GET / HTTP/1.1" 200 22420 +[13/Aug/2018 17:15:08] "GET /static/css/base.css HTTP/1.1" 200 18934 +[13/Aug/2018 17:15:08] "GET /static/css/common.css HTTP/1.1" 200 8146 +[13/Aug/2018 17:15:08] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 17:15:08] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 17:15:09] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[13/Aug/2018 17:15:09] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[13/Aug/2018 17:15:09] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[13/Aug/2018 17:15:09] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[13/Aug/2018 17:15:10] "GET /static/js/base.js HTTP/1.1" 200 21228 +[13/Aug/2018 17:15:10] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[13/Aug/2018 17:15:10] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[13/Aug/2018 17:15:10] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 17:15:11] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[13/Aug/2018 17:15:11] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[13/Aug/2018 17:15:13] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +[13/Aug/2018 17:33:31] "GET /static/js/base.js HTTP/1.1" 200 21228 +[13/Aug/2018 18:22:14] code 400, message Bad request version ('MCTP/1.0') +[13/Aug/2018 18:22:14] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +[13/Aug/2018 19:08:07] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1038 +[13/Aug/2018 19:12:01] "GET /static/js/jstree.js HTTP/1.1" 200 161842 +[13/Aug/2018 19:27:25] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 19:31:24] "GET /static/css/32px.png HTTP/1.1" 200 2988 +[13/Aug/2018 19:33:00] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[13/Aug/2018 19:33:28] "GET /static/css/code_show.css HTTP/1.1" 200 23819 +[13/Aug/2018 19:35:43] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[13/Aug/2018 19:36:05] "GET /static/css/jstreeStyle.css HTTP/1.1" 200 30545 +[13/Aug/2018 19:36:06] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 19:47:49] "GET / HTTP/1.1" 200 22420 +[13/Aug/2018 19:47:49] "GET /static/css/base.css HTTP/1.1" 200 18934 +[13/Aug/2018 19:47:49] "GET /static/css/common.css HTTP/1.1" 200 8146 +[13/Aug/2018 19:47:49] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[13/Aug/2018 19:47:49] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[13/Aug/2018 19:47:49] "GET /static/js/base.js HTTP/1.1" 200 21228 +[13/Aug/2018 19:47:49] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[13/Aug/2018 19:47:49] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[13/Aug/2018 19:47:49] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[13/Aug/2018 19:47:49] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[13/Aug/2018 19:47:50] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[13/Aug/2018 19:47:51] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +Not Found: /favicon.ico +[13/Aug/2018 19:47:52] "GET /favicon.ico HTTP/1.1" 404 3103 +[13/Aug/2018 19:47:52] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 19:47:52] "GET /static/js/source.js HTTP/1.1" 304 0 +[13/Aug/2018 19:47:53] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[13/Aug/2018 19:47:54] "GET /static/css/32px.png HTTP/1.1" 200 2988 +[13/Aug/2018 19:47:54] "GET /static/css/throbber.gif HTTP/1.1" 200 1720 +[13/Aug/2018 19:47:54] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 19:47:54] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 19:47:54] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 19:47:57] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[13/Aug/2018 19:47:57] "GET /static/image/question.png HTTP/1.1" 200 1112 +[13/Aug/2018 19:47:57] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761727 +[13/Aug/2018 19:48:06] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[13/Aug/2018 19:50:47] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38993 +[13/Aug/2018 19:50:47] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[13/Aug/2018 19:50:48] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[13/Aug/2018 19:50:48] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[13/Aug/2018 19:50:48] "POST /operations/right/ HTTP/1.1" 200 2694 +[13/Aug/2018 19:50:50] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761727 +Not Found: /scanner-project +[13/Aug/2018 20:18:16] "GET /scanner-project HTTP/1.1" 404 3115 +Not Found: /scanner-project/ +[13/Aug/2018 20:18:24] "GET /scanner-project/ HTTP/1.1" 404 3118 +Not Found: /scanner/ +[13/Aug/2018 20:18:28] "GET /scanner/ HTTP/1.1" 404 3094 +Not Found: /project/scanner/ +[13/Aug/2018 20:18:35] "GET /project/scanner/ HTTP/1.1" 404 3118 +Internal Server Error: /projects/scanner/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 154, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[13/Aug/2018 20:18:41] "GET /projects/scanner/ HTTP/1.1" 500 82683 +Internal Server Error: /projects/scanner-project/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 154, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[13/Aug/2018 20:18:50] "GET /projects/scanner-project/ HTTP/1.1" 500 82843 +[13/Aug/2018 20:18:55] "GET /projects/ HTTP/1.1" 200 6497 +[13/Aug/2018 20:19:02] "GET /xadmin HTTP/1.1" 301 0 +[13/Aug/2018 20:19:03] "GET /xadmin/ HTTP/1.1" 200 4366 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 21658 +[13/Aug/2018 20:19:03] "GET /static/xadmin/css/themes/bootstrap-xadmin.css HTTP/1.1" 200 1888 +[13/Aug/2018 20:19:03] "GET /static/xadmin/css/xadmin.main.css HTTP/1.1" 200 8324 +[13/Aug/2018 20:19:03] "GET /static/xadmin/css/xadmin.plugins.css HTTP/1.1" 200 175 +[13/Aug/2018 20:19:03] "GET /static/xadmin/css/xadmin.responsive.css HTTP/1.1" 200 4361 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.core.js HTTP/1.1" 200 8195 +[13/Aug/2018 20:19:03] "GET /xadmin/jsi18n/ HTTP/1.1" 200 4373 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.widget.js HTTP/1.1" 200 15069 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.mouse.js HTTP/1.1" 200 4561 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/bootstrap/js/bootstrap.js HTTP/1.1" 200 58327 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.sortable.js HTTP/1.1" 200 42543 +[13/Aug/2018 20:19:03] "GET /static/xadmin/vendor/jquery/jquery.js HTTP/1.1" 200 240196 +[13/Aug/2018 20:19:04] "GET /static/xadmin/js/xadmin.main.js HTTP/1.1" 200 3401 +[13/Aug/2018 20:19:04] "GET /static/xadmin/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 126432 +[13/Aug/2018 20:19:04] "GET /static/xadmin/js/xadmin.responsive.js HTTP/1.1" 200 4165 +[13/Aug/2018 20:19:04] "GET /static/xadmin/vendor/jquery-ui/jquery.ui.effect.js HTTP/1.1" 200 31918 +[13/Aug/2018 20:19:04] "GET /static/xadmin/js/xadmin.plugin.themes.js HTTP/1.1" 200 3489 +[13/Aug/2018 20:19:04] "GET /static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.woff?v=4.0.3 HTTP/1.1" 200 44432 +[13/Aug/2018 20:19:14] "POST /xadmin/ HTTP/1.1" 302 0 +[13/Aug/2018 20:19:15] "GET /xadmin/ HTTP/1.1" 200 21269 +[13/Aug/2018 20:19:15] "GET /static/xadmin/css/xadmin.page.dashboard.css HTTP/1.1" 200 790 +[13/Aug/2018 20:19:15] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:15] "GET /static/xadmin/js/xadmin.plugin.portal.js HTTP/1.1" 200 1000 +[13/Aug/2018 20:19:15] "GET /static/xadmin/js/xadmin.page.dashboard.js HTTP/1.1" 200 3208 +[13/Aug/2018 20:19:22] "GET /xadmin/auth/group/ HTTP/1.1" 200 30475 +[13/Aug/2018 20:19:22] "GET /static/xadmin/css/xadmin.form.css HTTP/1.1" 200 3763 +[13/Aug/2018 20:19:22] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:22] "GET /static/xadmin/js/xadmin.plugin.details.js HTTP/1.1" 200 2319 +[13/Aug/2018 20:19:22] "GET /static/xadmin/js/xadmin.plugin.bookmark.js HTTP/1.1" 200 529 +[13/Aug/2018 20:19:22] "GET /static/xadmin/js/xadmin.plugin.filters.js HTTP/1.1" 200 1990 +[13/Aug/2018 20:19:22] "GET /static/xadmin/js/xadmin.page.list.js HTTP/1.1" 200 1105 +[13/Aug/2018 20:19:22] "GET /static/xadmin/js/xadmin.page.form.js HTTP/1.1" 200 1948 +[13/Aug/2018 20:19:31] "GET /static/xadmin/vendor/bootstrap-datepicker/css/datepicker.css HTTP/1.1" 200 10225 +[13/Aug/2018 20:19:31] "GET /xadmin/xadmin/log/ HTTP/1.1" 200 44753 +[13/Aug/2018 20:19:31] "GET /static/xadmin/vendor/select2/select2.css HTTP/1.1" 200 19226 +[13/Aug/2018 20:19:31] "GET /static/xadmin/vendor/selectize/selectize.css HTTP/1.1" 200 8425 +[13/Aug/2018 20:19:31] "GET /static/xadmin/vendor/selectize/selectize.bootstrap3.css HTTP/1.1" 200 10602 +[13/Aug/2018 20:19:31] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:32] "GET /static/xadmin/js/xadmin.widget.datetime.js HTTP/1.1" 200 2979 +[13/Aug/2018 20:19:32] "GET /static/xadmin/vendor/select2/select2_locale_zh-hans.js HTTP/1.1" 200 694 +[13/Aug/2018 20:19:32] "GET /static/xadmin/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js HTTP/1.1" 200 32656 +[13/Aug/2018 20:19:32] "GET /static/xadmin/js/xadmin.widget.select.js HTTP/1.1" 200 1344 +[13/Aug/2018 20:19:32] "GET /static/xadmin/js/xadmin.plugin.actions.js HTTP/1.1" 200 4198 +[13/Aug/2018 20:19:32] "GET /static/xadmin/vendor/selectize/selectize.js HTTP/1.1" 200 98602 +[13/Aug/2018 20:19:32] "GET /static/xadmin/vendor/select2/select2.js HTTP/1.1" 200 104906 +[13/Aug/2018 20:19:38] "GET /xadmin/projects/language/ HTTP/1.1" 200 33003 +[13/Aug/2018 20:19:38] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:39] "GET /xadmin/projects/project/ HTTP/1.1" 200 36710 +[13/Aug/2018 20:19:39] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:41] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:41] "GET /xadmin/projects/file/ HTTP/1.1" 200 115125 +[13/Aug/2018 20:19:45] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:46] "GET /xadmin/projects/file/8437/update/ HTTP/1.1" 200 544925 +[13/Aug/2018 20:19:46] "GET /static/xadmin/js/xadmin.plugin.quick-form.js HTTP/1.1" 200 7546 +[13/Aug/2018 20:19:54] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:54] "GET /xadmin/operations/question/ HTTP/1.1" 200 68380 +[13/Aug/2018 20:19:56] "GET /xadmin/operations/questioncomment/ HTTP/1.1" 200 32467 +[13/Aug/2018 20:19:56] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:19:58] "GET /xadmin/operations/questionanswer/ HTTP/1.1" 200 51714 +[13/Aug/2018 20:19:58] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:00] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:00] "GET /xadmin/operations/annotation/ HTTP/1.1" 200 85379 +[13/Aug/2018 20:20:02] "GET /xadmin/operations/annotationcomment/ HTTP/1.1" 200 36562 +[13/Aug/2018 20:20:02] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:04] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:04] "GET /xadmin/operations/annotation/ HTTP/1.1" 200 85379 +[13/Aug/2018 20:20:05] "GET /xadmin/operations/articlecomment/ HTTP/1.1" 200 30659 +[13/Aug/2018 20:20:05] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:07] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:07] "GET /xadmin/operations/annotation/ HTTP/1.1" 200 85379 +Internal Server Error: /xadmin/operations/annotation/5456/update/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/options.py", line 566, in get_field + return self.fields_map[field_name] +KeyError: 'vote' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 330, in label_for_field + field = _get_non_gfk_field(model._meta, name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 307, in _get_non_gfk_field + field = opts.get_field(name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/options.py", line 568, in get_field + raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name)) +django.core.exceptions.FieldDoesNotExist: Annotation has no field named 'vote' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 158, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 156, in _get_response + response = response.render() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/response.py", line 106, in render + self.content = self.rendered_content + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/response.py", line 83, in rendered_content + content = template.render(context, self._request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 61, in render + return self.template.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 175, in render + return self._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 155, in render + return compiled_parent._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 155, in render + return compiled_parent._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 67, in render + result = block.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 67, in render + result = block.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 199, in render + c = self.get_render(context).flatten() + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 118, in get_render + actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/helper.py", line 308, in render_layout + template_pack=template_pack + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 140, in render + return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 361, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 361, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 287, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/edit.py", line 58, in render + result = self.detail.get_field_result(field) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 80, in method + return filter_chain(filters, len(filters) - 1, _inner_method, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 63, in filter_chain + return filter_chain(filters, token - 1, _inner_method, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 49, in filter_chain + return func() + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 62, in _inner_method + return fm(func if fargs[1] == '__' else func(), *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 74, in _inner_method + return func(self, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 266, in get_field_result + return ResultField(self.obj, field_name, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 75, in __init__ + self.init() + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 80, in init + return_attr=False + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 351, in label_for_field + raise AttributeError(message) +AttributeError: Unable to lookup 'vote' on Annotation or operationsannotationAdminDetailAdminUtilDetailAdminViewModelAdminViewGlobalSettingsCommAdminViewBaseSettingBaseAdminViewBaseAdminObjectViewobject +[13/Aug/2018 20:20:12] "GET /xadmin/operations/annotation/5456/update/ HTTP/1.1" 500 605724 +[13/Aug/2018 20:20:13] "GET /xadmin/operations/annotation/ HTTP/1.1" 200 85379 +[13/Aug/2018 20:20:16] "GET /xadmin/operations/annotationcomment/?_rel_annotation__id__exact=5453 HTTP/1.1" 200 32615 +[13/Aug/2018 20:20:17] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7684 +[13/Aug/2018 20:20:19] "GET /xadmin/operations/annotation/ HTTP/1.1" 200 85379 +Internal Server Error: /xadmin/operations/annotation/5453/update/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/options.py", line 566, in get_field + return self.fields_map[field_name] +KeyError: 'vote' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 330, in label_for_field + field = _get_non_gfk_field(model._meta, name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 307, in _get_non_gfk_field + field = opts.get_field(name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/options.py", line 568, in get_field + raise FieldDoesNotExist("%s has no field named '%s'" % (self.object_name, field_name)) +django.core.exceptions.FieldDoesNotExist: Annotation has no field named 'vote' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 158, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 156, in _get_response + response = response.render() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/response.py", line 106, in render + self.content = self.rendered_content + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/response.py", line 83, in rendered_content + content = template.render(context, self._request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 61, in render + return self.template.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 175, in render + return self._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 155, in render + return compiled_parent._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 155, in render + return compiled_parent._render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/test/utils.py", line 98, in instrumented_test_render + return self.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 67, in render + result = block.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader_tags.py", line 67, in render + result = block.nodelist.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 943, in render + bit = node.render_annotated(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 910, in render_annotated + return self.render(context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 199, in render + c = self.get_render(context).flatten() + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 118, in get_render + actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/helper.py", line 308, in render_layout + template_pack=template_pack + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 140, in render + return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 361, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 361, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 287, in render + fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in get_rendered_fields + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/layout.py", line 104, in + for field in self.fields + File "/root//envs/codepedia2/lib/python3.6/site-packages/crispy_forms/utils.py", line 62, in render_field + form, form_style, context, template_pack=template_pack, + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/edit.py", line 58, in render + result = self.detail.get_field_result(field) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 80, in method + return filter_chain(filters, len(filters) - 1, _inner_method, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 63, in filter_chain + return filter_chain(filters, token - 1, _inner_method, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 49, in filter_chain + return func() + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 62, in _inner_method + return fm(func if fargs[1] == '__' else func(), *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/base.py", line 74, in _inner_method + return func(self, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 266, in get_field_result + return ResultField(self.obj, field_name, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 75, in __init__ + self.init() + File "/root//envs/codepedia2/lib/python3.6/site-packages/xadmin/views/detail.py", line 80, in init + return_attr=False + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/contrib/admin/utils.py", line 351, in label_for_field + raise AttributeError(message) +AttributeError: Unable to lookup 'vote' on Annotation or operationsannotationAdminDetailAdminUtilDetailAdminViewModelAdminViewGlobalSettingsCommAdminViewBaseSettingBaseAdminViewBaseAdminObjectViewobject +[13/Aug/2018 20:20:30] "GET /xadmin/operations/annotation/5453/update/ HTTP/1.1" 500 605725 +Internal Server Error: /projects/new +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 154, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[13/Aug/2018 20:21:50] "GET /projects/new HTTP/1.1" 500 83338 +[13/Aug/2018 20:21:54] "GET /projects/new/ HTTP/1.1" 200 6619 +Internal Server Error: /projects/new/favicon.ico +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 154, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[13/Aug/2018 20:23:52] "GET /projects/new/favicon.ico HTTP/1.1" 500 83554 +Performing system checks... + +System check identified no issues (0 silenced). +August 08, 2018 - 15:14:05 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1 +-1 +-1 +1 +1 +-1 +-1 +1 +1 +-1 +-1 +1 +-1 +-1 +1 +-1 +1 +1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1 +-1 +1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +-1 +-1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1 +1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +-1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1 +-1 +1 +-1 +-1 +1 +-1 +1 +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +1 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 20:26:45 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 20:26:48 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 20:27:05 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:36:19 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Unhandled exception in thread started by .wrapper at 0x7f66e8300048> +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper + fn(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 112, in inner_run + autoreload.raise_last_exception() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception + raise _exception[1] + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/__init__.py", line 327, in execute + autoreload.check_errors(django.setup)() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper + fn(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/__init__.py", line 24, in setup + apps.populate(settings.INSTALLED_APPS) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate + app_config.import_models() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models + self.models_module = import_module(models_module_name) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/apps/actions/models.py", line 3, in + from operations.models import Question, QuestionAnswer, Article, Annotation, Issue, IssueAnswer + File "/projects/codepedia-test/codepedia2.0/apps/operations/models.py", line 45, in + class Annotation(models.Model): + File "/projects/codepedia-test/codepedia2.0/apps/operations/models.py", line 69, in Annotation + commit_is_latest +NameError: name 'commit_is_latest' is not defined +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:37:32 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:37:47 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:38:00 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:39:45 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:40:04 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:40:14 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:41:08 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:44:50 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:45:03 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:45:06 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:45:08 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 22:45:11 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 23:45:29 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 23:48:12 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 13, 2018 - 23:48:17 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Unhandled exception in thread started by .wrapper at 0x7fd9c8fae950> +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper + fn(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run + self.check(display_num_errors=True) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check + include_deployment_checks=include_deployment_checks, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 351, in _run_checks + return checks.run_checks(**kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks + new_errors = check(app_configs=app_configs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique + all_namespaces = _load_all_namespaces(resolver) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces + url_patterns = getattr(resolver, 'url_patterns', []) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 540, in url_patterns + patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in urlconf_module + return import_module(self.urlconf_name) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/Codepedia2/urls.py", line 38, in + path('operations/', include('operations.urls', namespace='operations')), + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/conf.py", line 34, in include + urlconf_module = import_module(urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/apps/operations/urls.py", line 18, in + from .views import ShowIssueQuestionView, ShowAnnotationView, ShowNavigationView + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 273 + git. + ^ +SyntaxError: invalid syntax +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f05726e2950> +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper + fn(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run + self.check(display_num_errors=True) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check + include_deployment_checks=include_deployment_checks, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 351, in _run_checks + return checks.run_checks(**kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks + new_errors = check(app_configs=app_configs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique + all_namespaces = _load_all_namespaces(resolver) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces + url_patterns = getattr(resolver, 'url_patterns', []) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 540, in url_patterns + patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in urlconf_module + return import_module(self.urlconf_name) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/Codepedia2/urls.py", line 38, in + path('operations/', include('operations.urls', namespace='operations')), + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/conf.py", line 34, in include + urlconf_module = import_module(urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/apps/operations/urls.py", line 18, in + from .views import ShowIssueQuestionView, ShowAnnotationView, ShowNavigationView + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 274 + git.get_current_commitid_by_projectname(project_name): + ^ +SyntaxError: invalid syntax +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f859a60d950> +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper + fn(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run + self.check(display_num_errors=True) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 364, in check + include_deployment_checks=include_deployment_checks, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/management/base.py", line 351, in _run_checks + return checks.run_checks(**kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/registry.py", line 73, in run_checks + new_errors = check(app_configs=app_configs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique + all_namespaces = _load_all_namespaces(resolver) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces + url_patterns = getattr(resolver, 'url_patterns', []) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 540, in url_patterns + patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/utils/functional.py", line 36, in __get__ + res = instance.__dict__[self.name] = self.func(instance) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/resolvers.py", line 533, in urlconf_module + return import_module(self.urlconf_name) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/Codepedia2/urls.py", line 38, in + path('operations/', include('operations.urls', namespace='operations')), + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/conf.py", line 34, in include + urlconf_module = import_module(urlconf_module) + File "/root//envs/codepedia2/lib/python3.6/importlib/__init__.py", line 126, in import_module + return _bootstrap._gcd_import(name[level:], package, level) + File "", line 994, in _gcd_import + File "", line 971, in _find_and_load + File "", line 955, in _find_and_load_unlocked + File "", line 665, in _load_unlocked + File "", line 678, in exec_module + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/apps/operations/urls.py", line 18, in + from .views import ShowIssueQuestionView, ShowAnnotationView, ShowNavigationView + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 274 + git.get_current_commitid_by_projectname(project_name): + ^ +SyntaxError: invalid syntax +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:32:38 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:32:50 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:32:57 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:33:00 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +[14/Aug/2018 08:33:36] "GET / HTTP/1.1" 200 24219 +[14/Aug/2018 08:33:36] "GET /static/css/base.css HTTP/1.1" 200 18934 +[14/Aug/2018 08:33:36] "GET /static/css/common.css HTTP/1.1" 200 8146 +[14/Aug/2018 08:33:36] "GET /static/css/jstreeStyle.css HTTP/1.1" 304 0 +[14/Aug/2018 08:33:36] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[14/Aug/2018 08:33:36] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[14/Aug/2018 08:33:36] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[14/Aug/2018 08:33:36] "GET /static/js/base.js HTTP/1.1" 200 21228 +[14/Aug/2018 08:33:36] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[14/Aug/2018 08:33:36] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[14/Aug/2018 08:33:36] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[14/Aug/2018 08:33:37] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[14/Aug/2018 08:33:37] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[14/Aug/2018 08:33:38] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +Not Found: /favicon.ico +[14/Aug/2018 08:33:39] "GET /favicon.ico HTTP/1.1" 404 3103 +[14/Aug/2018 08:33:40] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42002 +[14/Aug/2018 08:33:41] "GET /static/css/monokai-sublime.css HTTP/1.1" 304 0 +[14/Aug/2018 08:33:41] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[14/Aug/2018 08:33:41] "GET /static/js/source.js HTTP/1.1" 200 47594 +[14/Aug/2018 08:33:41] "GET /static/css/32px.png HTTP/1.1" 304 0 +[14/Aug/2018 08:33:41] "GET /static/css/throbber.gif HTTP/1.1" 304 0 +[14/Aug/2018 08:33:41] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[14/Aug/2018 08:33:42] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[14/Aug/2018 08:33:42] "POST /operations/right/ HTTP/1.1" 200 2692 +[14/Aug/2018 08:33:43] "POST /operations/get_codereading_content/ HTTP/1.1" 200 761727 +Internal Server Error: /operations/add_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +_mysql_exceptions.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") + +The above exception was the direct cause of the following exception: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 260, in post + if exist_record: + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 276, in __bool__ + self._fetch_all() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all + self._result_cache = list(self._iterable_class(self)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__ + results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1068, in execute_sql + cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute + return super().execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute + return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers + return executor(sql, params, many, context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ + raise dj_exc_value.with_traceback(traceback) from exc_value + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +django.db.utils.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") +[14/Aug/2018 08:34:03] "POST /operations/add_annotation/ HTTP/1.1" 500 22824 +Internal Server Error: /operations/add_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +_mysql_exceptions.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") + +The above exception was the direct cause of the following exception: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 260, in post + if exist_record: + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 276, in __bool__ + self._fetch_all() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all + self._result_cache = list(self._iterable_class(self)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__ + results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1068, in execute_sql + cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute + return super().execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute + return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers + return executor(sql, params, many, context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ + raise dj_exc_value.with_traceback(traceback) from exc_value + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +django.db.utils.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") +[14/Aug/2018 08:34:06] "POST /operations/add_annotation/ HTTP/1.1" 500 22824 +Internal Server Error: /operations/add_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +_mysql_exceptions.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") + +The above exception was the direct cause of the following exception: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 260, in post + if exist_record: + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 276, in __bool__ + self._fetch_all() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all + self._result_cache = list(self._iterable_class(self)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__ + results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1068, in execute_sql + cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute + return super().execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute + return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers + return executor(sql, params, many, context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ + raise dj_exc_value.with_traceback(traceback) from exc_value + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +django.db.utils.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") +[14/Aug/2018 08:35:31] "POST /operations/add_annotation/ HTTP/1.1" 500 22824 +Internal Server Error: /operations/add_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +_mysql_exceptions.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") + +The above exception was the direct cause of the following exception: + +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner + response = get_response(request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 128, in _get_response + response = self.process_exception_by_middleware(e, request) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 69, in view + return self.dispatch(request, *args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/views/generic/base.py", line 89, in dispatch + return handler(request, *args, **kwargs) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 260, in post + if exist_record: + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 276, in __bool__ + self._fetch_all() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 1179, in _fetch_all + self._result_cache = list(self._iterable_class(self)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__ + results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1068, in execute_sql + cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 100, in execute + return super().execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 68, in execute + return self._execute_with_wrappers(sql, params, many=False, executor=self._execute) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers + return executor(sql, params, many, context) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__ + raise dj_exc_value.with_traceback(traceback) from exc_value + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/utils.py", line 85, in _execute + return self.cursor.execute(sql, params) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute + return self.cursor.execute(query, args) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 250, in execute + self.errorhandler(self, exc, value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler + raise errorvalue + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 247, in execute + res = self._query(query) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 411, in _query + rowcount = self._do_query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/cursors.py", line 374, in _do_query + db.query(q) + File "/root//envs/codepedia2/lib/python3.6/site-packages/MySQLdb/connections.py", line 277, in query + _mysql.connection.query(self, query) +django.db.utils.OperationalError: (1054, "Unknown column 'Annotation.commit_id' in 'field list'") +[14/Aug/2018 08:35:43] "POST /operations/add_annotation/ HTTP/1.1" 500 22824 +[14/Aug/2018 08:37:56] "POST /operations/add_annotation/ HTTP/1.1" 200 59 +[14/Aug/2018 08:38:08] "POST /operations/add_annotation/ HTTP/1.1" 200 71 +[14/Aug/2018 08:38:11] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42002 +[14/Aug/2018 08:38:12] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[14/Aug/2018 08:38:12] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[14/Aug/2018 08:38:13] "POST /operations/right/ HTTP/1.1" 200 2694 +[14/Aug/2018 08:38:14] "POST /operations/get_codereading_content/ HTTP/1.1" 200 766896 +[14/Aug/2018 08:38:25] "POST /operations/add_annotation/ HTTP/1.1" 200 59 +[14/Aug/2018 08:38:32] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42002 +[14/Aug/2018 08:38:32] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[14/Aug/2018 08:38:33] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[14/Aug/2018 08:38:33] "POST /operations/right/ HTTP/1.1" 200 2694 +[14/Aug/2018 08:38:34] "POST /operations/get_codereading_content/ HTTP/1.1" 200 767368 +[14/Aug/2018 08:39:45] "POST /operations/add_annotation/ HTTP/1.1" 200 59 +[14/Aug/2018 08:40:21] "POST /operations/add_annotation/ HTTP/1.1" 200 59 +[14/Aug/2018 08:40:49] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 42002 +[14/Aug/2018 08:40:50] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 135 +[14/Aug/2018 08:40:51] "POST /operations/right/ HTTP/1.1" 200 2694 +[14/Aug/2018 08:40:51] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[14/Aug/2018 08:40:52] "POST /operations/get_codereading_content/ HTTP/1.1" 200 768326 +[14/Aug/2018 08:41:06] "POST /operations/add_annotation/ HTTP/1.1" 200 59 +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:33:23 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:42:28 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C. +Performing system checks... + +System check identified no issues (0 silenced). +August 14, 2018 - 08:42:40 +Django version 2.0.6, using settings 'Codepedia2.settings' +Starting development server at http://0.0.0.0:9000/ +Quit the server with CONTROL-C.