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

Fix method object is not iterable in Silhouette Multi #282

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

jonhnet
Copy link
Contributor

@jonhnet jonhnet commented Jan 13, 2024

My first time trying Multi mode gave me the error below. This patch corrects the error.

Traceback (most recent call last):
File "/home/selah/jonh/.config/inkscape/extensions/silhouette/MultiFrame.py", line 395, in run
self.run_callback(actions)
File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 202, in run_multi
commands = self.format_commands(actions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 189, in format_commands
command += " " + self.format_args(settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 177, in format_args
return " ".join(("--%s=%s" % (k, v) for k, v in args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'method' object is not iterable

My first time trying Multi mode gave me the error below. This patch corrects the error.

Traceback (most recent call last):
  File "/home/selah/jonh/.config/inkscape/extensions/silhouette/MultiFrame.py", line 395, in run
    self.run_callback(actions)
  File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 202, in run_multi
    commands = self.format_commands(actions)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 189, in format_commands
    command += " " + self.format_args(settings)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/selah/jonh/.config/inkscape/extensions/silhouette_multi.py", line 177, in format_args
    return " ".join(("--%s=%s" % (k, v) for k, v in args))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'method' object is not iterable
@t0b3 t0b3 merged commit a15bb02 into fablabnbg:main Jan 14, 2024
8 checks passed
@t0b3
Copy link
Collaborator

t0b3 commented Jan 14, 2024

@jonhnet thank you for this fix 👍

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

Successfully merging this pull request may close these issues.

2 participants