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

Weechat cannot install scripts #1863

Closed
Christian-Nerd opened this issue Dec 17, 2022 · 4 comments
Closed

Weechat cannot install scripts #1863

Christian-Nerd opened this issue Dec 17, 2022 · 4 comments
Assignees
Labels
bug Unexpected problem or unintended behavior duplicate This is similar to another issue

Comments

@Christian-Nerd
Copy link

Bug summary

When trying to install scripts script stops at https://i.imgur.com/Gr8597r.png

Steps to reproduce

1. Install weechat via homebrew on mac os(I use MacOs Monterey v12.6)
2. Use the latest version of python(I use python 3.10.8)
3.  Use /script update or /script list

Current behavior

https://i.imgur.com/qYjIYez.png
When using script update, install <script>(I used autosort.py), or list it stops at the weechat | script: downloading list of scripts... part

Expected behavior

It should do as https://weechat.org/files/doc/stable/weechat_user.en.html#scripts says succesfully install, updating and listing scripts.

Suggested solutions

Additional information


@Christian-Nerd Christian-Nerd added the bug Unexpected problem or unintended behavior label Dec 17, 2022
@flashcode
Copy link
Member

Hi,
This is a duplicate of #1723, can you please try suggested solution here (last comment)?
Please comment in the other issue if needed, and I close this one as duplicate.

@flashcode flashcode closed this as not planned Won't fix, can't repro, duplicate, stale Dec 17, 2022
@flashcode flashcode added the duplicate This is similar to another issue label Dec 17, 2022
@flashcode flashcode self-assigned this Dec 17, 2022
@flashcode
Copy link
Member

Hi,
I added a different way to download scripts using threads, this should fix the issue.
See my comment here: #1723 (comment)
Please try, your feedback is important.
If the problem is fixed, this is going to be merged.
Thanks!

@Christian-Nerd
Copy link
Author

It doesn’t work.

@flashcode
Copy link
Member

It was merged on the master branch, you tried to build it?
You can check that /debug hooks displays count for url (last line before the total), to be sure hooks url are used, something like this:

/debug hooks

hooks in memory:
          command:  261
      command_run:    5
            timer:    8
               fd:    5
          process:    0
          connect:    0
             line:    0
            print:    3
           signal:  119
          hsignal:   10
           config:    7
       completion:  105
         modifier:   24
             info:   83
   info_hashtable:    4
         infolist:   41
            hdata:   51
            focus:    9
              url:    0
        ---------------
            total:  735

When you say it doesn't work, is it the same result, or slightly different behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior duplicate This is similar to another issue
Projects
None yet
Development

No branches or pull requests

2 participants