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

Exception when running /autosort helpers swap #21

Open
de-vri-es opened this issue Sep 25, 2023 · 0 comments
Open

Exception when running /autosort helpers swap #21

de-vri-es opened this issue Sep 25, 2023 · 0 comments
Assignees

Comments

@de-vri-es
Copy link
Owner

Running /autosort helpers swap causes a python exception:

2023-09-25 10:25 ▬!▬ python: error in function "on_autosort_command"
2023-09-25 10:26 autosort: Helper variables:
2023-09-25 10:26           core_first: ${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}
2023-09-25 10:26        hashless_name: ${if:${buffer.full_name}!=core.weechat}
2023-09-25 10:26        irc_raw_first: ${if:${buffer.full_name}!=irc.irc_raw}
2023-09-25 10:26         irc_raw_last: ${if:${buffer.full_name}==irc.irc_raw}
2023-09-25 10:26     script_or_plugin: ${if:${script_name}?${script_name}:${plugin}}
2023-09-25 10:26 python: stdout/stderr (autosort): Traceback (most recent call last):
2023-09-25 10:26 python: stdout/stderr (autosort):   File "/home/maarten/.weechat/python/autoload/autosort.py", line 802, in on_autosort_command
2023-09-25 10:26 python: stdout/stderr (autosort):     return call_command(buffer, ['/autosort'], args, {
2023-09-25 10:26 python: stdout/stderr (autosort):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-09-25 10:26 python: stdout/stderr (autosort):   File "/home/maarten/.weechat/python/autoload/autosort.py", line 635, in call_command
2023-09-25 10:26 python: stdout/stderr (autosort):     return call_command(buffer, command, tail, child)
2023-09-25 10:26 python: stdout/stderr (autosort):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-09-25 10:26 python: stdout/stderr (autosort):   File "/home/maarten/.weechat/python/autoload/autosort.py", line 637, in call_command
2023-09-25 10:26 python: stdout/stderr (autosort):     return child(buffer, command, tail)
2023-09-25 10:26 python: stdout/stderr (autosort):            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-09-25 10:26 python: stdout/stderr (autosort):   File "/home/maarten/.weechat/python/autoload/autosort.py", line 619, in command_helper_swap
2023-09-25 10:26 python: stdout/stderr (autosort):     config.helpers.swap(index_a, index_b)
2023-09-25 10:26 python: stdout/stderr (autosort):     ^^^^^^^^^^^^^^^^^^^
2023-09-25 10:26 python: stdout/stderr (autosort): AttributeError: 'dict' object has no attribute 'swap'
@de-vri-es de-vri-es self-assigned this Sep 25, 2023
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