List index out of range in csdgen.py
See original GitHub issuelist index out of range
-----------
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/app.py", line 164, in main
convert_pch2(args.arg)
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/app.py", line 98, in convert_pch2
udos = zak.connect_patch(p)
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/csdgen.py", line 115, in connect_patch
udos = deepcopy({m.id: Udo(p, m) for m in p.modules})
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/csdgen.py", line 115, in <dictcomp>
udos = deepcopy({m.id: Udo(p, m) for m in p.modules})
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/csdgen.py", line 30, in __init__
self.udo_variant = self._choose_udo_variant(len(ins))
File "/home/muranyia/.local/lib/python3.8/site-packages/pch2csd/csdgen.py", line 61, in _choose_udo_variant
tpl_v1_ins = self.tpl.ins[1].types
This happens with every patch that has no invalid UDOs.
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
List Index Out of Range – Python Error Message Solved
You'll get the Indexerror: list index out of range error when iterating through a list and trying to access an item that doesn't...
Read more >list[-1] yields "list index out of range" error in python program
I'm trying to build a markov generator that takes an arbitrary length for the chain of words as a programming exercise, but I've...
Read more >Python IndexError: List Index Out of Range [Easy Fix]
The error “list index out of range” arises if you access invalid indices in your Python list. For example, if you try to...
Read more >Indexerror: list Index Out of Range in Python
“List index out of range” error occurs in Python when we try to access an undefined element from the list. The only way...
Read more >Python IndexError: List Index Out of Range Error Explained
Learn how to resolve the Python IndexError, list index out of range, why it occurs in for loops, while loops, and how to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Guys, I will fix this issues soon. I guess in a couple days or something. Stay cool
Thanks again and in advance too!
As I have barely any CS knowledge, what I can contribute is the frequency distribution of problem UDOs among all the stock NORD patches. This might help you with setting priorities.