r2modmanPlus icon indicating copy to clipboard operation
r2modmanPlus copied to clipboard

[BUG] - Cant export profile as a code

Open YuroKashine opened this issue 1 year ago • 13 comments

Describe the bug The moment i try to export my lethal company profile as a code it gives me an error about not able to read properties of undefined (reading 'key') and i have no clue what that might be.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'settings'
  2. Click on 'export profile as a code'
  3. See error below

Expected behavior Ofcourse i expect thunderstore to make a code like usual that i can give to my friends to play together.

Screenshots image

Additional context Im doing configurations in the mod config files. just the settings, nothing with codes and such. i do what i always do in the configs and exporting as a code always worked untill 30 minutes ago and i even removed the configs i made to reset them and it still didnt work.

YuroKashine avatar Jan 14 '24 00:01 YuroKashine

I have multiple friends who are experiencing the same issue right now. This is not an isolated issue.

syns avatar Jan 14 '24 01:01 syns

Looks like its fixed now!

YuroKashine avatar Jan 14 '24 02:01 YuroKashine

Unfortunately this issue is still not fixed, I and 5 other friends are currently having issues exporting profiles as code. we all get varying errors of 502, 503, and 504

spookybjorn avatar Jan 14 '24 04:01 spookybjorn

so do i

LocoThea avatar Jan 14 '24 12:01 LocoThea

Yeah the error is back for me as well

YuroKashine avatar Jan 14 '24 12:01 YuroKashine

same (duplicate of #1164)

codakairos avatar Jan 14 '24 15:01 codakairos

This seems to be a problem with the thunderstore API (https://thunderstore.io/api/experimental/legacyprofile/create)

codakairos avatar Jan 14 '24 18:01 codakairos

@codakairos so did u find a way to fix it?

YuroKashine avatar Jan 14 '24 19:01 YuroKashine

No, I'll just use export as file instead, we'll have to wait for thunderstorm to update their api, or for r2modman to find an alternative

codakairos avatar Jan 14 '24 20:01 codakairos

Will throw my hat in here.

Happened with me as well. In my case I had just installed the Lethal Company VR mod so I thought it was that. Seems it may just be R2Modman.

Ruikio avatar Jan 15 '24 02:01 Ruikio

As explained in the Thunderstore discord, the issue was on the API side of thunderstore and should be fixed now. image

I think we can mark this issue as resolved or at least as "won't fix" as it is not directly related to r2modman

codakairos avatar Jan 15 '24 20:01 codakairos

For context, this error message was triggered here https://github.com/ebkr/r2modmanPlus/blob/01bf512fef0026746275fdeddc6cdb49b164402b/src/r2mm/profiles/ProfilesClient.ts?plain=1#L9-L17 while trying to reach the Thunderstore API endpoint https://thunderstore.io/api/experimental/legacyprofile (also happened while trying to retrieve a profile from the same endpoint)

codakairos avatar Jan 15 '24 20:01 codakairos

I am having this issue as well. However, my r2modman appears to have a memory leak when trying to export as code. It eats upwards of 4GB of memory while doing this. Sometimes application itself becomes unresponsive.

astranberg avatar Jan 31 '24 02:01 astranberg

As this was related to the Thunderstore API, I'll close this for now.

ebkr avatar May 26 '24 17:05 ebkr