02-12-2021, 03:22 AM
Ok, figured it out. When you mentioned base dir it made me think.
In these lines:
file_object.set_value("file_name", u'{0}'.format(file_naming.get_file_name()))
file_object.set_value("checkin_dir", dir_naming.get_lib_dir())
file_object.set_value("relative_dir", snapshot.get_dir('relative', file_object.get_value('type'), new_file_object))
We had to change "relative_dir" to "base_dir_alias" and include the name of the alias
Just changing to "base_dir_alias" causes an error so you have to include the alias so it looks like this:
("base_dir_alias", "name of alias")
Thanks for the tip
In these lines:
file_object.set_value("file_name", u'{0}'.format(file_naming.get_file_name()))
file_object.set_value("checkin_dir", dir_naming.get_lib_dir())
file_object.set_value("relative_dir", snapshot.get_dir('relative', file_object.get_value('type'), new_file_object))
We had to change "relative_dir" to "base_dir_alias" and include the name of the alias
Just changing to "base_dir_alias" causes an error so you have to include the alias so it looks like this:
("base_dir_alias", "name of alias")
Thanks for the tip