-
Notifications
You must be signed in to change notification settings - Fork 107
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
Failing to find users in the "Follow" command #254
Comments
Confirmed this and here are my logs:
All the more strange that the account IS found but that the code doesn't recognize it. The server in this case is running Mastodon v4.0.2 with modifications that should be unrelated to account/auth stuff. |
normalized_name is just our argument minus the left @ symbol. acct in this case is just the user part of the name, not the domain so it won't match. When I try to use just @user as the argument, unfortunately the server then comes back with a user whose display name inclues that name. That user has a username which doesn't include The reporter shared elsewhere that this works sometimes and I think the variable is whether that display name search comes back with a compatible username. So it's more likely to work on small servers. What I don't know is whether we could trim the things being compared down to just the username or if that will cause some other false positives. |
The "toot follow" command is failing (almost always) whether or not the instance name is included. The account that is using "toot" is on the same instance as the account being followed. So from an account on the instance mathstodon.xyx the following all fail: $ toot follow gavan You are welcome to create a few test accounts on mathstodon.xyz to test this. |
Just to let people know ... I'm really keen to see a way to get this sorted. If someone could find a work-around that lets it work for me, that would be enough for now ... it doesn't need to be fixed in general. I'm unlikely to be able to help with the code, but I'm happy to help try things and provide logs. And just to reiterate, sometimes it works. Here are the results of some recent attempts to follow people: (remove the apostrophes for the actual usernames) @'sathyanarayanan8998 Account not found They all exist on mathstodon.xyz Thank you for any help you can give, and thank you again for a fabulous tool. (Updated to avoid tagging people ... sorry for the inconvenience and confusion) |
I've approved your account. I'm going off-line for 8 hours ... sorry I can't be available. |
@RiderOfGiraffes Please be careful, you're tagging a lot of people on github. Regarding these "Account not found" errors, searching mastodon.xyz for these account name does not yield any results. You can try this in the web interface. For example, searching for "idm" finds only Searching for a qualified name (e.g. |
BTW you can also use |
Apologies about tagging people ... it was late, and I forgot. My fault. Thanks for the clue about "toot whois". For my usage I really was intending to follow people, but it's useful to remember the alternative. Thanks for the (impending) fix for the fully qualified follow ... that will solve my problem. |
Until recently I was able to use:
$ toot follow ${user}
and it would reliably find and follow said user. Now I'm constantly getting:
Account not found
This even when the user has been on the same instance for a time, has posted, has a profile, and has had replies.
This seems to have started when the instance was upgraded to 4.0, but that might be a coincidence.
(Added in edit) I haven't tested extensively, but quite often the follow fails, sending them a DM succeeds, and then another attempt at a follow still fails.
The text was updated successfully, but these errors were encountered: