# Snapshot loading problems with custom assigned CCs \[SOLVED!\]

**URL:** <https://discourse.zynthian.org/t/snapshot-loading-problems-with-custom-assigned-ccs-solved/12457>\
**Category:** Using Zynthian\
**Tags:** vangelis\
**Created:** [September 23, 2025, 5:59pm UTC](https://discourse.zynthian.org/t/snapshot-loading-problems-with-custom-assigned-ccs-solved/12457 "2025-09-23T17:59:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitnob](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/gitnob/32/11827_2.png) [@gitnob](https://discourse.zynthian.org/u/gitnob)\
**Post date:** [September 23, 2025, 5:59pm UTC](https://discourse.zynthian.org/t/snapshot-loading-problems-with-custom-assigned-ccs-solved/12457/1 "2025-09-23T17:59:04Z")

</div>

I’ve observed the following on my freshly updated vangelis system:

I assign a midi CC (with channel number, i.e. 16#106) to a knob, save it as new sub snapshot, save a new snapshot.  
Case A: When I reload this snapshot, I got an error. The snapshot is not loaded, instead an empty snapshot is created.

Case B: When I don’t use midi channel assignment for the CC (i.e. 106), save the sub snapshot, save the snapshot and reload it, evrything works fine.

for case A: I saw an error in the UI log, but I am not sure it is the cause of the problem.

> Sep 23 18:51:54 zynthianv51oram startx[2387]: ERROR:zynthian\_state\_manager.load\_snapshot: Invalid snapshot: unsupported operand type(s) for \>\>: ‘str’ and ‘int’  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: Traceback (most recent call last):  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: File “/zynthian/zynthian-ui/zyngine/zynthian\_state\_manager.py”, line 1202, in load\_snapshot  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: self.load\_zs3(zs3[“zs3-0”], autoconnect=False)  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: File “/zynthian/zynthian-ui/zyngine/zynthian\_state\_manager.py”, line 1489, in load\_zs3  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: self.set\_midi\_capture\_state(zs3\_state[‘midi\_capture’])  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: File “/zynthian/zynthian-ui/zyngine/zynthian\_state\_manager.py”, line 1950, in set\_midi\_capture\_state  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: chan = (chan\_cc \>\> 8) & 0xff  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: ~~~~~~~~^^~~  
> Sep 23 18:51:54 zynthianv51oram startx[2387]: TypeError: unsupported operand type(s) for \>\>: ‘str’ and ‘int’

Sounds like a bug to me…

Regards

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [September 23, 2025, 6:40pm UTC](https://discourse.zynthian.org/t/snapshot-loading-problems-with-custom-assigned-ccs-solved/12457/2 "2025-09-23T18:40:34Z")

</div>

Yep! It sounds like a bug, it must be a bug.  
Please, update and test 😉

---

<div class="post-metadata">

**Author:** ![gitnob](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/gitnob/32/11827_2.png) [@gitnob](https://discourse.zynthian.org/u/gitnob)\
**Post date:** [September 23, 2025, 7:42pm UTC](https://discourse.zynthian.org/t/snapshot-loading-problems-with-custom-assigned-ccs-solved/12457/3 "2025-09-23T19:42:54Z")

</div>

Top! Works again 😉

Regards
