brainvisa / brainvisa.github.io

Source of BrainVISA developers site
2 stars 2 forks source link

Make the BrainVISA 5.1.1 release #132

Closed ylep closed 1 year ago

ylep commented 1 year ago

Release check-list

ylep commented 1 year ago

I am getting this error when creating the brainvisa-5.1.1.ova VirtualBox image:

VBoxManage: error: File copy failed
VBoxManage: error: Destination "/home/brainvisa/Desktop" on the guest already exists and is a directory
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSessionWrap, interface IGuestSession
VBoxManage: error: Context: "RTEXITCODE gctlHandleCopy(PGCTLCMDCTX, int, char**, bool)" at line 1898 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Destination "/home/brainvisa/Desktop" on the guest already exists and is a directory.
Traceback (most recent call last):
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/bin/casa_distro_admin", line 25, in <module>
    main()
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/python/casa_distro/command.py", line 360, in main
    result = command(*args, **kwargs)
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/python/casa_distro/admin_commands.py", line 994, in create_user_image
    **kwargs)
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/python/casa_distro/vbox.py", line 284, in create_user_image
    vm.copy_user(f, '/home/brainvisa/Desktop')
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/python/casa_distro/vbox.py", line 544, in copy_user
    source])
  File "/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.1-5.3/src/development/casa-distro/5.1/python/casa_distro/vbox.py", line 53, in vbox_manage
    subprocess.check_call(cmd)
  File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['VBoxManage', 'guestcontrol', '--username', 'brainvisa', '--password', 'brainvisa', 'brainvisa-5.1.1', 'copyto', '--target-directory', '/home/brainvisa/Desktop', '/tmp/tmp3jrhfamz/keyboard.desktop']' returned non-zero exit status 1.
sapetnioc commented 1 year ago

It used to work. What is the VirtualBox version ? The command is supposed to copy a file in a running VM. If VirtualBox is updated, it is possible to start the VM and test the command in a terminal (possibly with another file) to see if it works without having to rebuild the whole image.

ylep commented 1 year ago

I found a workaaround: it works if the argument to --target-directory has a trailing slash... I will push a fix.

denisri commented 1 year ago

Note: I don't have the access rights to publish on testpypi for the project populse_db. However I can push for other projects, and for all projects (including populse_db) on the main pypi. Who is admin there ? @sapetnioc ? If yes, can you fix it please ?

sapetnioc commented 1 year ago

I just checked, I am not owner of populse_db on testpypi.

sapetnioc commented 1 year ago

I think it is Lucie OUVRIER-BUFFET: https://test.pypi.org/user/ouvrierl/ I do not know how to change that.

denisri commented 1 year ago

Oh. OK never mind, it's just the test server.