VoTT icon indicating copy to clipboard operation
VoTT copied to clipboard

Getting 'Unable to load asset' for Removed Images

Open ghost opened this issue 5 years ago • 5 comments

I have removed several images from the project image source folder, before they were even annotated, and yet VoTT seems to still expect them to be there, and so I am getting errors 'Unable to load asset' How do I tell VoTT to forget about these missing images?

See screenshot here: image

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Browser [Chrome]
  • Version [VoTT v 2.1.0]

Additionally, could this be causing issue #929 ?

ghost avatar Dec 26 '19 23:12 ghost

You can edit the .vott file with the editor and just delete the asset.

SeverinNovack avatar Jan 06 '20 13:01 SeverinNovack

From my experience, the hint would cause the issue #929.

songyuc avatar Jul 03 '20 09:07 songyuc

Editing the .vott file does not work, I am amazed at how the editor still remembers the asset's name even though that name does not exist in the json anymore.

octo-kumo avatar Jan 23 '21 09:01 octo-kumo

It looks like the entire project is stored in localStorage, why not just add a delete button to assets

octo-kumo avatar Jan 23 '21 09:01 octo-kumo

Workaround: If the project is stored local,

  • remove - asset from your project file *.vott
  • clean npm cache: npm cache clean --force
  • npm cache verify

After the restart the deleted Images should be gone in the VoTT Editor.

Kraego avatar Nov 09 '21 13:11 Kraego