Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone block command crashes PysimCoder editor #32

Closed
beqirdio opened this issue Oct 22, 2021 · 1 comment
Closed

Clone block command crashes PysimCoder editor #32

beqirdio opened this issue Oct 22, 2021 · 1 comment

Comments

@beqirdio
Copy link
Contributor

Every time 'Clone block' is invoked using GUI in editor, the program crashes completely.

Traceback shown below:

Traceback (most recent call last):
  File "/home.nfs/beqirdio/Documents/PYTHON/toolbox/supsisim/editor.py", line 165, in cloneBlock
    item.clone(QPointF(DP, DP))
  File "/home.nfs/beqirdio/Documents/PYTHON/toolbox/supsisim/block.py", line 141, in clone
    b = Block(None, self.scene, self.name, self.inp, self.outp,
  File "/home.nfs/beqirdio/Documents/PYTHON/toolbox/supsisim/block.py", line 36, in __init__
    raise ValueError('Needs 12 or 3 arguments; received %i.' % len(args))
ValueError: Needs 12 or 3 arguments; received 11.
Aborted
@beqirdio
Copy link
Contributor Author

Clone block now works as expected. Issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant