Does anyone know how to resolve a duplicate UUID warning?


#1

I've created 3 objects that are largely the same, it was a cut and paste job for the last 2 which picked up the UUID/SHA from the first object, is there a simple way to generate a new uuid/sha if there is a duplicate? Or should I just put random information in those fields?


#2

I dont think this is the way it is supposed to be done.. But hey it works.... And I know a lot of people do it in here:

Just change a few numbers in the uuid and also the SHA for all 3 objects and save them. That should work. It worked here most of times :wink: Only a few cases where it didnt work. If you have problem with the above then get back to here. I am going to wait and se if the first works before telling what else can be done.


#3

the best way to create new/duplicate objects is using the object editor, this will automatically give objects a new uuid when you do 'copy to library'

(the sha is no longer used)

if you are doing manually, you can use any uuid generator,
e.g. on a mac,

$ uuidgen

there are also various online ones, just make sure you remove the dashes, i.e. so it looks like the ones you can already see.


#4

What is 'copy to library'? Sorry if I'm being dim, I'm using windows, I've saved my objects in my documents/axoloti/objects/midi/in folder and edit them using notepad as I can't edit the xml directly in the object definition editor.


#5

When you use the object editor , copy to library is on the file menu.
You don't need to edit the xml, the object editor now covers all functionality. And is easier since it updates UUIDs and reloads object etc, and importantly for the community library ensures the correct prefix is used.


#6

Thanks, I did look in that menu for it and couldn't find it, looked again after you posted and there it was... go figure.