Bug #9080
Updated by Ilja Zakharov over 6 years ago
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:
> The archive "16-l8z3hjey.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/VTGW/EMG" is not a ZIP file
> The archive "22-i0k0thdc.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/VTGW/TR" is not a ZIP file
> The archive "24-lyrd1a_q.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/VTGW/RSG" is not a ZIP file
> The archive "28-lrmm3nsd.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:kernel:locking:mutex/VTGW/TR" is not a ZIP file
> The archive "30-3tlwl5a4.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:kernel:locking:mutex/VTGW/RSG" is not a ZIP file
> The archive "33-m3ui5snc.zip" of report "/-/LKBCE" is not a ZIP file
> The archive "34-neaj_2s2.zip" of report "/-/LKVOG" is not a ZIP file
> The archive "45-_1i_fay_.zip" of report "/-/VTG/drivers/net/usb/kaweth.ko/linux:kernel:module/VTGW/RSG" is not a ZIP file
> The archive "52-ihpuwza3.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/RP/verification" is not a ZIP file
> The archive "54-rb0o8aoo.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:kernel:module/RP/verification" is not a ZIP file
> The archive "57-25a0wlwf.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:kernel:module/RP" is not a ZIP file
> The archive "58-4xtt_l2t.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/RP/verification/unsafe" is not a ZIP file
> The archive "60-la1i94sl.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:alloc:spinlock/RP" is not a ZIP file
> The archive "65-spjdf3pw.zip" of report "/-/VRP/drivers/net/usb/kaweth.ko/linux:kernel:locking:mutex/RP" is not a ZIP file
> The archive "66-70u70r7m.zip" of report "/-/VTG" is not a ZIP file
> The archive "68-8o6ul59x.zip" of report "/-" is not a ZIP file
> [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'