AcademySoftwareFoundation / AcademySoftwareFoundation/OpenRV

[Bug]: Multiple Media Reps not working with remote-sync

Open
#1,202 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
764
Forks
246
Avg merge
6d 12h
Merged PRs (30d)
13

Description

### What happened?

In my testing mit mutliple source media reps I noticed that it's not working with remote synced RV's. (sync.mu sync-mode.mu)

steps to reproduce

### Case 1:
1. local RV and remote RV get started and are in sync
2. use `commands.addSourceMediaRep(...)`
3. see that Switch node is not created on remote RV and therefore the second rep is just added as a normal source.
4. if you want to change anything on the switch node you get an error on the remote RV: _\"sourceGroup000001_switchGroup\" is not a node"_

### Case 2:
1. start local RV
2. use `commands.addSourceMediaRep(...)`
3. start/connect remote RV
4. switch node get's created (reflects state of local RV)
5. try switching the reps in the UI
6. see that changes don't get reflected in other RV (-> stays with the same rep)

### List all the operating systems versions where this is happening

AlmaLinux9

### On what computer hardware is this happening?

linux

### Relevant console log output

```shell
Event: new-node from session000 'sourceGroup000001_source'
Action begin on Event: 'new-node'
Action complete on Event: 'new-node' processed by table sync:global (0.0189565ms)
Event: new-source from session000 'sourceGroup000001_source;;RVSource;;blank.movieproc'
Event: graph-state-change from IPGraph 'sourceGroup000001_source.group.volume'
Action begin on Event: 'graph-state-change'
Action complete on Event: 'graph-state-change' processed by table SequenceGroup_edit_mode:global (0.00945813ms)
Action begin on Event: 'graph-state-change'
Action complete on Event: 'graph-state-change' processed by table sync:global (0.0200332ms)
Action begin on Event: 'graph-state-change'
Action complete on Event: 'graph-state-change' processed by table default:global (0.00723767ms)
Event: range-changed from session000 ''
Action begin on Event: 'range-changed'
Action complete on Event: 'range-changed' processed by table SequenceGroup_edit_mode:global (0.00599805ms)
Action begin on Event: 'range-changed'
Action complete on Event: 'range-changed' processed by table timeline:global (0.00455396ms)
Event: cache-mode-changed from session000 'buffer'
Action complete on Event: 'remote-sync-eval' processed by table sync:global (40.3248ms)
Event: remote-sync-graph-state from session000 'sourceGroup000001_switchGroup.ui.name/#RVSwitchGroup.ui.name/setStringProperty("sourceGroup000001_switchGroup.ui.name", string[] {""}, true)|session0|'
Action begin on Event: 'remote-sync-graph-state'
ERROR: event = remote-sync-graph-state
ERROR: function = __lambda1143 (void; Event event)
ERROR: Exception Value: exception: "in commands.nodeType: \"sourceGroup000001_switchGroup\" is not a node"
Action complete on Event: 'remote-sync-graph-state' processed by table sync:global (0.311747ms)
```

### Environment variables

_No response_

### Extra information

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start with sync.mu and sync-mode.mu, then trace commands.addSourceMediaRep and the remote-sync-graph-state handling shown in the log. Reproduce both cases with local and remote RVs; done means the switch node exists remotely when reps are added and UI rep changes propagate between RVs without the node error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop-dev, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.