vMix Forums
»
General
»
Instant Replay
»
Script error "replay.xml is being used by another process."
Rank: Advanced Member
Groups: Registered
Joined: 2/2/2015(UTC) Posts: 166 Location: NL
Thanks: 164 times Was thanked: 19 time(s) in 16 post(s)
|
The script below creates an event, copies it into the same bank, and sets angles on/off and names them.
It works about 4 times and the 5th time, I get: "Script '-5_Guest' Error Line 15: The process cannot access the file 'E:\vMix_IRP\replay.xml' because it is being used by another process." Line 15 is: Function=ReplayCopyLastEvent&Value=1
Kind thanks for any advice.
Function=ReplaySelectEvents2 Sleep 10 Function=ReplayACamera1 Sleep 10 Function=ReplayBCamera1 Sleep 10 Function=ReplayMarkInOutLive&Value=5 Sleep 10 Function=ReplayToggleLastEventCamera2 Sleep 10 Function=ReplayToggleLastEventCamera1 Sleep 10 Function=ReplaySetLastEventTextCamera&Value=2,Score_Guest_1eh_SlamR Sleep 20 Function=ReplayCopyLastEvent&Value=1 Sleep 20 Function=ReplayToggleLastEventCamera1 Sleep 10 Function=ReplayToggleLastEventCamera2 Sleep 10 Function=ReplaySetLastEventTextCamera&Value=1,Score_Guest_1eh_Main Sleep 10 Function=ReplaySetLastEventTextCamera&Value=2,...
(maybe it works better to first copy the event into a different bank, and only then copy it back to the bank it came from?)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/23/2019(UTC) Posts: 561
Thanks: 62 times Was thanked: 131 time(s) in 119 post(s)
|
I'm not an expert, so just a guess: Does increasing the sleep times before line 15 help?
|
1 user thanked dmwkr for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/2/2015(UTC) Posts: 166 Location: NL
Thanks: 164 times Was thanked: 19 time(s) in 16 post(s)
|
I had it at 20 which did not help. But thanks for the suggestion, I will try it at e.g. 100 and see what happens.
Btw the .xml file is on a fast NVMe drive that only does IRP recording so if it's a write-latency-issue, that should be manageable.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/2/2015(UTC) Posts: 166 Location: NL
Thanks: 164 times Was thanked: 19 time(s) in 16 post(s)
|
Well, well, increasing the Sleep to 100 seems to help. The script produces no errors now:
Function=ReplaySelectEvents2 Sleep 10 Function=ReplayACamera1 Sleep 10 Function=ReplayBCamera1 Sleep 10 Function=ReplayMarkInOutLive&Value=5 Sleep 10 Function=ReplayToggleLastEventCamera2 Sleep 10 Function=ReplayToggleLastEventCamera1 Sleep 10 Function=ReplaySetLastEventTextCamera&Value=2,Score_Guest_1eh_SlamR Sleep 100 Function=ReplayCopyLastEvent&Value=1 Sleep 10 Function=ReplayToggleLastEventCamera1 Sleep 10 Function=ReplayToggleLastEventCamera2 Sleep 10 Function=ReplaySetLastEventTextCamera&Value=1,Score_Guest_1eh_Main Sleep 10 Function=ReplaySetLastEventTextCamera&Value=2,-
|
|
|
|
vMix Forums
»
General
»
Instant Replay
»
Script error "replay.xml is being used by another process."
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close