Closed robvanmieghem closed 4 years ago
solved in 8a462fdb1215575b080a6e6c7337ff2f0976b6d1
I won't have this blocked on catalina installation. closing.
@xmonader The commit does not fix the issue since it checks if {DIR_BASE}/var/containers
is a directory, not the entry found inside this directory
Now that i merged ur PR @robvanmieghem it should be fixed :)
Finder creates a
.DS_Store
file with metadata of the folder. https://github.com/threefoldtech/jumpscaleX_core/blob/4d8c13431c8cf9d6cc567ef51cc629273b13cd22/install/InstallTools.py#L4425 loops over all foldercontent and assumes it are all containerfolders. When creating the DockerContainer instance, it tries to write a configfile inside the presumed folder, resulting in an error off course. A workaround is to remove the .DS_Store file from the commandline or a fix can be to addif os.path.isdir(os.path.join(cdir,name_found)):
to the above referenced code.