Project

General

Profile

Actions

Bug #9080

closed

Downloading and uploading all marks does not work

Added by Ilja Zakharov over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Immediate
Category:
Bridge
Target version:
Start date:
07/09/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

Currently in Klever 1.0 I cannot download all marks and upload all marks as a manager user. There is an exception that asks something from /tmp directory and also prints other strange problems:

[Errno 2] No such file or directory: '/tmp/tmpfzlguix3'
Traceback (most recent call last):
File "/work/zakharov/src/klever/bridge/bridge/CustomViews.py", line 61, in dispatch
return getattr(super(), 'dispatch')(request, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/work/zakharov/src/klever/bridge/bridge/CustomViews.py", line 94, in post
return JsonResponse(self.get_context_data())
File "/work/zakharov/src/klever/bridge/marks/views.py", line 368, in get_context_data
bool(int(self.request.POST.get('delete', 0)))
File "/work/zakharov/src/klever/bridge/marks/Download.py", line 237, in init
self.__upload_all(marks_dir)
File "/work/zakharov/src/klever/bridge/marks/Download.py", line 244, in __upload_all
for file_name in os.listdir(marks_dir):
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfzlguix3'


Files

Marks--9-7-2018.zip (305 KB) Marks--9-7-2018.zip Ilja Zakharov, 07/09/2018 08:04 PM
Actions

Also available in: Atom PDF