Anyone else having trouble saving their patches? Every time I save I get the following:
"Could not save patch: Archiver could not write entry to archive: Numeric group ID too large"
I downloaded it yesterday, I updated my library, and I also tried to open an old patch (which worked), but I can’t save it. Can’t save a new patch, can’t “Save As…”
I tried deleting my Rack2 user folder and the Rack2 Free App, still doesn’t work.
Open a terminal and go to the directory where the problem patch is, e.g. cd ~/Documents/Rack2/patches/Noodlings/, and post the output of running the command ls -ln "problem patch.vcv". Also post the output of running the command id in your terminal.
I’ve never seen user id’s and group id’s that high, looks crazy. Are you on some massively multi-user system?
That user-id of 273201 puts it outside of 16-bit range. I didn’t know that was even legal in POSIX. Looks very weird to me…
Could you post the output of id please, and just replace the group-names with X or something? I would like to see what your id and group number is. Did you make this template.vcv patch on your own system with your own user? Do all your patches look like this, with these high user-id/group-id numbers?
Yes, my user ID is 273201 and my [primarygroup] ID is 89939. Excerpt:
susachev@susachev-macbookpro1:~/Documents/Rack2$ id
uid=273201(susachev) gid=89939(primarygroup) <...>
Normally, all the files I create and operate on have these UIDs and GIDs.
Are you on some massively multi-user system?
Sort of. While my Mac itself is not massively multi-user, it is integrated with a much larger namespace, so that might be the reason my user ID is higher than 18 bits.
I’m getting the sense that this explains it. My sense is that the trouble is in how Rack uses libarchive to write patches. If it actually uses the old “ustar” format, and I’m reading this correctly, there’s room for 8-bit uid and gid fields, which is… very small, that would be strange. For your (somewhat extreme) case you actually need 32-bit or character fields to represent your UID and at least unsigned 16-bit (or character) to represent your GID. If you can dig into Rack’s source-code, and see how it uses libarchive, then maybe file a VCV support case.
PS I know VCVRack doesn’t accept pull requests, but changing this line to
archive_write_set_format_pax_restricted(a);
works, tested locally that patches are saved and are interoperable with the released build. (Although @Vortico might have his own reasons for choosing ustar specifically, of course).
Was going to re-edit but thought it would be clearer written as a reply down here.
@LarsBjerregaard It is VCV policy that purchasers of products (which all VST users are) are guaranteed support at vcvrack.com/support even if the issue is a third party module. Support is struggling under the weight of requests but they are working on it.
Ok, well that’s good news I guess, if support can cope with it. All I know is that the OP identified as running Rack Free and I’ve never heard of VCV support for other plugins before, but live and learn I guess. On VCV - Support it says:
For assistance with your VCV account, feature requests and bug reports for VCV products, the VCV Library, and business/private requests, email support@vcvrack.com or use the contact form on this page.
This says VCV products but maybe there’s been a change of policy I haven’t heard about.
I have the same issue with saving patches on Win 10 too, both version Free and Pro.
Error message: Archiver could not get next entry from archiver. and could not get system template clearing rack. Unarchiver cannot write file to dir: Can’t write to:\Documents\Rack2\Autosave.
My very preliminary guess is that your username (and the path to Rack2 folder as a consequence) contains non-ASCII characters, is that true?
I am not sure why exactly it is causing the issue and how to fix it though, but maybe you can try saving your patches in a folder with ASCII characters only as a temporary workaround if that’s the case.
Also, please report the bug here: VCV - Support, the issue seems to be different from the one OP and I are having.
UPD I have thought of another quick workaround – you can move your Documents folder to a different location, say to D:\Documents, see, for example, here.
I have tried to save the patches somewhere else like in my downloads folder but I was able to do it once…already after I was not be able to save it again on the same place. I had not any issue with Rack 1 which still works on the same PC.Is there a possibility
to change the path of the Rack 2 folder from myDocuments to another place?