dvm icon indicating copy to clipboard operation
dvm copied to clipboard

dvm crashes with IOException (directory is not empty) when doing "dvm install 2.064" and then "dvm install --64bit 2.064"

Open CyberShadow opened this issue 11 years ago • 2 comments

It was complaining that a certain directory was not empty, but by the time it exited, that directory was completely gone. I worked around it by deleting 2.064's directory inside ~/.dvm.

CyberShadow avatar Nov 13 '13 19:11 CyberShadow

The same error if I install dmd, remove dmd and install dmd again:

dvm install 2.064.2 dvm uninstall 2.064.2 dvm install 2.064.2

Installing: dmd-2.064.2 An unknown error occurred: tango.core.Exception.IOException: ~/.dvm/tmp/dmd-2.064.2/dmd2/src: Directory not empty

ilya-stromberg avatar Nov 23 '13 07:11 ilya-stromberg

Same here. Seems to be triggered when an install is done on top of an existing install. To make things worse: uninstall doesn't work:

$ dvm list
Installed D compilers:

dmd-2.066.1
$ dvm uninstall 2.066.1
Uninstalling dmd-2.066.1
$ dvm list
Installed D compilers:

dmd-2.066.1

Platform: Mac OS X 10.10.5. I have used the -d option to make the installed version the default.

veelo avatar Sep 09 '15 22:09 veelo