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

Subscribing to communities that are unknown to an instance requires running LASIM upload twice #13

Open
CMahaff opened this issue Jul 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@CMahaff
Copy link
Owner

CMahaff commented Jul 14, 2023

Describe the Bug
This issue is basically the same thing that actual users run into on a fresh instance when they are the first person to lookup a specific community for the first time.

At first, it isn't known by the server, but once you search it, the server learns about it.

In LASIM this manifests initially as a failure, but re-running LASIM upload after giving the server a minute or two allows it to succeed. See redacted log output below.

Information
LASIM Version: 0.1.2
LASIM Profile Version: 1
Lemmy Source Instance URL: N/A
Lemmy Source Instance Version: N/A
Lemmy Target Instance URL: N/A
Lemmy Target Instance Version: 0.18.2

Output of LASIM
First Run Output

Logging in as <redacted>
Login Successful.
Existing Settings Downloaded. Calculating delta...
All profile settings from the original profile will be applied.
1 new users will be blocked
7 new communities will be blocked
80 new communities will be followed
Cannot find community <redacted>, got exception HTTP status client error (400 Bad Request)
Cannot find community <redacted>, got exception HTTP status client error (400 Bad Request)
Cannot find community <redacted>, got exception HTTP status client error (400 Bad Request)

Finished!

Second Run Output

Logging in as <redacted>
Login Successful.
Existing Settings Downloaded. Calculating delta...
All profile settings from the original profile will be applied.
0 new users will be blocked
0 new communities will be blocked
3 new communities will be followed
Finished!
@CMahaff CMahaff added the bug Something isn't working label Jul 14, 2023
@CMahaff CMahaff changed the title Communities that are new to an instance require running LASIM upload twice Subscribing to communities that are unknown to an instance require running LASIM upload twice Jul 14, 2023
@CMahaff CMahaff changed the title Subscribing to communities that are unknown to an instance require running LASIM upload twice Subscribing to communities that are unknown to an instance requires running LASIM upload twice Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant