diff --git a/apps/operations/urls.py b/apps/operations/urls.py index 0f1403d..aa5ebe4 100644 --- a/apps/operations/urls.py +++ b/apps/operations/urls.py @@ -17,7 +17,7 @@ Including another URLconf from django.urls import path from .views import ShowIssueQuestionView, ShowAnnotationView, ShowNavigationView from .views import AddAnnotationView, AddArticleView, AddQuestionView, AddIssueAnswerView, AddCommentView -from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView +from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView,RightView from .views import AddVoteView, AcceptAnswerView, ShowMethodInfo, GetHotestIssuesView, Get_CodeReading_Content_View, AddQuestionAnswerView, GetAddtabParasView,ModifyAnnotationView app_name = "operations" @@ -42,5 +42,6 @@ urlpatterns = [ path('get_codereading_content/', Get_CodeReading_Content_View.as_view(),name='get_codereading_content'), path('add_question_answer/',AddQuestionAnswerView.as_view(), name='add_question_answer/'), path('get_addtab_paras/', GetAddtabParasView.as_view(),name='get_addtab_paras/'), - path('modify_anno/', ModifyAnnotationView.as_view(),name='modify_anno/') + path('modify_anno/', ModifyAnnotationView.as_view(),name='modify_anno/'), + path('right/',RightView.as_view(),name='right/') ] diff --git a/apps/operations/views.py b/apps/operations/views.py index 812b527..f593c4f 100644 --- a/apps/operations/views.py +++ b/apps/operations/views.py @@ -16,7 +16,7 @@ from .models import Vote from users.models import User from .forms import NewArticleForm from projects.models import File -from projects.models import Language, Project, FileAnnoIssueSummary +from projects.models import Language, Project, FileSummary from django.template.loader import render_to_string import base64 @@ -732,8 +732,7 @@ class Get_CodeReading_Content_View(View): return HttpResponse(json.dumps({"status": "success", "html_str": html_str}), content_type='application/json') # 根据path确定它是不是文件 # (目前的判断方法是查看File_Anno_Issue_Summary表中是否有parentDir为传入的path,如果有说明是文件夹) - isDir = (len(FileAnnoIssueSummary.objects.filter(project_id=project_id, parent_path=path)) > 0) - if isDir: + isDir = (len(FileAnnoIssueSummary.objects.filter(project_id=project_id,parent_path=path))>0) if isDir: html_str = get_dir_info(project_id,path) return HttpResponse(json.dumps({"status": "success", "html_str": html_str,"is_dir":"1"}), content_type='application/json') else: @@ -741,20 +740,6 @@ class Get_CodeReading_Content_View(View): return HttpResponse(json.dumps({"status": "success", "html_str": html_str,"is_dir":"0"}), content_type='application/json') # html_str = html_str.replace('style="background-color: white;"',"") -def get_self_annos_by_fileid(user_id,file_id): - self_anno_map = {} - try: - annos = Annotation.objects.filter(file_id=file_id,user_id=user_id) - for anno in annos: - self_anno_map[str(anno.linenum)] = anno.content - return self_anno_map - except: - return self_anno_map - - - - -def get_code(request,project_id,path): project = Project.objects.filter(id=project_id).first() file = File.objects.filter(path=path, project_id=project_id).first() fileid = file.pk @@ -774,11 +759,6 @@ def get_code(request,project_id,path): for i in questions: questions_count[str(i['linenum'])] = i['nums'] - if request.user.is_authenticated: - self_annos = get_self_annos_by_fileid(request.user.pk,fileid) - else: - self_annos = {} - html_str = render_to_string('projects/filesub/code-reading.html', locals()) return html_str diff --git a/apps/projects/migrations/0010_filesummary.py b/apps/projects/migrations/0010_filesummary.py new file mode 100644 index 0000000..c60dbd9 --- /dev/null +++ b/apps/projects/migrations/0010_filesummary.py @@ -0,0 +1,33 @@ +# Generated by Django 2.0.6 on 2018-07-31 21:15 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0009_fileannoissuesummary_parent_path'), + ] + + operations = [ + migrations.CreateModel( + name='FileSummary', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('anno_num', models.IntegerField(default=0, verbose_name='注释总数')), + ('isuue_num', models.IntegerField(default=0, verbose_name='问题总数')), + ('parent_path', models.CharField(default='', max_length=255, verbose_name='父文件夹路径')), + ('line_num', models.IntegerField(default=0, verbose_name='代码总数')), + ('method_num', models.IntegerField(default=0, verbose_name='方法总数')), + ('file_num', models.IntegerField(default=0, verbose_name='文件总数')), + ('file', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='projects.File', verbose_name='文件')), + ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='projects.Project', verbose_name='文件')), + ], + options={ + 'verbose_name': '文件汇总', + 'verbose_name_plural': '文件汇总', + 'db_table': 'File_Summary', + }, + ), + ] diff --git a/apps/projects/migrations/0011_filesummary_current_path.py b/apps/projects/migrations/0011_filesummary_current_path.py new file mode 100644 index 0000000..eb28325 --- /dev/null +++ b/apps/projects/migrations/0011_filesummary_current_path.py @@ -0,0 +1,18 @@ +# Generated by Django 2.0.6 on 2018-07-31 22:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0010_filesummary'), + ] + + operations = [ + migrations.AddField( + model_name='filesummary', + name='current_path', + field=models.CharField(default='', max_length=255, verbose_name='文件路径'), + ), + ] diff --git a/apps/projects/models.py b/apps/projects/models.py index 8b4fb47..42b2fe2 100644 --- a/apps/projects/models.py +++ b/apps/projects/models.py @@ -133,7 +133,19 @@ class FileAnnoIssueSummary(models.Model): verbose_name = "文件注释问题总数" verbose_name_plural = verbose_name - - - - +class FileSummary(models.Model): + project = models.ForeignKey( + Project, verbose_name='文件', on_delete=models.CASCADE) + file = models.ForeignKey(File, verbose_name='文件', on_delete=models.CASCADE) + anno_num = models.IntegerField(default=0, verbose_name='注释总数') + isuue_num = models.IntegerField(default=0, verbose_name='问题总数') + parent_path = models.CharField(default="",max_length=255, verbose_name='父文件夹路径') + line_num = models.IntegerField(default=0, verbose_name='代码总数') + method_num = models.IntegerField(default=0, verbose_name='方法总数') + file_num = models.IntegerField(default=0, verbose_name='文件总数') + current_path = models.CharField(default="",max_length=255, verbose_name='文件路径') + + class Meta: + db_table = 'File_Summary' + verbose_name = "文件汇总" + verbose_name_plural = verbose_name diff --git a/apps/projects/views.py b/apps/projects/views.py index 2fca249..d6acc8d 100644 --- a/apps/projects/views.py +++ b/apps/projects/views.py @@ -9,14 +9,14 @@ from datetime import datetime from .task import import_project from .models import Project, File from .forms import NewProjectForm -from operations.models import Article, Annotation, Issue, QuestionAnswer +from operations.models import Article, Annotation, Issue, QuestionAnswer,AnnotationStrategy from pure_pagination import Paginator, EmptyPage, PageNotAnInteger from utils import get_project_tree,scanner_project + logger = logging.getLogger('django') sourcepath = settings.SOURCEPATH - class NewProjectView(View): def get(self, request): project_form = NewProjectForm() @@ -34,6 +34,14 @@ class NewProjectView(View): try: # logging.info(str(datetime.now()) + '准备导入工程') import_project(project_id, root_path) + # scanner_project + scanner_project.get_anno_issue_summary("/opt/opengrok/source/"+project.name, project.id) + # 设置默认的权限,默认为所有人都可以看见 + stragegy = AnnotationStrategy() + stragegy.project = project + stragegy.choice = 1 + + return HttpResponse("Scanner Done!!") # logging.info(str(datetime.now()) + '导入工程完成') all_projects = Project.objects.all() return render(request, 'projects/list.html', locals()) @@ -172,8 +180,13 @@ class FileListlView(View): 'hot_objs': hot_blobs, }) - +from django.http import HttpResponse class ScannerProjectView(View): def get(self,request): - scanner_project.get_anno_issue_summary("/opt/opengrok/source/Notes", 1) - + project_name = request.GET.get('project_name','') + try: + project = Project.objects.get(name=project_name) + scanner_project.get_anno_issue_summary("/opt/opengrok/source/"+project_name, project.pk) + return HttpResponse("Scanner Done!!") + except: + return HttpResponse("Scanner Fail!!") diff --git a/apps/users/migrations/0003_auto_20180731_2115.py b/apps/users/migrations/0003_auto_20180731_2115.py new file mode 100644 index 0000000..fec18e8 --- /dev/null +++ b/apps/users/migrations/0003_auto_20180731_2115.py @@ -0,0 +1,18 @@ +# Generated by Django 2.0.6 on 2018-07-31 21:15 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0002_emailverifyrecord'), + ] + + operations = [ + migrations.AlterField( + model_name='user', + name='avatar', + field=models.ImageField(default='avatar/users/default.png', upload_to='avatar/'), + ), + ] diff --git a/apps/users/views.py b/apps/users/views.py index 21fef09..194a87d 100644 --- a/apps/users/views.py +++ b/apps/users/views.py @@ -22,6 +22,7 @@ import linecache # Create your views here. +# 搜索自定义django auther class CustomBackend(ModelBackend): #通过邮箱登陆 def authenticate(self, email=None, password=None, **kwargs): try: @@ -143,7 +144,6 @@ class UserInfoAnnoView(View): all_files = all_annos.order_by('-update_time') else: all_files = all_annos.order_by('-voteup') - print(all_annos) # 根据anno获取到评论的数目 comment_nums = [] for anno in all_annos: @@ -181,7 +181,6 @@ class LoginView(View): email = request.POST.get('email', '') pass_word = request.POST.get('password', '') user = authenticate(email=email, password=pass_word) - print(user) # 如果本地用户没有获取到,前往trustie获取用户 if user is not None: if user.is_active: diff --git a/apps/utils/scanner_project.py b/apps/utils/scanner_project.py index 4d116ff..3818277 100644 --- a/apps/utils/scanner_project.py +++ b/apps/utils/scanner_project.py @@ -1,7 +1,7 @@ from operations.models import Annotation,Issue from projects.models import File,Project from django.db.models import Count -from projects.models import FileAnnoIssueSummary +from projects.models import FileSummary import os @@ -11,9 +11,13 @@ fileid_issue_sum = {} fileid_parentpath = {} filepath_id, fileid_annonum,fileid_issuenum=None,None,None +fileid_method_sum = {} +fileid_file_sum = {} +fileid_line_sum = {} + def get_anno_issue_summary(project_path,project_id): - global project_name, filepath_id, fileid_annonum, fileid_issuenum + global project_name, filepath_id, fileid_annonum, fileid_issuenum,fileid_parentpath,fileid_method_sum,fileid_file_sum,fileid_line_sum,fileid_anno_sum,fileid_issue_sum project_name = project_path[project_path.rfind('/')+1:] print(project_name) @@ -24,18 +28,28 @@ def get_anno_issue_summary(project_path,project_id): # print(filepath_id) projectAnnoNum,projectIssueNum=deepSearch(project_path) + projectMethods,projectFiles,projectLines = deepSearchForMethod(project_path) + root_fileid = filepath_id[""] fileid_anno_sum[root_fileid]=projectAnnoNum fileid_issue_sum[root_fileid]=projectIssueNum fileid_parentpath[root_fileid]="self" + fileid_file_sum[root_fileid]=projectFiles + fileid_method_sum[root_fileid]=projectMethods + fileid_line_sum[root_fileid]=projectLines + save(project_id) def save(project_id): for file_id in filepath_id.values(): print(file_id) - obj = FileAnnoIssueSummary() + try: + obj = FileSummary.objects.get(file_id=file_id) + except: + print(111) + obj = FileSummary() obj.file = File.objects.get(pk=file_id) obj.project = Project.objects.get(pk=project_id) @@ -44,12 +58,15 @@ def save(project_id): obj.anno_num = fileid_anno_sum[file_id] obj.isuue_num = fileid_issue_sum[file_id] obj.parent_path = fileid_parentpath[file_id] - + obj.file_num = fileid_file_sum[file_id] + obj.line_num = fileid_line_sum[file_id] + obj.method_num = fileid_method_sum[file_id] + obj.current_path = obj.file.path obj.save() def deepSearch(current_path): - global fileid_anno_sum,fileid_issue_sum + global fileid_anno_sum,fileid_issue_sum,fileid_parentpath index=current_path.find(project_name) files = os.listdir(current_path) @@ -60,8 +77,8 @@ def deepSearch(current_path): filePath = current_path + os.path.sep + files[i] # print(filePath) relative_path = filePath[index+len(project_name):] - #相对路径是否在filepath_id中,可能会有这样的情况, - #路径没有对应的file_id,也就是当前路劲没有收录 + # 相对路径是否在filepath_id中,可能会有这样的情况, + # 路径没有对应的file_id,也就是当前路劲没有收录 if relative_path not in filepath_id: continue file_id = filepath_id[relative_path] @@ -132,3 +149,77 @@ def getFileIssueInfo(project_id): else: fileid_issuenum[issue.file_id] = 1 return fileid_issuenum + + +def deepSearchForMethod(current_path): + global fileid_method_sum,fileid_line_sum,fileid_file_sum + + index=current_path.find(project_name) + files = os.listdir(current_path) + + currentFiles = 0 + currentLines = 0 + currentMethods = 0 + + for i in range(len(files)): + filePath = current_path + os.path.sep + files[i] + # print(filePath) + relative_path = filePath[index+len(project_name):] + # 相对路径是否在filepath_id中,可能会有这样的情况, + # 路径没有对应的file_id,也就是当前路劲没有收录 + if relative_path not in filepath_id: + continue + file_id = filepath_id[relative_path] + + # 获取当前文件/文件夹下的问题和注释总数 + if os.path.isdir(filePath): + methods,filenum,lines= deepSearchForMethod(filePath) + + fileid_method_sum[file_id] = methods + currentMethods += fileid_method_sum[file_id] + fileid_file_sum[file_id] = filenum + currentFiles += fileid_file_sum[file_id] + fileid_line_sum[file_id] = lines + currentLines += fileid_line_sum[file_id] + + else: + fileid_method_sum[file_id] = getFileMethodCount(project_name,relative_path) + currentMethods += fileid_method_sum[file_id] + + fileid_file_sum[file_id] = 1 + currentFiles += fileid_file_sum[file_id] + + fileid_line_sum[file_id] = getFileLineNum(project_name,relative_path) + currentLines += fileid_line_sum[file_id] + + return currentMethods,currentFiles,currentLines + +import json +from django.conf import settings +import requests +# 获取单个文件的Method个数 +# 这个和之前的不一样,之前的是通过遍历数据库表,例如Annotation表和Issue表 +# 但是这个在数据库表中并无记录 +def getFileMethodCount(project_path,file_path): + try: + navigation_url = settings.OPENGROK_NAVIGATION_URL + navigation_url = navigation_url +project_path + file_path + response = requests.get(navigation_url).text + project_id = Project.objects.get(name=project_path) + file_id = File.objects.get(project_id=project_id,path=file_path).pk + response = response.replace("]],[","]]|[") + if response: + all_symbols = response.split("|") + if len(all_symbols)==3: + symbol = json.loads(all_symbols[2]) + return len(symbol[2]) + return 0; + except: + return 0; + +def getFileLineNum(project_path,file_path): + path ="/opt/opengrok/source/"+project_path+file_path + try: + return len(open(path,'rU').readlines()) + except: + return 0; \ No newline at end of file diff --git a/nohup.out b/nohup.out index b4f453b..aa8053b 100644 --- a/nohup.out +++ b/nohup.out @@ -24024,3 +24024,2664 @@ Starting development server at http://0.0.0.0:9000/ Quit the server with CONTROL-C. [31/Jul/2018 09:02:40] "POST /users/login/ HTTP/1.1" 200 4409 [31/Jul/2018 09:02:43] "POST /users/login/ HTTP/1.1" 200 4409 +Traceback (most recent call last): + File "manage.py", line 8, in + from django.core.management import execute_from_command_line +ModuleNotFoundError: No module named 'django' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "manage.py", line 14, in + import django +ModuleNotFoundError: No module named 'django' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "manage.py", line 17, in + "Couldn't import Django. Are you sure it's installed and " +ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? +[31/Jul/2018 10:59:40] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 43486 +[31/Jul/2018 10:59:40] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[31/Jul/2018 10:59:41] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[31/Jul/2018 10:59:41] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[31/Jul/2018 10:59:41] "POST /operations/get_hotest_issues/ HTTP/1.1" 200 1890 +[31/Jul/2018 10:59:41] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[31/Jul/2018 10:59:43] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[31/Jul/2018 14:31:18] code 400, message Bad request version ('MCTP/1.0') +[31/Jul/2018 14:31:18] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Performing system checks... + +System check identified no issues (0 silenced). +July 31, 2018 - 10:59:34 +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 +Unhandled exception in thread started by .wrapper at 0x7f698748f6a8> +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 46, in + path('file_right/',FileRightView.as_view(),name='file_right/') +NameError: name 'FileRightView' is not defined +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f12c22a76a8> +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 674, in exec_module + File "", line 781, in get_code + File "", line 741, in source_to_code + File "", line 219, in _call_with_frames_removed + File "/projects/codepedia-test/codepedia2.0/apps/operations/urls.py", line 20 + from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView,FileRightView + ^ +SyntaxError: invalid character in identifier +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f8dd6aae6a8> +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 20, in + from .views import UpdateAnnotationView, UpdateArticleView, UpdateQuestionView, UpdateAnswerView, UpdateCommentView,FileRightView +ImportError: cannot import name 'FileRightView' +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f48641426a8> +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 915 + def post(self, request): + ^ +SyntaxError: unexpected EOF while parsing +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +July 31, 2018 - 14:35: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). +July 31, 2018 - 14:36: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). +July 31, 2018 - 14:44: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). +July 31, 2018 - 14:44:58 +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. +[31/Jul/2018 14:53:15] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 43606 +[31/Jul/2018 14:53:16] "GET /static/js/source.js HTTP/1.1" 304 0 +[31/Jul/2018 14:53:16] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[31/Jul/2018 14:53:16] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[31/Jul/2018 14:53:17] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[31/Jul/2018 14:53:17] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[31/Jul/2018 14:53:17] "POST /operations/get_hotest_issues/ HTTP/1.1" 200 1890 +[31/Jul/2018 14:53:18] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[31/Jul/2018 14:53:18] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +Traceback (most recent call last): + File "manage.py", line 8, in + from django.core.management import execute_from_command_line +ModuleNotFoundError: No module named 'django' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "manage.py", line 14, in + import django +ModuleNotFoundError: No module named 'django' + +During handling of the above exception, another exception occurred: + +Traceback (most recent call last): + File "manage.py", line 17, in + "Couldn't import Django. Are you sure it's installed and " +ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? +[02/Aug/2018 10:46:12] "GET / HTTP/1.1" 200 24330 +[02/Aug/2018 10:46:13] "GET /static/css/base.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:13] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:13] "GET /static/css/prettify.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:13] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[02/Aug/2018 10:46:13] "GET /static/css/jstree.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:13] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +Not Found: /favicon.ico +[02/Aug/2018 10:46:14] "GET /favicon.ico HTTP/1.1" 404 3103 +[02/Aug/2018 10:46:15] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[02/Aug/2018 10:46:15] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:15] "GET /static/css/font-awesome.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:15] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:15] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 304 0 +[02/Aug/2018 10:46:15] "GET /static/js/prettify.js HTTP/1.1" 304 0 +[02/Aug/2018 10:46:15] "GET /static/js/source.js HTTP/1.1" 200 39565 +[02/Aug/2018 10:46:16] "GET /static/image/codepedia.png HTTP/1.1" 304 0 +[02/Aug/2018 10:46:16] "GET /static/css/monokai-sublime.css HTTP/1.1" 304 0 +[02/Aug/2018 10:46:16] "GET /static/image/users/default.png HTTP/1.1" 304 0 +[02/Aug/2018 10:46:16] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[02/Aug/2018 10:46:16] "POST /operations/right/ HTTP/1.1" 200 1040 +[02/Aug/2018 10:46:16] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[02/Aug/2018 10:46:17] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[02/Aug/2018 10:46:20] "GET /static/image/annotation.png HTTP/1.1" 304 0 +[02/Aug/2018 10:46:20] "GET /static/image/question.png HTTP/1.1" 304 0 +[02/Aug/2018 11:32:17] "GET / HTTP/1.1" 200 24330 +[02/Aug/2018 11:32:17] "GET /static/css/common.css HTTP/1.1" 304 0 +[02/Aug/2018 11:32:17] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 304 0 +[02/Aug/2018 11:32:17] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 304 0 +[02/Aug/2018 11:32:17] "GET /static/js/run_prettify.js HTTP/1.1" 304 0 +[02/Aug/2018 11:32:19] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 0 +[02/Aug/2018 11:32:19] "GET /static/js/base.js HTTP/1.1" 304 0 +[02/Aug/2018 11:32:19] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 304 0 +[02/Aug/2018 11:32:19] "GET /static/image/CodePedia.ico HTTP/1.1" 304 0 +[02/Aug/2018 11:32:19] "GET /media/avatar/users/default.png HTTP/1.1" 304 0 +[02/Aug/2018 11:32:21] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[02/Aug/2018 11:32:22] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[02/Aug/2018 11:32:22] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[02/Aug/2018 11:32:22] "POST /operations/right/ HTTP/1.1" 200 1040 +[02/Aug/2018 11:32:24] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[02/Aug/2018 11:32:29] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[02/Aug/2018 11:32:32] "POST /operations/add_vote/ HTTP/1.1" 200 68 +[02/Aug/2018 11:32:32] "POST /operations/add_vote/ HTTP/1.1" 200 87 +[02/Aug/2018 11:32:33] "POST /operations/add_vote/ HTTP/1.1" 200 68 +[02/Aug/2018 11:48:48] code 400, message Bad request version ('MCTP/1.0') +[02/Aug/2018 11:48:48] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[02/Aug/2018 12:45:37] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[02/Aug/2018 15:07:55] "GET / HTTP/1.1" 200 22531 +[02/Aug/2018 16:38:09] "GET / HTTP/1.1" 200 22531 +[02/Aug/2018 16:38:12] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[02/Aug/2018 16:38:12] "GET /static/js/source.js HTTP/1.1" 304 0 +[02/Aug/2018 16:38:12] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[02/Aug/2018 16:38:13] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Internal Server Error: /operations/get_codereading_content/ +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.ProgrammingError: (1146, "Table 'codepedia.File_Summary' doesn't exist") + +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 736, in post + isDir = (len(FileSummary.objects.filter(project_id=project_id,parent_path=path))>0) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/db/models/query.py", line 254, in __len__ + 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.ProgrammingError: (1146, "Table 'codepedia.File_Summary' doesn't exist") +[02/Aug/2018 16:38:13] "POST /operations/get_codereading_content/ HTTP/1.1" 500 22804 +[02/Aug/2018 16:38:13] "POST /operations/right/ HTTP/1.1" 200 1038 +[02/Aug/2018 16:38:13] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[03/Aug/2018 03:01:10] code 400, message Bad request version ('MCTP/1.0') +[03/Aug/2018 03:01:10] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/www.qq.com/404/search_children.js +[03/Aug/2018 05:43:50] "GET http://www.qq.com/404/search_children.js HTTP/1.1" 404 1723 +[03/Aug/2018 05:43:55] code 400, message Bad request syntax ('\x05\x01\x00') +[03/Aug/2018 05:43:55] "" 400 - +[03/Aug/2018 05:43:55] code 400, message Bad request syntax ('\x04\x01\x00PpTi4\x00') +[03/Aug/2018 05:43:55] "PpTi4" 400 - +[03/Aug/2018 06:58:19] code 400, message Bad request syntax ('\x05\x01\x00') +[03/Aug/2018 06:58:19] "" 400 - +[03/Aug/2018 06:58:28] code 400, message Bad request syntax ('\x05\x01\x00') +[03/Aug/2018 06:58:28] "" 400 - +[03/Aug/2018 06:58:36] code 400, message Bad request syntax ('\x05\x01\x00') +[03/Aug/2018 06:58:36] "" 400 - +[03/Aug/2018 06:59:55] code 400, message Bad HTTP/0.9 request type ('\x04\x01\x00P\x05¼Ò') +[03/Aug/2018 06:59:55] "P¼Ò " 400 - +[03/Aug/2018 07:00:03] code 400, message Bad HTTP/0.9 request type ('\x04\x01\x00P\x05¼Ò') +[03/Aug/2018 07:00:03] "P¼Ò " 400 - +[03/Aug/2018 07:00:13] code 400, message Bad HTTP/0.9 request type ('\x04\x01\x00P\x05¼Ò') +[03/Aug/2018 07:00:13] "P¼Ò " 400 - +Not Found: /http:/5.188.210.12/echo.php +[03/Aug/2018 07:01:36] "GET http://5.188.210.12/echo.php HTTP/1.1" 404 1689 +Not Found: /http:/httpheader.net/ +[03/Aug/2018 09:35:36] "GET http://httpheader.net/ HTTP/1.1" 404 1673 +[03/Aug/2018 09:35:57] code 400, message Bad request syntax ('\x04\x01\x00PÀcö60\x00') +[03/Aug/2018 09:35:57] "PÀcö60" 400 - +[03/Aug/2018 09:36:18] code 400, message Bad request syntax ('\x05\x01\x00') +[03/Aug/2018 09:36:18] "" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[03/Aug/2018 10:35:51] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[03/Aug/2018 16:15:00] "GET / HTTP/1.1" 200 22531 +[03/Aug/2018 16:15:00] "GET /static/css/base.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/css/common.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/css/jstree.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/site/css/style.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/css/prettify.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/js/run_prettify.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/js/base.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:00] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:01] "GET /static/image/CodePedia.ico HTTP/1.1" 304 0 +[03/Aug/2018 16:15:01] "GET /media/avatar/users/default.png HTTP/1.1" 304 0 +[03/Aug/2018 16:15:02] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[03/Aug/2018 16:15:03] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "GET /static/css/font-awesome.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "GET /static/css/monokai-sublime.css HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[03/Aug/2018 16:15:03] "GET /static/js/prettify.js HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "GET /static/js/source.js HTTP/1.1" 200 39565 +[03/Aug/2018 16:15:03] "GET /static/image/codepedia.png HTTP/1.1" 304 0 +[03/Aug/2018 16:15:03] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[03/Aug/2018 16:15:04] "POST /operations/right/ HTTP/1.1" 200 1040 +[03/Aug/2018 16:15:04] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[03/Aug/2018 16:15:05] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[03/Aug/2018 16:15:07] "GET /static/image/annotation.png HTTP/1.1" 304 0 +[03/Aug/2018 16:15:07] "GET /static/image/question.png HTTP/1.1" 304 0 +[03/Aug/2018 16:15:38] "POST /operations/show_annotation/ HTTP/1.1" 200 59 +[03/Aug/2018 16:15:42] "GET /users/login/ HTTP/1.1" 200 4384 +[03/Aug/2018 16:15:42] "GET /static/css/register.css HTTP/1.1" 200 1762 +[03/Aug/2018 16:15:42] "GET /static/js/users-common.js HTTP/1.1" 200 966 +[03/Aug/2018 16:15:42] "GET /static/image/login/bg_login.jpg HTTP/1.1" 200 29922 +[03/Aug/2018 16:15:44] "POST /users/login/ HTTP/1.1" 302 0 +[03/Aug/2018 16:15:44] "GET / HTTP/1.1" 200 24361 +Not Found: /media/avatar/2017/10/default_middile_7_LEZYdfm.png +[03/Aug/2018 16:15:45] "GET /media/avatar/2017/10/default_middile_7_LEZYdfm.png HTTP/1.1" 404 1898 +[03/Aug/2018 16:15:46] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41840 +[03/Aug/2018 16:15:46] "GET /static/image/users/default.png HTTP/1.1" 304 0 +[03/Aug/2018 16:15:47] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[03/Aug/2018 16:15:47] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[03/Aug/2018 16:15:47] "POST /operations/right/ HTTP/1.1" 200 1040 +[03/Aug/2018 16:15:49] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[03/Aug/2018 16:16:01] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:03] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:06] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:08] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:10] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:13] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 16:16:18] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[03/Aug/2018 18:16:32] "GET / HTTP/1.1" 200 22531 +[03/Aug/2018 18:16:33] "GET /static/css/base.css HTTP/1.1" 200 18934 +[03/Aug/2018 18:16:33] "GET /static/css/common.css HTTP/1.1" 200 8146 +[03/Aug/2018 18:16:33] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[03/Aug/2018 18:16:33] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[03/Aug/2018 18:16:33] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[03/Aug/2018 18:16:33] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[03/Aug/2018 18:16:33] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[03/Aug/2018 18:16:33] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[03/Aug/2018 18:16:34] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[03/Aug/2018 18:16:34] "GET /static/js/base.js HTTP/1.1" 200 21228 +[03/Aug/2018 18:16:34] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[03/Aug/2018 18:16:34] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[03/Aug/2018 18:16:35] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[03/Aug/2018 18:16:36] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +[03/Aug/2018 18:16:37] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +Not Found: /favicon.ico +[03/Aug/2018 18:16:38] "GET /favicon.ico HTTP/1.1" 404 3103 +[03/Aug/2018 18:16:41] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[03/Aug/2018 18:16:41] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[03/Aug/2018 18:16:41] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[03/Aug/2018 18:16:41] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[03/Aug/2018 18:16:42] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[03/Aug/2018 18:16:42] "GET /static/js/source.js HTTP/1.1" 200 39565 +[03/Aug/2018 18:16:42] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[03/Aug/2018 18:16:42] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[03/Aug/2018 18:16:43] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[03/Aug/2018 18:16:44] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[03/Aug/2018 18:16:45] "POST /operations/right/ HTTP/1.1" 200 1040 +[03/Aug/2018 18:16:45] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[03/Aug/2018 18:16:50] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[03/Aug/2018 18:16:52] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[03/Aug/2018 18:16:52] "GET /static/image/question.png HTTP/1.1" 200 1112 +[03/Aug/2018 18:16:53] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[03/Aug/2018 18:17:03] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[03/Aug/2018 18:17:04] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[03/Aug/2018 18:17:04] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[03/Aug/2018 18:17:05] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[03/Aug/2018 18:17:05] "POST /operations/right/ HTTP/1.1" 200 1040 +[03/Aug/2018 18:17:11] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[03/Aug/2018 18:17:27] "POST /operations/show_annotation/ HTTP/1.1" 200 59 +[03/Aug/2018 21:27:52] code 400, message Bad request version ('MCTP/1.0') +[03/Aug/2018 21:27:52] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/httpheader.net/ +[04/Aug/2018 07:15:55] "GET http://httpheader.net/ HTTP/1.1" 404 1673 +[04/Aug/2018 07:16:07] code 400, message Bad request syntax ('\x04\x01\x00PÀcö60\x00') +[04/Aug/2018 07:16:07] "PÀcö60" 400 - +[04/Aug/2018 07:16:18] code 400, message Bad request syntax ('\x05\x01\x00') +[04/Aug/2018 07:16:18] "" 400 - +[04/Aug/2018 07:16:29] code 400, message Bad request syntax ('\x05\x01\x00') +[04/Aug/2018 07:16:29] "" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[04/Aug/2018 08:35:19] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[04/Aug/2018 09:05:47] code 400, message Bad request version ('MCTP/1.0') +[04/Aug/2018 09:05:47] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /check +[04/Aug/2018 13:57:32] "GET /check HTTP/1.1" 404 3085 +[04/Aug/2018 14:46:16] "GET / HTTP/1.1" 200 22531 +[04/Aug/2018 14:46:16] "GET /static/css/base.css HTTP/1.1" 200 18934 +[04/Aug/2018 14:46:16] "GET /static/css/common.css HTTP/1.1" 200 8146 +[04/Aug/2018 14:46:16] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[04/Aug/2018 14:46:16] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[04/Aug/2018 14:46:17] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[04/Aug/2018 14:46:17] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[04/Aug/2018 14:46:17] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[04/Aug/2018 14:46:17] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[04/Aug/2018 14:46:19] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +[04/Aug/2018 14:46:21] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[04/Aug/2018 14:46:21] "GET /static/js/source.js HTTP/1.1" 304 0 +[04/Aug/2018 14:46:22] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[04/Aug/2018 14:46:22] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[04/Aug/2018 14:46:23] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[04/Aug/2018 14:46:24] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[04/Aug/2018 14:46:24] "POST /operations/right/ HTTP/1.1" 200 1040 +[04/Aug/2018 14:46:26] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[04/Aug/2018 14:47:04] "GET / HTTP/1.1" 200 22531 +[04/Aug/2018 14:47:09] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[04/Aug/2018 14:47:13] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[04/Aug/2018 14:47:14] "GET /static/js/base.js HTTP/1.1" 200 21228 +[04/Aug/2018 14:47:14] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[04/Aug/2018 14:47:18] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[04/Aug/2018 16:54:14] "GET /static/image/question.png HTTP/1.1" 200 1112 +[04/Aug/2018 16:54:14] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[04/Aug/2018 20:28:46] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[05/Aug/2018 03:02:17] "GET / HTTP/1.1" 200 22531 +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[05/Aug/2018 06:33:29] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[05/Aug/2018 09:10:26] code 400, message Bad request version ('MCTP/1.0') +[05/Aug/2018 09:10:26] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +[05/Aug/2018 11:18:19] code 400, message Bad request version ('MCTP/1.0') +[05/Aug/2018 11:18:19] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/www.123cha.com/ +[05/Aug/2018 13:44:35] "GET http://www.123cha.com/ HTTP/1.1" 404 1673 +Not Found: /http:/wujieliulan.com/ +[05/Aug/2018 13:44:35] "GET http://wujieliulan.com/ HTTP/1.1" 404 1677 +Not Found: /http:/www.minghui.org/ +[05/Aug/2018 13:44:35] "GET http://www.minghui.org/ HTTP/1.1" 404 1677 +Not Found: /http:/www.baidu.com/ +[05/Aug/2018 13:44:36] "GET http://www.baidu.com/ HTTP/1.1" 404 1669 +Not Found: /http:/www.bing.com/ +[05/Aug/2018 13:44:37] "GET http://www.bing.com/ HTTP/1.1" 404 1665 +[05/Aug/2018 23:17:54] code 400, message Bad request version ('MCTP/1.0') +[05/Aug/2018 23:17:54] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +[06/Aug/2018 02:31:47] code 400, message Bad request version ('MCTP/1.0') +[06/Aug/2018 02:31:47] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[06/Aug/2018 04:20:01] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +[06/Aug/2018 04:22:11] code 400, message Bad request version ('MCTP/1.0') +[06/Aug/2018 04:22:11] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/112.124.116.170:83/index.php +[06/Aug/2018 06:50:06] "GET http://112.124.116.170:83/index.php HTTP/1.1" 404 1716 +Performing system checks... + +System check identified no issues (0 silenced). +August 02, 2018 - 16:51: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. +/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 +[06/Aug/2018 10:45:12] "GET / HTTP/1.1" 200 24330 +[06/Aug/2018 10:45:12] "GET /static/css/base.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/css/common.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/css/jstree.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/css/prettify.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/js/jstree.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/js/base.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/js/run_prettify.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/site/css/style.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /media/avatar/users/default.png HTTP/1.1" 304 0 +[06/Aug/2018 10:45:12] "GET /static/image/CodePedia.ico HTTP/1.1" 304 0 +Not Found: /favicon.ico +[06/Aug/2018 10:45:13] "GET /favicon.ico HTTP/1.1" 404 3103 +[06/Aug/2018 10:45:14] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[06/Aug/2018 10:45:14] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/js/source.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/js/prettify.js HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/css/code_show.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/css/font-awesome.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/css/monokai-sublime.css HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/image/codepedia.png HTTP/1.1" 304 0 +[06/Aug/2018 10:45:14] "GET /static/image/users/default.png HTTP/1.1" 304 0 +[06/Aug/2018 10:45:15] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[06/Aug/2018 10:45:15] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[06/Aug/2018 10:45:15] "POST /operations/right/ HTTP/1.1" 200 1040 +[06/Aug/2018 10:45:17] "POST /operations/get_codereading_content/ HTTP/1.1" 200 738978 +[06/Aug/2018 10:45:19] "GET /static/image/annotation.png HTTP/1.1" 304 0 +[06/Aug/2018 10:45:19] "GET /static/image/question.png HTTP/1.1" 304 0 +[06/Aug/2018 10:45:29] "POST /operations/show_annotation/ HTTP/1.1" 200 1920 +[06/Aug/2018 10:45:37] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:45:43] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:45:46] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:45:49] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:47:03] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[06/Aug/2018 10:47:04] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[06/Aug/2018 10:47:05] "POST /operations/right/ HTTP/1.1" 200 1040 +[06/Aug/2018 10:47:05] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[06/Aug/2018 10:47:06] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[06/Aug/2018 10:47:11] "POST /operations/show_annotation/ HTTP/1.1" 200 59 +[06/Aug/2018 10:47:14] "GET /users/login/ HTTP/1.1" 200 4384 +[06/Aug/2018 10:47:14] "GET /static/css/register.css HTTP/1.1" 304 0 +[06/Aug/2018 10:47:14] "GET /static/js/users-common.js HTTP/1.1" 304 0 +[06/Aug/2018 10:47:14] "GET /static/image/login/bg_login.jpg HTTP/1.1" 304 0 +[06/Aug/2018 10:47:16] "POST /users/login/ HTTP/1.1" 302 0 +[06/Aug/2018 10:47:16] "GET / HTTP/1.1" 200 24330 +[06/Aug/2018 10:47:18] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[06/Aug/2018 10:47:19] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[06/Aug/2018 10:47:19] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[06/Aug/2018 10:47:19] "POST /operations/right/ HTTP/1.1" 200 1040 +[06/Aug/2018 10:47:20] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[06/Aug/2018 10:47:25] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[06/Aug/2018 10:47:28] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:47:30] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:47:31] "POST /operations/show_annotation/ HTTP/1.1" 200 1922 +[06/Aug/2018 10:47:36] "POST /operations/show_annotation/ HTTP/1.1" 200 7763 +[06/Aug/2018 10:47:43] "POST /operations/show_annotation/ HTTP/1.1" 200 2917 +[06/Aug/2018 10:47:46] "POST /operations/show_annotation/ HTTP/1.1" 200 1951 +[06/Aug/2018 10:47:48] "POST /operations/show_annotation/ HTTP/1.1" 200 1965 +[06/Aug/2018 10:47:51] "POST /operations/show_annotation/ HTTP/1.1" 200 7161 +[06/Aug/2018 10:47:56] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 10:47:59] "POST /operations/show_annotation/ HTTP/1.1" 200 1922 +[06/Aug/2018 10:47:59] "POST /operations/show_annotation/ HTTP/1.1" 200 1922 +[06/Aug/2018 10:48:01] "POST /operations/show_annotation/ HTTP/1.1" 200 1922 +[06/Aug/2018 10:48:01] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[06/Aug/2018 11:53:24] code 400, message Bad request version ('MCTP/1.0') +[06/Aug/2018 11:53:24] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /check +[06/Aug/2018 14:02:27] "GET /check HTTP/1.1" 404 3085 +[06/Aug/2018 22:21:24] code 400, message Bad request syntax ('\x05\x01\x00') +[06/Aug/2018 22:21:24] "" 400 - +[06/Aug/2018 22:21:33] code 400, message Bad request syntax ('\x05\x01\x00') +[06/Aug/2018 22:21:33] "" 400 - +[06/Aug/2018 22:21:42] code 400, message Bad request syntax ('\x05\x01\x00') +[06/Aug/2018 22:21:42] "" 400 - +Not Found: /http:/5.188.210.12/echo.php +[06/Aug/2018 22:23:44] "GET http://5.188.210.12/echo.php HTTP/1.1" 404 1689 +[07/Aug/2018 00:08:07] code 400, message Bad request version ('MCTP/1.0') +[07/Aug/2018 00:08:07] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /http:/www.baidu.com/cache/global/img/gs.gif +[07/Aug/2018 02:33:14] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404 1738 +Not Found: /http:/www.qq.com/404/search_children.js +[07/Aug/2018 05:39:29] "GET http://www.qq.com/404/search_children.js HTTP/1.1" 404 1723 +[07/Aug/2018 05:39:34] code 400, message Bad request syntax ('\x04\x01\x00PpTi4\x00') +[07/Aug/2018 05:39:34] "PpTi4" 400 - +[07/Aug/2018 05:39:34] code 400, message Bad request syntax ('\x05\x01\x00') +[07/Aug/2018 05:39:34] "" 400 - +[07/Aug/2018 09:21:40] code 400, message Bad HTTP/0.9 request type ('\x16\x03\x01\x02\x00\x01\x00\x01ü\x03\x03ºjW_\x88\x06\x890Ú\x9d\x7f¡\x92?T&óI') +[07/Aug/2018 09:21:40] You're accessing the development server over HTTPS, but it only supports HTTP. + +[07/Aug/2018 09:21:42] "GET / HTTP/1.1" 200 22531 +[07/Aug/2018 09:51:58] "GET / HTTP/1.1" 200 22531 +[07/Aug/2018 09:51:58] "GET /static/css/base.css HTTP/1.1" 200 18934 +[07/Aug/2018 09:51:58] "GET /static/css/common.css HTTP/1.1" 200 8146 +[07/Aug/2018 09:51:58] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 09:51:58] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 09:51:58] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[07/Aug/2018 09:51:58] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 09:51:58] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[07/Aug/2018 09:51:58] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[07/Aug/2018 09:51:58] "GET /static/js/base.js HTTP/1.1" 200 21228 +[07/Aug/2018 09:51:58] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[07/Aug/2018 09:51:59] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 09:51:59] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[07/Aug/2018 10:17:12] "GET / HTTP/1.1" 200 22531 +[07/Aug/2018 10:17:12] "GET /static/css/base.css HTTP/1.1" 200 18934 +[07/Aug/2018 10:17:12] "GET /static/css/common.css HTTP/1.1" 200 8146 +[07/Aug/2018 10:17:12] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 10:17:12] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 10:17:12] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[07/Aug/2018 10:17:12] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 10:17:13] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[07/Aug/2018 10:17:13] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[07/Aug/2018 10:17:13] "GET /static/js/base.js HTTP/1.1" 200 21228 +[07/Aug/2018 10:17:13] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[07/Aug/2018 10:17:13] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[07/Aug/2018 10:17:14] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 10:17:14] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +Performing system checks... + +System check identified no issues (0 silenced). +August 06, 2018 - 10: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. +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +True +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +Unhandled exception in thread started by .wrapper at 0x7fce8e5e4950> +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 727 + class Get_CodeReading_Content_View(View): + ^ +IndentationError: expected an indented block +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 10:23:53 +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 07, 2018 - 10:24:30 +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 07, 2018 - 10:24:33 +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 07, 2018 - 10:25:59 +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 0x7ff61db7d950> +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 +ImportError: cannot import name 'ShowIssueQuestionView' +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 10:31: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 07, 2018 - 10:31: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 07, 2018 - 10:31:31 +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 07, 2018 - 10:31: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. +Unhandled exception in thread started by .wrapper at 0x7fccc460c950> +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 +ImportError: cannot import name 'ShowIssueQuestionView' +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 10:31:52 +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 07, 2018 - 10:31: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. +Unhandled exception in thread started by .wrapper at 0x7fbcc227a950> +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 +ImportError: cannot import name 'ShowIssueQuestionView' +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 10:37: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. +[07/Aug/2018 12:56:45] code 400, message Bad request version ('MCTP/1.0') +[07/Aug/2018 12:56:45] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +Not Found: /favicon.ico +[07/Aug/2018 15:11:25] "GET /favicon.ico HTTP/1.1" 404 3103 +[07/Aug/2018 15:11:25] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 15:11:25] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 15:11:25] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 15:11:26] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[07/Aug/2018 16:15:16] "GET / HTTP/1.1" 200 24330 +[07/Aug/2018 16:15:17] "GET /projects/Notes/src/net/micode/notes/ui HTTP/1.1" 200 41841 +[07/Aug/2018 16:15:18] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 92 +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 987, 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 961, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 953, in getFileLineNum + return len(open(path,'rU').readlines()) +IsADirectoryError: [Errno 21] Is a directory: '/opt/opengrok/source/Notes/src/net/micode/notes/ui' +[07/Aug/2018 16:15:18] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[07/Aug/2018 16:15:18] "POST /operations/right/ HTTP/1.1" 500 19140 +[07/Aug/2018 16:15:18] "POST /operations/get_codereading_content/ HTTP/1.1" 200 7482 +[07/Aug/2018 16:15:34] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:15:36] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:15:36] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:15:36] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:15:37] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[07/Aug/2018 16:15:58] "POST /operations/show_annotation/ HTTP/1.1" 200 2917 +[07/Aug/2018 16:16:03] "POST /operations/show_annotation/ HTTP/1.1" 200 7763 +[07/Aug/2018 16:16:12] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:12] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:12] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[07/Aug/2018 16:16:14] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:15] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:15] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:21] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:25] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +[07/Aug/2018 16:16:30] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:16:41] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:16:41] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 16:16:41] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:16:41] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 16:16:41] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[07/Aug/2018 16:16:41] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[07/Aug/2018 16:16:41] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[07/Aug/2018 16:16:41] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[07/Aug/2018 16:16:41] "GET /static/js/source.js HTTP/1.1" 200 39565 +[07/Aug/2018 16:16:41] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[07/Aug/2018 16:16:41] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[07/Aug/2018 16:16:42] "GET /static/image/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 16:16:43] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 16:16:43] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:16:44] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:16:44] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:16:44] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:16:45] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +[07/Aug/2018 16:16:48] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[07/Aug/2018 16:16:48] "GET /static/image/question.png HTTP/1.1" 200 1112 +[07/Aug/2018 16:16:58] "POST /operations/show_annotation/ HTTP/1.1" 200 4416 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 10:39:10 +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. +1111 +/src/net/micode/notes/ui +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +[07/Aug/2018 16:19:13] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:19:14] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:19:15] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:19:15] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:19:15] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:19:16] "POST /operations/get_codereading_content/ HTTP/1.1" 200 739654 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:19: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. +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{11: ' hhhhhh', 9: ' 213', 10: ' nihao', 7: ' ??'} +[07/Aug/2018 16:19:56] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:19:57] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:19:58] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:19:58] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:19:58] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:19:59] "POST /operations/get_codereading_content/ HTTP/1.1" 200 760606 +[07/Aug/2018 16:20:21] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:20:22] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:20:22] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:20:23] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:20:23] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:20:24] "POST /operations/get_codereading_content/ HTTP/1.1" 200 744892 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:19:22 +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 +{11: ' hhhhhh', 9: ' 213', 10: ' nihao', 7: ' ??'} +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{11: ' hhhhhh', 9: ' 213', 10: ' nihao', 7: ' ??'} +[07/Aug/2018 16:23:51] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:23:53] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 16:23:54] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:23:54] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:23:54] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:23:56] "POST /operations/get_codereading_content/ HTTP/1.1" 200 750130 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:23:44 +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 +{11: ' hhhhhh', 9: ' 213', 10: ' nihao', 7: ' ??'} +{'44': 4, '77': 1, '78': 1, '80': 1, '87': 4, '89': 2, '90': 1, '96': 1, '98': 2, '99': 1, '100': 1, '105': 4, '107': 1, '113': 1, '115': 1, '121': 2, '123': 2, '125': 2, '127': 1, '129': 2, '131': 2, '133': 2, '135': 1, '137': 2, '138': 2, '140': 1, '147': 1, '150': 1, '153': 2, '154': 1, '155': 3, '157': 5, '158': 1, '161': 2, '169': 4, '170': 1, '172': 2, '174': 2, '178': 1, '182': 4, '188': 2, '189': 1, '190': 2, '195': 4, '196': 2, '197': 2, '200': 4, '201': 1, '202': 3, '203': 1, '204': 1, '205': 2, '206': 2, '207': 1, '208': 1, '209': 2, '214': 4, '217': 4, '219': 4, '220': 3, '222': 2, '224': 4, '228': 2, '229': 3, '230': 1, '231': 1, '232': 1, '234': 2, '237': 1, '241': 1, '244': 1, '246': 3, '248': 3, '249': 2, '257': 3, '261': 2, '266': 4, '268': 2, '271': 5, '272': 4, '274': 2, '275': 2, '276': 1, '277': 3, '278': 3, '280': 3, '281': 1, '283': 2, '284': 2, '286': 2, '295': 1, '298': 5, '299': 2, '300': 2, '301': 3, '302': 2, '304': 2, '307': 4, '308': 1, '309': 1, '310': 1, '316': 5, '317': 1, '322': 2, '329': 5, '330': 1, '332': 1, '333': 2, '337': 4, '338': 4, '339': 2, '344': 2, '345': 3, '347': 1, '352': 5, '353': 2, '354': 1, '357': 3, '361': 1, '366': 3, '367': 3, '368': 2, '369': 2, '370': 2, '371': 2, '372': 2, '373': 2, '374': 3, '375': 2, '376': 4, '377': 2, '382': 2, '383': 2, '386': 2, '388': 2, '394': 2, '397': 3, '401': 3, '403': 1, '404': 1, '406': 2, '409': 3, '410': 1, '411': 2, '416': 1, '418': 1, '422': 2, '428': 2, '429': 2, '430': 4, '431': 3, '432': 2, '434': 2, '435': 2, '437': 3, '438': 1, '439': 2, '441': 1, '442': 1, '444': 2, '445': 1, '446': 2, '448': 2, '451': 1, '456': 3, '457': 1, '461': 2, '465': 3, '466': 2, '469': 2, '470': 1, '476': 3, '477': 2, '479': 1, '484': 5, '485': 1, '488': 2, '489': 1, '490': 2, '491': 4, '492': 1, '493': 2, '495': 2, '496': 1, '500': 3, '501': 1, '502': 1, '509': 4, '510': 2, '511': 3, '512': 3, '514': 4, '515': 3, '516': 3, '517': 4, '518': 4, '519': 4, '520': 3, '522': 4, '523': 1, '525': 4, '526': 4, '529': 4, '530': 3, '531': 3, '533': 4, '534': 1, '537': 4, '538': 2, '539': 3, '541': 3, '542': 1, '544': 4, '545': 4, '556': 3, '557': 4, '558': 1, '560': 3, '562': 2, '570': 3, '571': 3, '572': 3, '573': 3, '574': 2, '577': 3, '578': 3, '582': 1, '583': 3, '584': 3, '585': 3, '586': 2, '589': 3, '590': 3, '592': 2, '593': 3, '595': 1, '596': 1, '598': 3, '599': 2, '600': 1, '603': 2, '608': 3, '611': 4, '612': 1, '615': 3, '620': 1, '621': 1, '623': 1, '624': 1, '625': 3, '626': 2, '627': 2, '628': 3, '629': 3, '630': 1, '632': 2, '634': 1, '640': 1, '645': 2, '646': 2, '649': 3, '650': 2, '651': 2, '655': 2, '656': 1, '660': 3, '662': 1, '665': 1, '666': 1, '669': 1, '670': 2, '671': 4, '672': 3, '675': 4, '679': 3, '683': 3, '684': 2, '685': 3, '686': 4, '687': 4, '688': 3, '694': 5, '695': 2, '696': 2, '697': 2, '698': 4, '699': 1, '700': 1, '701': 2, '705': 2, '707': 4, '708': 4, '711': 4, '712': 4, '713': 2, '714': 3, '715': 4, '716': 2, '718': 3, '720': 2, '728': 4, '729': 4, '730': 2, '731': 4, '732': 2, '733': 2, '734': 1, '736': 1, '743': 4, '744': 1, '746': 1, '747': 3, '753': 1, '754': 3, '759': 5, '760': 4, '764': 2, '765': 2, '767': 1, '771': 4, '772': 2, '773': 2, '775': 4, '776': 1, '777': 3, '780': 3, '781': 2, '785': 3, '786': 3, '787': 4, '788': 3, '789': 2, '790': 1, '791': 2, '792': 4, '793': 4, '794': 4, '797': 4, '801': 4, '802': 1, '803': 3, '808': 4, '809': 2, '810': 2, '811': 1, '817': 1, '824': 4, '830': 5, '831': 1, '834': 5, '835': 2, '836': 1, '837': 3, '838': 2, '839': 1, '840': 2, '842': 3, '845': 2, '846': 1, '847': 5, '854': 3, '855': 2, '859': 4, '862': 2, '866': 5, '870': 4, '871': 1, '11': 6, '9': 1, '10': 1, '7': 2} +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:24:21 +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. +[07/Aug/2018 16:24:57] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:24:58] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:24:59] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:24:59] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:25:00] "POST /operations/get_codereading_content/ HTTP/1.1" 200 750218 +[07/Aug/2018 16:28:08] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:28:09] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:28:09] "POST /operations/right/ HTTP/1.1" 200 1040 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 780, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:28:09] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:28:09] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23348 +[07/Aug/2018 16:28:40] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:28:41] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:24:52 +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 +{'11': ' hhhhhh', '9': ' 213', '10': ' nihao', '7': ' ??'} +{'44': 4, '77': 1, '78': 1, '80': 1, '87': 4, '89': 2, '90': 1, '96': 1, '98': 2, '99': 1, '100': 1, '105': 4, '107': 1, '113': 1, '115': 1, '121': 2, '123': 2, '125': 2, '127': 1, '129': 2, '131': 2, '133': 2, '135': 1, '137': 2, '138': 2, '140': 1, '147': 1, '150': 1, '153': 2, '154': 1, '155': 3, '157': 5, '158': 1, '161': 2, '169': 4, '170': 1, '172': 2, '174': 2, '178': 1, '182': 4, '188': 2, '189': 1, '190': 2, '195': 4, '196': 2, '197': 2, '200': 4, '201': 1, '202': 3, '203': 1, '204': 1, '205': 2, '206': 2, '207': 1, '208': 1, '209': 2, '214': 4, '217': 4, '219': 4, '220': 3, '222': 2, '224': 4, '228': 2, '229': 3, '230': 1, '231': 1, '232': 1, '234': 2, '237': 1, '241': 1, '244': 1, '246': 3, '248': 3, '249': 2, '257': 3, '261': 2, '266': 4, '268': 2, '271': 5, '272': 4, '274': 2, '275': 2, '276': 1, '277': 3, '278': 3, '280': 3, '281': 1, '283': 2, '284': 2, '286': 2, '295': 1, '298': 5, '299': 2, '300': 2, '301': 3, '302': 2, '304': 2, '307': 4, '308': 1, '309': 1, '310': 1, '316': 5, '317': 1, '322': 2, '329': 5, '330': 1, '332': 1, '333': 2, '337': 4, '338': 4, '339': 2, '344': 2, '345': 3, '347': 1, '352': 5, '353': 2, '354': 1, '357': 3, '361': 1, '366': 3, '367': 3, '368': 2, '369': 2, '370': 2, '371': 2, '372': 2, '373': 2, '374': 3, '375': 2, '376': 4, '377': 2, '382': 2, '383': 2, '386': 2, '388': 2, '394': 2, '397': 3, '401': 3, '403': 1, '404': 1, '406': 2, '409': 3, '410': 1, '411': 2, '416': 1, '418': 1, '422': 2, '428': 2, '429': 2, '430': 4, '431': 3, '432': 2, '434': 2, '435': 2, '437': 3, '438': 1, '439': 2, '441': 1, '442': 1, '444': 2, '445': 1, '446': 2, '448': 2, '451': 1, '456': 3, '457': 1, '461': 2, '465': 3, '466': 2, '469': 2, '470': 1, '476': 3, '477': 2, '479': 1, '484': 5, '485': 1, '488': 2, '489': 1, '490': 2, '491': 4, '492': 1, '493': 2, '495': 2, '496': 1, '500': 3, '501': 1, '502': 1, '509': 4, '510': 2, '511': 3, '512': 3, '514': 4, '515': 3, '516': 3, '517': 4, '518': 4, '519': 4, '520': 3, '522': 4, '523': 1, '525': 4, '526': 4, '529': 4, '530': 3, '531': 3, '533': 4, '534': 1, '537': 4, '538': 2, '539': 3, '541': 3, '542': 1, '544': 4, '545': 4, '556': 3, '557': 4, '558': 1, '560': 3, '562': 2, '570': 3, '571': 3, '572': 3, '573': 3, '574': 2, '577': 3, '578': 3, '582': 1, '583': 3, '584': 3, '585': 3, '586': 2, '589': 3, '590': 3, '592': 2, '593': 3, '595': 1, '596': 1, '598': 3, '599': 2, '600': 1, '603': 2, '608': 3, '611': 4, '612': 1, '615': 3, '620': 1, '621': 1, '623': 1, '624': 1, '625': 3, '626': 2, '627': 2, '628': 3, '629': 3, '630': 1, '632': 2, '634': 1, '640': 1, '645': 2, '646': 2, '649': 3, '650': 2, '651': 2, '655': 2, '656': 1, '660': 3, '662': 1, '665': 1, '666': 1, '669': 1, '670': 2, '671': 4, '672': 3, '675': 4, '679': 3, '683': 3, '684': 2, '685': 3, '686': 4, '687': 4, '688': 3, '694': 5, '695': 2, '696': 2, '697': 2, '698': 4, '699': 1, '700': 1, '701': 2, '705': 2, '707': 4, '708': 4, '711': 4, '712': 4, '713': 2, '714': 3, '715': 4, '716': 2, '718': 3, '720': 2, '728': 4, '729': 4, '730': 2, '731': 4, '732': 2, '733': 2, '734': 1, '736': 1, '743': 4, '744': 1, '746': 1, '747': 3, '753': 1, '754': 3, '759': 5, '760': 4, '764': 2, '765': 2, '767': 1, '771': 4, '772': 2, '773': 2, '775': 4, '776': 1, '777': 3, '780': 3, '781': 2, '785': 3, '786': 3, '787': 4, '788': 3, '789': 2, '790': 1, '791': 2, '792': 4, '793': 4, '794': 4, '797': 4, '801': 4, '802': 1, '803': 3, '808': 4, '809': 2, '810': 2, '811': 1, '817': 1, '824': 4, '830': 5, '831': 1, '834': 5, '835': 2, '836': 1, '837': 3, '838': 2, '839': 1, '840': 2, '842': 3, '845': 2, '846': 1, '847': 5, '854': 3, '855': 2, '859': 4, '862': 2, '866': 5, '870': 4, '871': 1, '11': 6, '9': 1, '10': 1, '7': 2} +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{'11': ' hhhhhh', '9': ' 213', '10': ' nihao', '7': ' ??'} +{'44': 4, '77': 1, '78': 1, '80': 1, '87': 4, '89': 2, '90': 1, '96': 1, '98': 2, '99': 1, '100': 1, '105': 4, '107': 1, '113': 1, '115': 1, '121': 2, '123': 2, '125': 2, '127': 1, '129': 2, '131': 2, '133': 2, '135': 1, '137': 2, '138': 2, '140': 1, '147': 1, '150': 1, '153': 2, '154': 1, '155': 3, '157': 5, '158': 1, '161': 2, '169': 4, '170': 1, '172': 2, '174': 2, '178': 1, '182': 4, '188': 2, '189': 1, '190': 2, '195': 4, '196': 2, '197': 2, '200': 4, '201': 1, '202': 3, '203': 1, '204': 1, '205': 2, '206': 2, '207': 1, '208': 1, '209': 2, '214': 4, '217': 4, '219': 4, '220': 3, '222': 2, '224': 4, '228': 2, '229': 3, '230': 1, '231': 1, '232': 1, '234': 2, '237': 1, '241': 1, '244': 1, '246': 3, '248': 3, '249': 2, '257': 3, '261': 2, '266': 4, '268': 2, '271': 5, '272': 4, '274': 2, '275': 2, '276': 1, '277': 3, '278': 3, '280': 3, '281': 1, '283': 2, '284': 2, '286': 2, '295': 1, '298': 5, '299': 2, '300': 2, '301': 3, '302': 2, '304': 2, '307': 4, '308': 1, '309': 1, '310': 1, '316': 5, '317': 1, '322': 2, '329': 5, '330': 1, '332': 1, '333': 2, '337': 4, '338': 4, '339': 2, '344': 2, '345': 3, '347': 1, '352': 5, '353': 2, '354': 1, '357': 3, '361': 1, '366': 3, '367': 3, '368': 2, '369': 2, '370': 2, '371': 2, '372': 2, '373': 2, '374': 3, '375': 2, '376': 4, '377': 2, '382': 2, '383': 2, '386': 2, '388': 2, '394': 2, '397': 3, '401': 3, '403': 1, '404': 1, '406': 2, '409': 3, '410': 1, '411': 2, '416': 1, '418': 1, '422': 2, '428': 2, '429': 2, '430': 4, '431': 3, '432': 2, '434': 2, '435': 2, '437': 3, '438': 1, '439': 2, '441': 1, '442': 1, '444': 2, '445': 1, '446': 2, '448': 2, '451': 1, '456': 3, '457': 1, '461': 2, '465': 3, '466': 2, '469': 2, '470': 1, '476': 3, '477': 2, '479': 1, '484': 5, '485': 1, '488': 2, '489': 1, '490': 2, '491': 4, '492': 1, '493': 2, '495': 2, '496': 1, '500': 3, '501': 1, '502': 1, '509': 4, '510': 2, '511': 3, '512': 3, '514': 4, '515': 3, '516': 3, '517': 4, '518': 4, '519': 4, '520': 3, '522': 4, '523': 1, '525': 4, '526': 4, '529': 4, '530': 3, '531': 3, '533': 4, '534': 1, '537': 4, '538': 2, '539': 3, '541': 3, '542': 1, '544': 4, '545': 4, '556': 3, '557': 4, '558': 1, '560': 3, '562': 2, '570': 3, '571': 3, '572': 3, '573': 3, '574': 2, '577': 3, '578': 3, '582': 1, '583': 3, '584': 3, '585': 3, '586': 2, '589': 3, '590': 3, '592': 2, '593': 3, '595': 1, '596': 1, '598': 3, '599': 2, '600': 1, '603': 2, '608': 3, '611': 4, '612': 1, '615': 3, '620': 1, '621': 1, '623': 1, '624': 1, '625': 3, '626': 2, '627': 2, '628': 3, '629': 3, '630': 1, '632': 2, '634': 1, '640': 1, '645': 2, '646': 2, '649': 3, '650': 2, '651': 2, '655': 2, '656': 1, '660': 3, '662': 1, '665': 1, '666': 1, '669': 1, '670': 2, '671': 4, '672': 3, '675': 4, '679': 3, '683': 3, '684': 2, '685': 3, '686': 4, '687': 4, '688': 3, '694': 5, '695': 2, '696': 2, '697': 2, '698': 4, '699': 1, '700': 1, '701': 2, '705': 2, '707': 4, '708': 4, '711': 4, '712': 4, '713': 2, '714': 3, '715': 4, '716': 2, '718': 3, '720': 2, '728': 4, '729': 4, '730': 2, '731': 4, '732': 2, '733': 2, '734': 1, '736': 1, '743': 4, '744': 1, '746': 1, '747': 3, '753': 1, '754': 3, '759': 5, '760': 4, '764': 2, '765': 2, '767': 1, '771': 4, '772': 2, '773': 2, '775': 4, '776': 1, '777': 3, '780': 3, '781': 2, '785': 3, '786': 3, '787': 4, '788': 3, '789': 2, '790': 1, '791': 2, '792': 4, '793': 4, '794': 4, '797': 4, '801': 4, '802': 1, '803': 3, '808': 4, '809': 2, '810': 2, '811': 1, '817': 1, '824': 4, '830': 5, '831': 1, '834': 5, '835': 2, '836': 1, '837': 3, '838': 2, '839': 1, '840': 2, '842': 3, '845': 2, '846': 1, '847': 5, '854': 3, '855': 2, '859': 4, '862': 2, '866': 5, '870': 4, '871': 1, '11': 6, '9': 1, '10': 1, '7': 2} +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{'11': ' hhhhhh', '9': ' 213', '10': ' nihao', '7': ' ??'} +{'44': 4, '77': 1, '78': 1, '80': 1, '87': 4, '89': 2, '90': 1, '96': 1, '98': 2, '99': 1, '100': 1, '105': 4, '107': 1, '113': 1, '115': 1, '121': 2, '123': 2, '125': 2, '127': 1, '129': 2, '131': 2, '133': 2, '135': 1, '137': 2, '138': 2, '140': 1, '147': 1, '150': 1, '153': 2, '154': 1, '155': 3, '157': 5, '158': 1, '161': 2, '169': 4, '170': 1, '172': 2, '174': 2, '178': 1, '182': 4, '188': 2, '189': 1, '190': 2, '195': 4, '196': 2, '197': 2, '200': 4, '201': 1, '202': 3, '203': 1, '204': 1, '205': 2, '206': 2, '207': 1, '208': 1, '209': 2, '214': 4, '217': 4, '219': 4, '220': 3, '222': 2, '224': 4, '228': 2, '229': 3, '230': 1, '231': 1, '232': 1, '234': 2, '237': 1, '241': 1, '244': 1, '246': 3, '248': 3, '249': 2, '257': 3, '261': 2, '266': 4, '268': 2, '271': 5, '272': 4, '274': 2, '275': 2, '276': 1, '277': 3, '278': 3, '280': 3, '281': 1, '283': 2, '284': 2, '286': 2, '295': 1, '298': 5, '299': 2, '300': 2, '301': 3, '302': 2, '304': 2, '307': 4, '308': 1, '309': 1, '310': 1, '316': 5, '317': 1, '322': 2, '329': 5, '330': 1, '332': 1, '333': 2, '337': 4, '338': 4, '339': 2, '344': 2, '345': 3, '347': 1, '352': 5, '353': 2, '354': 1, '357': 3, '361': 1, '366': 3, '367': 3, '368': 2, '369': 2, '370': 2, '371': 2, '372': 2, '373': 2, '374': 3, '375': 2, '376': 4, '377': 2, '382': 2, '383': 2, '386': 2, '388': 2, '394': 2, '397': 3, '401': 3, '403': 1, '404': 1, '406': 2, '409': 3, '410': 1, '411': 2, '416': 1, '418': 1, '422': 2, '428': 2, '429': 2, '430': 4, '431': 3, '432': 2, '434': 2, '435': 2, '437': 3, '438': 1, '439': 2, '441': 1, '442': 1, '444': 2, '445': 1, '446': 2, '448': 2, '451': 1, '456': 3, '457': 1, '461': 2, '465': 3, '466': 2, '469': 2, '470': 1, '476': 3, '477': 2, '479': 1, '484': 5, '485': 1, '488': 2, '489': 1, '490': 2, '491': 4, '492': 1, '493': 2, '495': 2, '496': 1, '500': 3, '501': 1, '502': 1, '509': 4, '510': 2, '511': 3, '512': 3, '514': 4, '515': 3, '516': 3, '517': 4, '518': 4, '519': 4, '520': 3, '522': 4, '523': 1, '525': 4, '526': 4, '529': 4, '530': 3, '531': 3, '533': 4, '534': 1, '537': 4, '538': 2, '539': 3, '541': 3, '542': 1, '544': 4, '545': 4, '556': 3, '557': 4, '558': 1, '560': 3, '562': 2, '570': 3, '571': 3, '572': 3, '573': 3, '574': 2, '577': 3, '578': 3, '582': 1, '583': 3, '584': 3, '585': 3, '586': 2, '589': 3, '590': 3, '592': 2, '593': 3, '595': 1, '596': 1, '598': 3, '599': 2, '600': 1, '603': 2, '608': 3, '611': 4, '612': 1, '615': 3, '620': 1, '621': 1, '623': 1, '624': 1, '625': 3, '626': 2, '627': 2, '628': 3, '629': 3, '630': 1, '632': 2, '634': 1, '640': 1, '645': 2, '646': 2, '649': 3, '650': 2, '651': 2, '655': 2, '656': 1, '660': 3, '662': 1, '665': 1, '666': 1, '669': 1, '670': 2, '671': 4, '672': 3, '675': 4, '679': 3, '683': 3, '684': 2, '685': 3, '686': 4, '687': 4, '688': 3, '694': 5, '695': 2, '696': 2, '697': 2, '698': 4, '699': 1, '700': 1, '701': 2, '705': 2, '707': 4, '708': 4, '711': 4, '712': 4, '713': 2, '714': 3, '715': 4, '716': 2, '718': 3, '720': 2, '728': 4, '729': 4, '730': 2, '731': 4, '732': 2, '733': 2, '734': 1, '736': 1, '743': 4, '744': 1, '746': 1, '747': 3, '753': 1, '754': 3, '759': 5, '760': 4, '764': 2, '765': 2, '767': 1, '771': 4, '772': 2, '773': 2, '775': 4, '776': 1, '777': 3, '780': 3, '781': 2, '785': 3, '786': 3, '787': 4, '788': 3, '789': 2, '790': 1, '791': 2, '792': 4, '793': 4, '794': 4, '797': 4, '801': 4, '802': 1, '803': 3, '808': 4, '809': 2, '810': 2, '811': 1, '817': 1, '824': 4, '830': 5, '831': 1, '834': 5, '835': 2, '836': 1, '837': 3, '838': 2, '839': 1, '840': 2, '842': 3, '845': 2, '846': 1, '847': 5, '854': 3, '855': 2, '859': 4, '862': 2, '866': 5, '870': 4, '871': 1, '11': 6, '9': 1, '10': 1, '7': 2}Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 780, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:28:41] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:28:41] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:28:41] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23348 + +[07/Aug/2018 16:30:27] "GET / HTTP/1.1" 200 22531 +[07/Aug/2018 16:30:27] "GET /static/css/base.css HTTP/1.1" 200 18934 +[07/Aug/2018 16:30:27] "GET /static/css/common.css HTTP/1.1" 200 8146 +[07/Aug/2018 16:30:27] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:30:27] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 16:30:27] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[07/Aug/2018 16:30:27] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[07/Aug/2018 16:30:27] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 16:30:28] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[07/Aug/2018 16:30:28] "GET /static/js/base.js HTTP/1.1" 200 21228 +[07/Aug/2018 16:30:28] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[07/Aug/2018 16:30:28] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[07/Aug/2018 16:30:28] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 16:30:29] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[07/Aug/2018 16:30:30] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 16:30:31] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[07/Aug/2018 16:30:31] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +[07/Aug/2018 16:30:31] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[07/Aug/2018 16:30:31] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:30:31] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[07/Aug/2018 16:30:31] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[07/Aug/2018 16:30:32] "GET /static/js/source.js HTTP/1.1" 200 39565 +[07/Aug/2018 16:30:32] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[07/Aug/2018 16:30:33] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[07/Aug/2018 16:30:34] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +Not Found: /favicon.ico +[07/Aug/2018 16:30:34] "GET /favicon.ico HTTP/1.1" 404 3103 +[07/Aug/2018 16:30:34] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:30:34] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:30:34] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:30:34] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23030 +[07/Aug/2018 16:30:42] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[07/Aug/2018 16:30:43] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:30:43] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23030 +[07/Aug/2018 16:30:43] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:30:43] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:30:59] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[07/Aug/2018 16:31:00] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 16:31:00] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:31:00] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 16:31:00] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[07/Aug/2018 16:31:00] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[07/Aug/2018 16:31:00] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[07/Aug/2018 16:31:00] "GET /static/js/source.js HTTP/1.1" 200 39565 +[07/Aug/2018 16:31:00] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[07/Aug/2018 16:31:01] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[07/Aug/2018 16:31:02] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 16:31:02] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[07/Aug/2018 16:31:03] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:31:03] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:31:03] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23030 +[07/Aug/2018 16:31:03] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:31:04] "GET /users/login/ HTTP/1.1" 200 4384 +[07/Aug/2018 16:31:04] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:31:04] "GET /static/css/common.css HTTP/1.1" 200 8146 +[07/Aug/2018 16:31:04] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[07/Aug/2018 16:31:04] "GET /static/css/base.css HTTP/1.1" 200 18934 +[07/Aug/2018 16:31:04] "GET /static/css/register.css HTTP/1.1" 200 1762 +[07/Aug/2018 16:31:04] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[07/Aug/2018 16:31:04] "GET /static/js/base.js HTTP/1.1" 200 21228 +[07/Aug/2018 16:31:04] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[07/Aug/2018 16:31:04] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[07/Aug/2018 16:31:04] "GET /static/js/users-common.js HTTP/1.1" 200 966 +[07/Aug/2018 16:31:05] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[07/Aug/2018 16:31:05] "GET /static/image/login/bg_login.jpg HTTP/1.1" 200 29922 +[07/Aug/2018 16:31:07] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +[07/Aug/2018 16:31:07] "POST /users/login/ HTTP/1.1" 302 0 +[07/Aug/2018 16:31:07] "GET / HTTP/1.1" 200 24333 +[07/Aug/2018 16:31:07] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 16:31:08] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[07/Aug/2018 16:31:09] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41843 +[07/Aug/2018 16:31:09] "GET /static/image/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 16:31:10] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:31:10] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:31:10] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:31:10] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23124 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'key' +[07/Aug/2018 16:31:14] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +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 987, 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 961, in get_file_right_content + filelinenum = getFileLineNum(project_path,file_path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 953, in getFileLineNum + return len(open(path,'rU').readlines()) + File "/root//envs/codepedia2/lib/python3.6/codecs.py", line 321, in decode + (result, consumed) = self._buffer_decode(data, self.errors, final) +UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte +[07/Aug/2018 16:31:14] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23146 +[07/Aug/2018 16:31:14] "POST /operations/right/ HTTP/1.1" 500 19116 +[07/Aug/2018 16:31:23] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:31:23] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:31:24] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +Internal Server Error: /operations/get_codereading_content/ +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 740, in post + html_str = get_code(request,project_id,path) + File "/projects/codepedia-test/codepedia2.0/apps/operations/views.py", line 779, in get_code + html_str = render_to_string('projects/filesub/code-reading.html', locals()) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 815, in do_for + nodelist_loop = parser.parse(('empty', 'endfor',)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 956, in do_if + nodelist = parser.parse(('elif', 'else', 'endif')) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 454, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 452, in parse + filter_expression = self.compile_filter(token.contents) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 662, in __init__ + filter_func = parser.find_filter(filter_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 574, in find_filter + raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) +django.template.exceptions.TemplateSyntaxError: Invalid filter: 'keyvalue' +[07/Aug/2018 16:31:24] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:31:24] "POST /operations/get_codereading_content/ HTTP/1.1" 500 23368 +[07/Aug/2018 16:31:48] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 16:31:49] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 16:31:49] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:31:49] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:31:50] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41843 +[07/Aug/2018 16:31:50] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 149 +[07/Aug/2018 16:31:51] "POST /operations/get_codereading_content/ HTTP/1.1" 200 746722 +[07/Aug/2018 16:31:51] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 16:31:51] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 16:31:53] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[07/Aug/2018 16:31:53] "POST /operations/right/ HTTP/1.1" 200 1036 +[07/Aug/2018 16:31:54] "POST /operations/get_codereading_content/ HTTP/1.1" 200 121226 +[07/Aug/2018 16:31:55] "GET /static/image/question.png HTTP/1.1" 200 1112 +[07/Aug/2018 16:31:55] "POST /operations/get_codereading_content/ HTTP/1.1" 200 746666 +[07/Aug/2018 16:32:00] "POST /operations/show_navigation/ HTTP/1.1" 200 35 +[07/Aug/2018 16:32:00] "POST /operations/get_codereading_content/ HTTP/1.1" 200 6928 +[07/Aug/2018 16:32:00] "POST /operations/right/ HTTP/1.1" 200 1034 +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 168, 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. +[07/Aug/2018 16:32:01] "POST /operations/show_navigation/ HTTP/1.1" 500 18913 +[07/Aug/2018 16:32:09] "POST /operations/add_annotation/ HTTP/1.1" 200 41 +[07/Aug/2018 16:32:09] "POST /operations/show_annotation/ HTTP/1.1" 200 1942 +[07/Aug/2018 16:32:14] "POST /operations/add_comment/ HTTP/1.1" 200 90 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:29: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 +{'7': '测试'} +1111 +{} +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{'11': ' hhhhhh', '9': ' 213', '10': ' nihao', '7': ' ??'} +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +{'11': ' hhhhhh', '9': ' 213', '10': ' nihao', '7': ' ??'} +/src/net/micode/notes/ui/NoteEditActivity.java +{'7': '测试'} +1111 +1111 +{} +1111 +{} +Not Found: /import +[07/Aug/2018 16:50:32] "GET /import HTTP/1.1" 404 3088 +Not Found: /import_project +[07/Aug/2018 16:50:37] "GET /import_project HTTP/1.1" 404 3112 +Internal Server Error: /projects/import +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 147, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[07/Aug/2018 16:50:48] "GET /projects/import HTTP/1.1" 500 83376 +[07/Aug/2018 16:51:08] "GET /projects/ HTTP/1.1" 200 8407 +[07/Aug/2018 16:51:08] "GET /static/css/base.css HTTP/1.1" 200 18934 +[07/Aug/2018 16:51:08] "GET /static/css/common.css HTTP/1.1" 200 8146 +[07/Aug/2018 16:51:08] "GET /static/vendor/font-awesome/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 16:51:08] "GET /static/js/run_prettify.js HTTP/1.1" 200 16604 +[07/Aug/2018 16:51:08] "GET /static/css/jstree.css HTTP/1.1" 200 28727 +[07/Aug/2018 16:51:08] "GET /static/js/base.js HTTP/1.1" 200 21228 +[07/Aug/2018 16:51:08] "GET /static/vendor/bootstrap/js/bootstrap.min.js HTTP/1.1" 200 37045 +[07/Aug/2018 16:51:08] "GET /static/vendor/bootstrap/css/bootstrap.css HTTP/1.1" 200 146070 +[07/Aug/2018 16:51:08] "GET /media/avatar/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 16:51:08] "GET /static/vendor/qtip/jquery.qtip.js HTTP/1.1" 200 98738 +[07/Aug/2018 16:51:10] "GET /static/image/CodePedia.ico HTTP/1.1" 200 370070 +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 147, in get + project_tree = get_project_tree.getHtml(settings.SOURCEPATH+project.path) +AttributeError: 'NoneType' object has no attribute 'path' +[07/Aug/2018 16:52:13] "GET /projects/new HTTP/1.1" 500 83316 +[07/Aug/2018 16:52:24] "GET /projects/new/ HTTP/1.1" 200 6743 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:35:02 +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 0x7f1bb2ebc950> +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 37, in + path('projects/', include('projects.urls', namespace='projects')), + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/urls/conf.py", line 39, in include + 'Specifying a namespace in include() without providing an app_name ' +django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead. +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:54:59 +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 07, 2018 - 16:56:43 +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 07, 2018 - 16:56:51 +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 07, 2018 - 16:57:44 +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 07, 2018 - 16:58: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 07, 2018 - 16:58: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 07, 2018 - 16:58:41 +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 0x7f248ded2950> +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 22, in + from projects.views import FileListlView + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 181 + scanner_project.get_anno_issue_summary("/opt/opengrok/source/Notes", 1) + ^ +SyntaxError: invalid syntax +Performing system checks... + +Unhandled exception in thread started by .wrapper at 0x7f219bbe8950> +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 22, in + from projects.views import FileListlView + File "/projects/codepedia-test/codepedia2.0/apps/projects/views.py", line 185 + + ^ +SyntaxError: unexpected EOF while parsing +Performing system checks... + +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 16:59: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 07, 2018 - 16:59:20 +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 07, 2018 - 16:59:24 +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 07, 2018 - 16:59: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 07, 2018 - 16:59:36 +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 07, 2018 - 16:59:44 +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 07, 2018 - 16:59:49 +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 07, 2018 - 16:59:55 +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 07, 2018 - 17:00: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 07, 2018 - 17:00: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 07, 2018 - 17:00:58 +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 07, 2018 - 17:01:21 +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 07, 2018 - 17:01:34 +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. +[07/Aug/2018 17:01:45] "GET / HTTP/1.1" 200 24333 +[07/Aug/2018 17:01:47] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41843 +[07/Aug/2018 17:01:47] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:01:48] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:01:48] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:01:50] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:01:51] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:01:37 +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 +[07/Aug/2018 17:01:56] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:01:53 +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 07, 2018 - 17:01:58 +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 07, 2018 - 17:02:01 +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. +[07/Aug/2018 17:02:09] "POST /operations/add_annotation/ HTTP/1.1" 200 41 +[07/Aug/2018 17:02:09] "POST /operations/show_annotation/ HTTP/1.1" 200 3227 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:02: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 07, 2018 - 17:02: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. +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:02:26 +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 07, 2018 - 17:02:30 +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 07, 2018 - 17:02: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 07, 2018 - 17:03:16 +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 07, 2018 - 17:03:42 +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 07, 2018 - 17:04: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 07, 2018 - 17:04:42 +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 07, 2018 - 17:04:46 +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 07, 2018 - 17:05: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 07, 2018 - 17:05: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 07, 2018 - 17:06:39 +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 07, 2018 - 17:13:58 +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. +[07/Aug/2018 17:17:28] "GET / HTTP/1.1" 200 24330 +[07/Aug/2018 17:17:29] "GET /static/vendor/site/css/style.css HTTP/1.1" 200 160228 +[07/Aug/2018 17:17:31] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:17:32] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:17:32] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:17:32] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:17:34] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:17:38] "POST /operations/show_annotation/ HTTP/1.1" 200 256 +[07/Aug/2018 17:17:40] "POST /operations/show_annotation/ HTTP/1.1" 200 1922 +[07/Aug/2018 17:17:44] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:16: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. +/src/net/micode/notes/ui/NoteEditActivity.java +1111 +Performing system checks... + +System check identified no issues (0 silenced). +August 07, 2018 - 17:19:51 +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. +[07/Aug/2018 17:23:04] code 400, message Bad request version ('MCTP/1.0') +[07/Aug/2018 17:23:05] "REMOTE HI_SRDK_DEV_GetHddInfo MCTP/1.0" 400 - +[07/Aug/2018 17:23:33] "GET / HTTP/1.1" 200 24330 +[07/Aug/2018 17:23:36] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:23:36] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:23:37] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:23:37] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:23:38] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:23:48] "POST /operations/show_annotation/ HTTP/1.1" 200 4664 +[07/Aug/2018 17:23:56] "POST /operations/modify_anno/ HTTP/1.1" 200 41 +[07/Aug/2018 17:23:59] "POST /operations/show_annotation/ HTTP/1.1" 200 3852 +[07/Aug/2018 17:24:05] "POST /operations/modify_anno/ HTTP/1.1" 200 41 +[07/Aug/2018 17:24:07] "POST /operations/show_annotation/ HTTP/1.1" 200 3878 +[07/Aug/2018 17:24:10] "POST /operations/show_annotation/ HTTP/1.1" 200 3878 +[07/Aug/2018 17:24:15] "POST /operations/show_annotation/ HTTP/1.1" 200 3878 +[07/Aug/2018 17:24:23] "POST /operations/modify_anno/ HTTP/1.1" 200 41 +[07/Aug/2018 17:24:25] "POST /operations/show_annotation/ HTTP/1.1" 200 3866 +[07/Aug/2018 17:26:14] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:26:15] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:26:15] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:26:15] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:26:17] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:26:21] "POST /operations/show_annotation/ HTTP/1.1" 200 4308 +[07/Aug/2018 17:26:32] "POST /operations/show_annotation/ HTTP/1.1" 200 4308 +[07/Aug/2018 17:27:45] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:27:45] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:27:46] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:27:46] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:27:47] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:27:51] "POST /operations/show_annotation/ HTTP/1.1" 200 4407 +[07/Aug/2018 17:28:17] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:28:17] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:28:18] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:28:18] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:28:19] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:28:23] "POST /operations/show_annotation/ HTTP/1.1" 200 4407 +[07/Aug/2018 17:28:43] "POST /operations/add_vote/ HTTP/1.1" 200 68 +[07/Aug/2018 17:28:44] "POST /operations/add_vote/ HTTP/1.1" 200 87 +[07/Aug/2018 17:28:46] "POST /operations/add_vote/ HTTP/1.1" 200 68 +[07/Aug/2018 17:28:53] "POST /operations/modify_anno/ HTTP/1.1" 200 41 +[07/Aug/2018 17:28:55] "POST /operations/show_annotation/ HTTP/1.1" 200 4379 +[07/Aug/2018 17:32:53] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:32:54] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 17:32:55] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:32:55] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:32:55] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:32:57] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:33:01] "POST /operations/show_annotation/ HTTP/1.1" 200 2776 +[07/Aug/2018 17:33:08] "POST /operations/show_annotation/ HTTP/1.1" 200 290 +[07/Aug/2018 17:33:10] "POST /operations/show_annotation/ HTTP/1.1" 200 1101 +[07/Aug/2018 17:33:13] "POST /operations/show_annotation/ HTTP/1.1" 200 270 +[07/Aug/2018 17:33:15] "POST /operations/show_annotation/ HTTP/1.1" 200 1101 +[07/Aug/2018 17:33:19] "POST /operations/show_annotation/ HTTP/1.1" 200 350 +[07/Aug/2018 17:33:23] "POST /operations/show_annotation/ HTTP/1.1" 200 350 +[07/Aug/2018 17:33:27] "POST /operations/show_annotation/ HTTP/1.1" 200 290 +[07/Aug/2018 17:33:30] "POST /operations/show_annotation/ HTTP/1.1" 200 290 +[07/Aug/2018 17:33:31] "POST /operations/show_annotation/ HTTP/1.1" 200 290 +[07/Aug/2018 17:33:32] "POST /operations/show_annotation/ HTTP/1.1" 200 290 +[07/Aug/2018 17:34:51] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:34:52] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:34:52] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:34:52] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:34:54] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:34:59] "POST /operations/show_annotation/ HTTP/1.1" 200 2776 +[07/Aug/2018 17:35:01] "POST /operations/show_annotation/ HTTP/1.1" 200 3235 +[07/Aug/2018 17:35:03] "POST /operations/show_annotation/ HTTP/1.1" 200 1101 +[07/Aug/2018 17:35:06] "POST /operations/show_annotation/ HTTP/1.1" 200 270 +[07/Aug/2018 17:35:13] "POST /operations/show_annotation/ HTTP/1.1" 200 2925 +[07/Aug/2018 17:35:17] "POST /operations/show_annotation/ HTTP/1.1" 200 1959 +[07/Aug/2018 17:35:19] "POST /operations/show_annotation/ HTTP/1.1" 200 1973 +[07/Aug/2018 17:35:22] "POST /operations/show_annotation/ HTTP/1.1" 200 7151 +[07/Aug/2018 17:39:47] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 38832 +[07/Aug/2018 17:39:47] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 17:39:47] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 17:39:47] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[07/Aug/2018 17:39:47] "GET /static/css/code_show.css HTTP/1.1" 200 22121 +[07/Aug/2018 17:39:47] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 17:39:47] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[07/Aug/2018 17:39:47] "GET /static/js/source.js HTTP/1.1" 200 39565 +[07/Aug/2018 17:39:47] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[07/Aug/2018 17:39:48] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[07/Aug/2018 17:39:48] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 17:39:51] "GET /static/fonts/fontawesome-webfont.woff?v=4.7.0 HTTP/1.1" 200 98024 +[07/Aug/2018 17:40:06] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:40:07] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:40:07] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:40:07] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:40:09] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:40:13] "POST /operations/show_annotation/ HTTP/1.1" 200 3693 +[07/Aug/2018 17:40:41] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 17:41:34] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:34] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:34] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:34] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:36] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:40] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:41:40] "POST /operations/show_annotation/ HTTP/1.1" 200 3689 +[07/Aug/2018 17:41:40] "POST /operations/show_annotation/ HTTP/1.1" 200 3689 +[07/Aug/2018 17:43:21] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 17:44:28] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:44:28] "GET /static/vendor/bootstrap/css/bootstrap.css.map HTTP/1.1" 404 1744 +[07/Aug/2018 17:44:29] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:44:29] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:44:29] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:44:31] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:44:36] "POST /operations/show_annotation/ HTTP/1.1" 200 3711 +[07/Aug/2018 17:44:45] "GET /projects/Notes/src/net/micode/notes/ui/NoteEditActivity.java HTTP/1.1" 200 41841 +[07/Aug/2018 17:44:45] "GET /static/vendor/qtip/jquery.qtip.css HTTP/1.1" 200 12616 +[07/Aug/2018 17:44:45] "GET /static/css/prettify.css HTTP/1.1" 200 1726 +[07/Aug/2018 17:44:45] "GET /static/css/font-awesome.css HTTP/1.1" 200 37414 +[07/Aug/2018 17:44:45] "GET /static/css/code_show.css HTTP/1.1" 200 22203 +[07/Aug/2018 17:44:45] "GET /static/js/prettify.js HTTP/1.1" 200 18331 +[07/Aug/2018 17:44:45] "GET /static/css/monokai-sublime.css HTTP/1.1" 200 1026 +[07/Aug/2018 17:44:45] "GET /static/vendor/bootstrap/css/bootstrap1.css HTTP/1.1" 200 151053 +[07/Aug/2018 17:44:45] "GET /static/image/codepedia.png HTTP/1.1" 200 3350 +[07/Aug/2018 17:44:46] "GET /static/js/source.js HTTP/1.1" 200 39565 +[07/Aug/2018 17:44:46] "GET /static/image/users/default.png HTTP/1.1" 200 36378 +[07/Aug/2018 17:44:47] "GET /static/js/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js HTTP/1.1" 200 337802 +[07/Aug/2018 17:44:47] "GET /static/js/jstree.js HTTP/1.1" 200 161840 +[07/Aug/2018 17:44:48] "POST /operations/get_addtab_paras/ HTTP/1.1" 200 133 +[07/Aug/2018 17:44:49] "POST /operations/show_navigation/ HTTP/1.1" 200 1155 +[07/Aug/2018 17:44:49] "POST /operations/right/ HTTP/1.1" 200 1040 +[07/Aug/2018 17:44:50] "POST /operations/get_codereading_content/ HTTP/1.1" 200 737908 +[07/Aug/2018 17:44:52] "GET /static/image/annotation.png HTTP/1.1" 200 1148 +[07/Aug/2018 17:44:52] "GET /static/image/question.png HTTP/1.1" 200 1112 +[07/Aug/2018 17:44:55] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:44:56] "POST /operations/show_annotation/ HTTP/1.1" 200 3711 +[07/Aug/2018 17:45:00] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:45:07] "POST /operations/show_annotation/ HTTP/1.1" 200 2040 +[07/Aug/2018 17:45:22] "POST /operations/add_comment/ HTTP/1.1" 200 38 +[07/Aug/2018 17:45:26] "POST /operations/add_comment/ HTTP/1.1" 200 38 +[07/Aug/2018 17:45:59] "POST /operations/show_annotation/ HTTP/1.1" 200 2044 +[07/Aug/2018 17:46:07] "POST /operations/add_comment/ HTTP/1.1" 200 79 +[07/Aug/2018 17:46:11] "POST /operations/show_annotation/ HTTP/1.1" 200 3231 +[07/Aug/2018 17:46:13] "POST /operations/show_annotation/ HTTP/1.1" 200 3715 +[07/Aug/2018 17:46:17] "POST /operations/show_annotation/ HTTP/1.1" 200 3715 +[07/Aug/2018 17:46:19] "POST /operations/show_annotation/ HTTP/1.1" 200 2064 +[07/Aug/2018 17:46:23] "POST /operations/show_annotation/ HTTP/1.1" 200 270 +[07/Aug/2018 17:46:25] "POST /operations/show_annotation/ HTTP/1.1" 200 2064 +[07/Aug/2018 17:46:29] "POST /operations/add_comment/ HTTP/1.1" 200 79 +[07/Aug/2018 17:46:32] "POST /operations/show_annotation/ HTTP/1.1" 200 2084 +[07/Aug/2018 17:46:34] "POST /operations/show_annotation/ HTTP/1.1" 200 2084 +[07/Aug/2018 17:46:35] "POST /operations/show_annotation/ HTTP/1.1" 200 2084 +[07/Aug/2018 17:46:37] "POST /operations/show_annotation/ HTTP/1.1" 200 2084 +[07/Aug/2018 17:47:04] "POST /operations/show_annotation/ HTTP/1.1" 200 2698 +[07/Aug/2018 17:47:04] "POST /operations/show_annotation/ HTTP/1.1" 200 2698 +Internal Server Error: /operations/show_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 175, in translate_token + op = OPERATORS[token] +KeyError: 'annos|length==1' + +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 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 102, in post + html_str = render_to_string('projects/filesub/annotation.html', {'linenum':line_num,'annos': annotations,"anno_comments":anno_comments,"self_anno":self_annotation,"allow_modify":allow_modify}) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 955, in do_if + condition = TemplateIfParser(parser, bits).parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 888, in __init__ + super().__init__(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 166, in __init__ + mapped_tokens.append(self.translate_token(token)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 177, in translate_token + return self.create_var(token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 891, in create_var + return TemplateLiteral(self.template_parser.compile_filter(value), value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 668, in __init__ + "from '%s'" % (token[upto:], token)) +django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '==1' from 'annos|length==1' +[07/Aug/2018 18:16:26] "POST /operations/show_annotation/ HTTP/1.1" 500 23609 +Internal Server Error: /operations/show_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 175, in translate_token + op = OPERATORS[token] +KeyError: 'annos|length==1' + +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 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 102, in post + html_str = render_to_string('projects/filesub/annotation.html', {'linenum':line_num,'annos': annotations,"anno_comments":anno_comments,"self_anno":self_annotation,"allow_modify":allow_modify}) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 955, in do_if + condition = TemplateIfParser(parser, bits).parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 888, in __init__ + super().__init__(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 166, in __init__ + mapped_tokens.append(self.translate_token(token)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 177, in translate_token + return self.create_var(token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 891, in create_var + return TemplateLiteral(self.template_parser.compile_filter(value), value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 668, in __init__ + "from '%s'" % (token[upto:], token)) +django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '==1' from 'annos|length==1' +[07/Aug/2018 18:16:40] "POST /operations/show_annotation/ HTTP/1.1" 500 23609 +Internal Server Error: /operations/show_annotation/ +Traceback (most recent call last): + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 175, in translate_token + op = OPERATORS[token] +KeyError: 'annos|length==1' + +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 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 102, in post + html_str = render_to_string('projects/filesub/annotation.html', {'linenum':line_num,'annos': annotations,"anno_comments":anno_comments,"self_anno":self_annotation,"allow_modify":allow_modify}) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string + template = get_template(template_name, using=using) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template + return engine.get_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template + return Template(self.engine.get_template(template_name), self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 144, in get_template + template, origin = self.find_template(template_name) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/engine.py", line 126, in find_template + template = loader.get_template(name, skip=skip) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/loaders/base.py", line 30, in get_template + contents, origin, origin.template_name, self.engine, + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 160, in __init__ + self.nodelist = self.compile_nodelist() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 198, in compile_nodelist + return parser.parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 483, in parse + raise self.error(token, e) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 481, in parse + compiled_result = compile_func(self, token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 955, in do_if + condition = TemplateIfParser(parser, bits).parse() + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 888, in __init__ + super().__init__(*args, **kwargs) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 166, in __init__ + mapped_tokens.append(self.translate_token(token)) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/smartif.py", line 177, in translate_token + return self.create_var(token) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/defaulttags.py", line 891, in create_var + return TemplateLiteral(self.template_parser.compile_filter(value), value) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 568, in compile_filter + return FilterExpression(token, self) + File "/root//envs/codepedia2/lib/python3.6/site-packages/django/template/base.py", line 668, in __init__ + "from '%s'" % (token[upto:], token)) +django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '==1' from 'annos|length==1' +[07/Aug/2018 18:16:41] "POST /operations/show_annotation/ HTTP/1.1" 500 23610 +[07/Aug/2018 18:17:26] "POST /operations/show_annotation/ HTTP/1.1" 200 3897 +[07/Aug/2018 18:17:58] "POST /operations/show_annotation/ HTTP/1.1" 200 3955 +[07/Aug/2018 18:18:01] "POST /operations/show_annotation/ HTTP/1.1" 200 3423 +[07/Aug/2018 18:18:03] "POST /operations/show_annotation/ HTTP/1.1" 200 2880 +[07/Aug/2018 18:18:06] "POST /operations/show_annotation/ HTTP/1.1" 200 362 +[07/Aug/2018 18:18:07] "POST /operations/show_annotation/ HTTP/1.1" 200 2880 +[07/Aug/2018 18:18:08] "POST /operations/show_annotation/ HTTP/1.1" 200 2880 +[07/Aug/2018 18:18:15] "POST /operations/show_annotation/ HTTP/1.1" 200 3955 +[07/Aug/2018 18:18:18] "POST /operations/show_annotation/ HTTP/1.1" 200 3423 +[07/Aug/2018 18:18:21] "POST /operations/show_annotation/ HTTP/1.1" 200 2880 +[07/Aug/2018 18:19:22] "POST /operations/show_annotation/ HTTP/1.1" 200 362 +[07/Aug/2018 18:19:36] "POST /operations/show_annotation/ HTTP/1.1" 200 2802 +[07/Aug/2018 18:19:39] "POST /operations/show_annotation/ HTTP/1.1" 200 362 +[07/Aug/2018 18:19:42] "POST /operations/show_annotation/ HTTP/1.1" 200 3423 +[07/Aug/2018 18:19:46] "POST /operations/show_annotation/ HTTP/1.1" 200 362 +[07/Aug/2018 18:19:50] "POST /operations/show_annotation/ HTTP/1.1" 200 8285 +[07/Aug/2018 18:19:55] "POST /operations/show_annotation/ HTTP/1.1" 200 3177 +[07/Aug/2018 18:19:58] "POST /operations/show_annotation/ HTTP/1.1" 200 2147 +[07/Aug/2018 18:20:00] "POST /operations/show_annotation/ HTTP/1.1" 200 2161 diff --git a/static/css/code_show.css b/static/css/code_show.css index d4dc461..69bed86 100644 --- a/static/css/code_show.css +++ b/static/css/code_show.css @@ -25,6 +25,7 @@ p, input, table { word-wrap: break-word; } +} .color-yellow{ color: #FFC90E; } @@ -37,6 +38,9 @@ p, input, table { color: #575757; } +.fontcolor-white{ + color: white; +} .color-grey-des { color: #808080; } @@ -499,11 +503,13 @@ a:hover { } .panel-right { + color: #EBEBEB; font-size:13px; display: block; float: left; flex: 1; + padding-left: 30px; } .middle-area { @@ -1141,6 +1147,14 @@ pre.prettyprint { color: black; } +.path_info img{ + cursor: pointer; +} + +.path_info i{ + cursor: pointer; +} + .filePathInfo { background-color: #26292b!important; width: 100%; @@ -1217,9 +1231,10 @@ color: #FFF !important; .info-nav{ color: #FFF; } -.path_infonav span{ +/* .path_infonav span{ color: #FFF; -} +} */ + /* nav-right */ .navbar-right { @@ -1436,4 +1451,10 @@ color: #FFF !important; margin: 4px 0px 0px 5px; width: 27px; padding-left: 7px; +} + +.modify_anno{ + float: right; + margin-right: 20px; + color: blue; } \ No newline at end of file diff --git a/static/js/source.js b/static/js/source.js index c8d0814..9535ed1 100644 --- a/static/js/source.js +++ b/static/js/source.js @@ -42,7 +42,6 @@ function show_annotation(file_id, line_num) { $("#ItemcommentPanel").remove() var html="
"+data.html_str+"
" $("#linestatus_"+file_id+"_"+line_num).append(html); - }else{ alert(data.msg) } @@ -621,7 +620,9 @@ function mouseCoords(ev) { } var tabSet = new Set(); -var issue_map = new Map(); +// var issue_map = new Map(); +var right_map = new Map(); +var tree_nodes = new Map(); function path_predeal(path){ // path = path.replace('.', ''); @@ -637,6 +638,9 @@ function open_tab(path) { path_input=path path = path_predeal(path) + $('#jstree').jstree("deselect_all", true); + $('#jstree').jstree("select_node", tree_nodes[path]); + var tabcontent = document.getElementsByClassName("codereading"); for (var i = 0; i < tabcontent.length; i++) { tabcontent[i].style.display = "none"; @@ -653,11 +657,18 @@ function open_tab(path) { document.getElementById("tab_" + path).className += " active"; document.getElementsByClassName("filename")[0].innerHTML = path_input; - if(!issue_map.has(path)){ - window.setTimeout(function () { $("#hotest_issue").html(issue_map[path]) }, 3000); + + if(!right_map.has(path)){ + window.setTimeout(function () { $("#right_panel").html(right_map[path]) }, 3000); }else{ - $("#hotest_issue").html(issue_map[path]); + $("#right_panel").html(right_map[path]); } + + // if(!issue_map.has(path)){ + // window.setTimeout(function () { $("#hotest_issue").html(issue_map[path]) }, 3000); + // }else{ + // $("#hotest_issue").html(issue_map[path]); + // } show_navigation(); } // 添加一个新的标签页, @@ -666,12 +677,15 @@ function open_tab(path) { // 并调用open_tab function add_tab(project_id,path,filename) { + var tree_node = $("#jstree").jstree("get_selected"); + var path_before = path //需要将path处理一下,因为css样式中/以及.是不行的 tmp_index = path.indexOf("#"); if(tmp_index != -1){ path = path.substring(0,tmp_index) } + var path_input = path; path = path_predeal(path) @@ -768,13 +782,33 @@ function add_tab(project_id,path,filename) { open_tab(path_input); + // 现在Hotest Question 模块先不用了 + // // 填充hotest_question + // $.ajax({ + // cache: false, + // type: "POST", + // url: '/operations/get_hotest_issues/', + // data: { 'project_id': project_id, 'path': path_input,"question_num":5 }, + // dataType: 'json', + // async: true, + // beforeSend: function (xhr, settings) { + // xhr.setRequestHeader("X-CSRFToken", csrftoken); + // }, + // success: function (data) { + // if (data.status === 'success') { + // issue_map[path] = data.html_str; + // } + // else { + // issue_map[path] = "" + // } + // } + // }); - // 填充hotest_question $.ajax({ cache: false, type: "POST", - url: '/operations/get_hotest_issues/', - data: { 'project_id': project_id, 'path': path_input,"question_num":5 }, + url: '/operations/right/', + data: { 'project_id': project_id, 'path': path_input}, dataType: 'json', async: true, beforeSend: function (xhr, settings) { @@ -782,14 +816,15 @@ function add_tab(project_id,path,filename) { }, success: function (data) { if (data.status === 'success') { - issue_map[path] = data.html_str; + right_map[path] = data.html_str; } else { - issue_map[path] = "" + right_map[path] = "" } } }); - + + tree_nodes[path]=tree_node tabSet.add(path); } } @@ -872,6 +907,96 @@ function add_dir_annotation(item, file_id, line_num){ } } +function show_dir_annotation(file_id){ + ev = window.event; + var mousePos = mouseCoords(ev); + + $.ajax({ + cache: false, + type: "POST", + url: '/operations/show_annotation/', + data: { 'file_id': file_id, 'line_num': 0 }, + dataType: 'json', + async: true, + beforeSend: function (xhr, settings) { + xhr.setRequestHeader("X-CSRFToken", csrftoken); + }, + success: function (data) { + if (data.status === "success") { + console.log(1111) + //console.log("linestatus_"+line_num); + //$("#loadCommentpanel").html(data.html_str); + //$("#commentPanel").css("top", mousePos.y); + //$("#commentPanel").css("left", mousePos.x+35); + //$("#loadCommentpanel").show(); + //console.log(data.html_str); + $("#ItemcommentPanel").remove() + var html="
"+data.html_str+"
" + $("#dir_anno_"+file_id).append(html); + }else{ + alert(data.msg) + } + } + }); +} + +function show_dir_issue_question(file_id){ + ev = window.event; + var mousePos = mouseCoords(ev) + //发送问题id,返回问题内容 + $.ajax({ + cache: false, + type: "POST", + url: '/operations/show_issue_question/', + data: { 'file_id': file_id, 'line_num': 0, 'issue_ids': "[]"}, + dataType: 'json', + async: true, + beforeSend: function (xhr, settings) { + xhr.setRequestHeader("X-CSRFToken", csrftoken); + }, + success: function (data) { + if(data.status=='success'){ + var html="
"+data.html_str+"
"; + $("#dir_question_"+file_id).append(html); +// $("#loadQuestionpanel").html(data.html_str); + if (data.issueAnswers) { + //字符串转换成整型数组 + var dataStrArr = issueid_str.substring(1, issueid_str.length - 1).split(",") + var issue_ids = dataStrArr.map(function (data) { + return +data; + }); + // + issueAnswers = JSON.parse(data.issueAnswers); + issueStandardAnswers = JSON.parse(data.issueStandardAnswers); + + let count = 0; + for (let i = 0; i < issue_ids.length; i++) { + issue_id = issue_ids[i] + + if (issue_id == issueAnswers[count].fields.issue) { + var radios = document.getElementsByName("issue_" + issue_id) + user_answer = issueAnswers[0].fields.content; + standard_answer = issueStandardAnswers[0].fields.choice_position; + if (user_answer == standard_answer) { + radios[user_answer - 1].parentNode.style.color = "green"; + } else { + radios[parseInt(user_answer) - 1].parentNode.style.color = "red"; + radios[parseInt(standard_answer) - 1].parentNode.style.color = "green"; + } + document.getElementById("submit_onechoice_" + issue_id).style.display = "None"; + count = count + 1 + } + } + } + //$("#questionPanel").css("top", mousePos.y); + //$("#questionPanel").css("left", mousePos.x - 400); + //$("#loadQuestionpanel").show(); + }else{ + alert(data.msg) + } + } + }); +} function submint_dir_annotation(file_id, line_num, content) { @@ -894,7 +1019,9 @@ function submint_dir_annotation(file_id, line_num, content) { $("#dir_anno_" + +file_id).html(parseInt(value) + 1); } } - alert(data.msg); + $(".addno-panel").hide(); + $(".source-addno-panel").remove(); + show_dir_annotation(file_id); } }); } @@ -920,7 +1047,9 @@ function submint_dir_question(file_id, line_num, content) { $("#dir_question_" + +file_id).html(parseInt(value) + 1); } } - alert(data.msg); + $(".addno-panel").hide(); + $(".source-addno-panel").remove(); + show_dir_issue_question(file_id); } }); } @@ -970,6 +1099,9 @@ window.onload = function () { }, success: function (data) { if (data.status === 'success') { + // 展开当前标签对应的节点 + // $('#jstree').jstree("deselect_all", true); + // $('#jstree').jstree("select_node", "j1_1355554"); add_tab(data.project_id, data.path, data.filename) } } diff --git a/static/vendor/site/html/# class CustomBackend(ModelBackend): b/static/vendor/site/html/# class CustomBackend(ModelBackend): deleted file mode 100755 index c623d50..0000000 --- a/static/vendor/site/html/# class CustomBackend(ModelBackend): +++ /dev/null @@ -1,29 +0,0 @@ -# class CustomBackend(ModelBackend): -# def authenticate(self, username=None, password=None, **kwargs): -# try: -# user = UserProfile.objects.get(Q(username=username)|Q(email=username)) -# if user.check_password(password): -# return user -# except Exception as e: -# return None -# -# -# # 使用类来完成登录功能 -# class LoginView(View): -# def get(self, request): -# return render(request, "login.html", {}) -# -# def post(self, request): -# login_form = LoginForm(request.POST) -# if login_form.is_valid(): -# user_name = request.POST.get("username", "") -# pass_word = request.POST.get("password", "") -# user = authenticate(username=user_name, password=pass_word) -# if user is not None: -# login(request,user) -# return render(request,"index.html") -# else: -# return render(request, "login.html", {"msg": "用户名或密码错误"}) -# -# else: -# return render(request,"login.html", {'login_form': login_form}) \ No newline at end of file diff --git a/templates/projects/filesub/annotation.html b/templates/projects/filesub/annotation.html index 734f205..ed32c5d 100644 --- a/templates/projects/filesub/annotation.html +++ b/templates/projects/filesub/annotation.html @@ -3,42 +3,10 @@

