Failed to export on shared folder
See original GitHub issueObserved behavior
Kolibri failed to export on shared folder.
Expected behavior
better feedback that permission is denied
User-facing consequences
hard-to-understand behavior
Errors and logs
INFO 2020-07-15 17:53:27,088 kolibri.core.content.management.commands.exportchannel Exporting channel database for channel id 95a52b386f2c485cb97dd60901674a98 to Z:\KOLIBRI_DATA
ERROR 2020-07-15 17:53:27,094 kolibri.core.tasks.worker Job bbca668bd06a431b8c0af214281fd26e raised an exception: Traceback (most recent call last):
File "c:\python36\lib\site-packages\kolibri\core\tasks\worker.py", line 72, in handle_finished_future
result = future.result()
File "c:\python36\lib\concurrent\futures\_base.py", line 425, in result
return self.__get_result()
File "c:\python36\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "c:\python36\lib\concurrent\futures\thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "c:\python36\lib\site-packages\kolibri\core\tasks\worker.py", line 218, in wrap
return f(*args, **kwargs)
File "c:\python36\lib\site-packages\kolibri\core\tasks\job.py", line 178, in y
result = func(*args, **kwargs)
File "c:\python36\lib\site-packages\kolibri\core\tasks\api.py", line 1178, in _localexport
check_for_cancel=check_for_cancel,
File "c:\python36\lib\site-packages\kolibri\dist\django\core\management\__init__.py", line 131, in call_command
return command.execute(*args, **defaults)
File "c:\python36\lib\site-packages\kolibri\dist\django\core\management\base.py", line 330, in execute
output = self.handle(*args, **options)
File "c:\python36\lib\site-packages\kolibri\core\tasks\management\commands\base.py", line 113, in handle
return self.handle_async(*args, **options)
File "c:\python36\lib\site-packages\kolibri\core\content\management\commands\exportchannel.py", line 31, in handle_async
with transfer.FileCopy(src, dest, cancel_check=self.is_cancelled) as copy:
File "c:\python36\lib\site-packages\kolibri\core\content\utils\transfer.py", line 63, in __init__
os.makedirs(filedir)
File "c:\python36\lib\os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "c:\python36\lib\os.py", line 210, in makedirs
makedirs(head, mode, exist_ok)
File "c:\python36\lib\os.py", line 220, in makedirs
mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'Z:\\KOLIBRI_DATA'
Steps to reproduce
-
Using vmware fusion with Windows 7 virtual machine
-
Follow this instructions to share add folder into vm This is my setup on shared folder
-
Install Kolibri Windows installer 0.14.0 beta11 and start the Kolibri server
-
log in as super admin user
-
Import a channel and try to export on
shared folder
Context
Tell us about your environment, including:
- Kolibri version: kolibri0.14.0b11
- Operating system: Windows 7
- Browser: Chrome
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Error 0x80070005 when you export VM over Network
On the destination server, right-click on the shared folder and select Properties. · Select the Security tab. · Click Edit button and click...
Read more >If you're unable to share an item in Final Cut Pro - Apple Support
Check the format of the storage device. In the Finder, click on the storage device to select it, then choose File > Get...
Read more >Fixing the Hyper-V Export Error: "Failed to Create Export ...
Failed to create export directory with the name 'D:\Backup\OIT2003DEV2 (73) \Virtual Hard Disks' with error 'The system cannot find the path ...
Read more >Hyper-V Export Error - Spiceworks Community
Failed to create export directory with error 'General access denied error' (0x80070005). I can see the file share location and write to it ......
Read more >Export your organization's data - Google Workspace Admin Help
Each user folder contains a zip file of that user's data. Note: Some data, such as files in shared drives, is owned by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing, as the issue here seems to be “can’t write to unwriteable folder”.
This is no issue when testing on VirtualBox, as I’m able to export to shared folder without problems. It must be that VMware does not assign write permissions when it sets up shared folders for VMs. Agreed to deescalate this to be fixed in the future releases.