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

[Bug]: Error deleting user profile #4211

Open
1 task done
Garrett96 opened this issue May 19, 2024 · 3 comments
Open
1 task done

[Bug]: Error deleting user profile #4211

Garrett96 opened this issue May 19, 2024 · 3 comments
Labels
bug Something isn't working triage

Comments

@Garrett96
Copy link

Garrett96 commented May 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Platform

Android

OS version

GrapheneOS - Android 14

App version

5.7.3

Current Behavior

I am trying to delete a user profile and server connections along with it, so it does not attempt to sync anymore, and I'm unable to.

Expected Behavior

Profile should get deleted!

Steps To Reproduce

  1. Go to Your chat profiles.
  2. Press-and-hold on a user profile you want to delete.
  3. click Delete.
  4. In Delete chat profile? selection menu, select to delete Profile and server connections.
  5. Error message pops up. [see: relevant log output]

Relevant log output

Error deleting user profile

java.lang.Exception: failed to delete the user chatCmdError userId: 1 agent INTERNAL SEUserNotFound 	at
chat.simplex.common.model.ChatController.apiDeleteUser(SimpleXAPI.kt:638) 	at 
chat.simplex.common.model.ChatController$apiDeleteUser$1.invokeSuspend(Unknown Source:16) 	at 
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 	at 
kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) 	at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 	at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 	at 
java.lang.Thread.run(Thread.java:1012)
@Garrett96 Garrett96 added bug Something isn't working triage labels May 19, 2024
@avently
Copy link
Collaborator

avently commented May 29, 2024

Have you tried to relaunch the app? If not, try it. Maybe the problem will go away

@mattsalves
Copy link

Troubleshooting Guide: Deleting User Profiles and Server Connections

It seems like there might be an issue with deleting user profiles and their associated server connections in your Android app. The error message indicates that there's an exception occurring during the deletion process, specifically a SEUserNotFound error.

Steps to Fix the Issue:

  1. Verify User Existence: Ensure that the user profile you are trying to delete actually exists on the server. The SEUserNotFound error suggests that the user might not be found on the server, which could be causing the deletion process to fail.

  2. Check Permissions: Make sure that the app has the necessary permissions to delete user profiles and their associated server connections. Sometimes, permission issues can prevent certain operations from being executed successfully.

@Garrett96
Copy link
Author

@avently Forgot to note, the issue is specifically for alternative profiles. I was able to delete the main one.

@mattsalves Yeah- actually I ended up just making a new account because i had a major issue with syncing and my database. I stopped using SxC for about 2 weeks, and when I came back it struggled with the larger groups and resulted in a persisting sync issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

3 participants