该代码块共有{{annos|length}}个注释

- {% for anno in annos%} - -
-

-

{{ anno.vote }}

-

-
-
-
- {{ forloop.counter }}.{{ anno.content }} -
-
- -
-
- {{anno.user.nick_name}} - 添加评论 -
-
- - - {% for comment in anno_comments %} -
-

- {#

#} -

{{ anno.vote }}

-

- {#

#} -
- {% if comment.annotation.pk == anno.pk %} + {% if comment.annotation.pk == self_anno.pk %}
{{ comment.content }} {{ comment.user.nick_name }} @@ -47,6 +15,43 @@ {% endif %} {% endfor %} - {% endfor %} + {% else %} +
其他人的注释:
+ {% for anno in annos%} + {% if self_anno is None or anno.id != self_anno.id %} +
+
+
+

+

{{ anno.vote }}

+

+
+ {{ forloop.counter }}.{{ anno.content }} + +
+
+ {{anno.user.nick_name}} + 添加评论 + +
+
+
+ {% for comment in anno_comments %} + {% if comment.annotation.pk == anno.pk %} +
+ {{ comment.content }} + {{ comment.user.nick_name }} +
+
+ {% endif %} + {% endfor %} +
+ {% endif %} + {% endfor %} + {% endif %}
\ No newline at end of file diff --git a/templates/projects/filesub/code-reading.html b/templates/projects/filesub/code-reading.html index 6ed0ea0..10cabf1 100644 --- a/templates/projects/filesub/code-reading.html +++ b/templates/projects/filesub/code-reading.html @@ -38,8 +38,7 @@
{{ linenum }}
- -
+
             {{line}}
         
diff --git a/templates/projects/filesub/dir_info.html b/templates/projects/filesub/dir_info.html index 2079d64..7898a54 100644 --- a/templates/projects/filesub/dir_info.html +++ b/templates/projects/filesub/dir_info.html @@ -3,12 +3,12 @@ 目录信息

- - {{anno_num}} + + {{anno_num}} - - {{question_num}} + + {{question_num}} @@ -29,6 +29,20 @@

+
+ + + + + + + + + + + + +
diff --git a/templates/projects/filesub/file-right.html b/templates/projects/filesub/file-right.html new file mode 100644 index 0000000..3570acb --- /dev/null +++ b/templates/projects/filesub/file-right.html @@ -0,0 +1,29 @@ + +
+

File Infomation

+

+ methods + {{method_num}} +

+

+ lines + {{filelinenum}} +

+

+ view + {{view_num}} +

+

+ annotation + {{anno_num}} +

+

+ questions + {{issue_num}} +

+
+ + + \ No newline at end of file diff --git a/templates/projects/source.html b/templates/projects/source.html index df32b42..9ec6f47 100644 --- a/templates/projects/source.html +++ b/templates/projects/source.html @@ -133,41 +133,8 @@
-
-
-

Project Infomation

-

- Created - 2018年4月22日 11:19 -

-

- Views - 392 -

-

- Active - 2018年4月22日 11:19 -

-

- Source - GitHub/MiNote -
OSSEAN/Minote
-

-
- -
-

Project Description

-

This method was deprecated in API level 23 as of JDK version 1.1

-
- style - script - script -
-
- -
- -
+
+