Closed Frisc98 closed 1 year ago
Hi @Frisc98, thanks for reporting this. To help debug, can you let me know how you initialised the pack cache? For example, did you use cpackget init
~or Keil MDK~?
Edit: just noticed you're on Linux so presumably not Keil MDK
I've used this command from cpackget readme:
$ cpackget init --pack-root path/to/new/pack-root https://www.keil.com/pack/index.pidx
I've set pack-root folder as empty folder in Documents and after init it contained .Download, .Web and .Local
Thanks, I'm able to reproduce this. We think the problem is that the extension can't handle the readonly file permissions set by cpackget init
. If you ls -la
in your pack root you should see the permissions. We'll get that fixed in an upcoming release.
You should be able to work around for now by manually setting the permissions to writable for your user.
Yeah, changing the permissions fixed it. Thank you for your help.
Type: Bug Report
Describe the bug
9 FAILED_PRECONDITION cannot update manifest files ErrorMessage: unable to read Index file /home/user/Documents/keil/cmsis_packs/.Manifest/index.pidx ErrorMessage: open /home/user/Documents/keil/cmsis_packs/.Manifest/index.pidx ErrorMessage: no such file or directory
Screenshots
Additional context
cmsis_pack folder after initialization doesn't contain .Manifest folder, only .Download, .Web and .Local