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

UNIQUE constraint failed: twitter_token error at the account renewal when Squawker opens. #245

Open
4 tasks done
j-fbriere opened this issue Mar 11, 2024 · 9 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@j-fbriere
Copy link
Owner

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug, that only occurs in Squawker

Affected version

3.7.6

Steps to reproduce the bug

  1. Open Squawker
  2. If applicable, enter the account renewal code that is asked
  3. the error appears

Expected behavior

When I open Squawker I get a message to "enter auth key sent to your e-mail", once I get the code and enter it, there is no error and the feed shows the tweets.

Actual behavior

When I open Squawker I get a message to "enter auth key sent to your e-mail", once I get the code and enter it, I get this error:

DatabaseException(UNIQUE constraint failed: twitter_token.oauth_token (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)) sql 'INSERT INTO twitter_token (guest, id_str, screen_name, oauth_token, oauth_token_secret, created_at) VALUES (?, ?, ?, ?, ?, ?)' args [0, 272595305, [twitter_account], 272595305-ayiR8qzr2fuWGtZvNtVpJnGsCUh0MMB7ocFK7nVw, EcxzlpE41SnoX6W3uEvSRVZ8XWeQqyFUSAuLwV8MZqLF8, 2024-03-11T05:57:26.203662]

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

@j-fbriere j-fbriere added the bug Something isn't working label Mar 11, 2024
j-fbriere added a commit that referenced this issue Mar 11, 2024
@j-fbriere
Copy link
Owner Author

Version v3.7.7 fixes this issue.

@DUOLabs333
Copy link

I still have this issue, even with version 3.7.8.

@j-fbriere
Copy link
Owner Author

  • Does it happens when you open Squawker?
  • Can you show your screen with the error message?
  • Can you go in the settings after that, or Squawker is not usable at that point?

@DUOLabs333
Copy link

It seems like it happens intermittently, so I can't reliably reproduce the issue. It only happens when I open a Twitter post in Squawker (through the Share menu).

@j-fbriere
Copy link
Owner Author

Next time this happens please take a snapshot of the screen and post it here so that I can see the exact error message.
Thank you.

@moocow1452
Copy link

Had this, logged in on Chrome and it seemed to go away?Screenshot_20240329-214835.png

Screenshot_20240329-214815.png

j-fbriere added a commit that referenced this issue Apr 9, 2024
@DUOLabs333
Copy link

I got it, and was able to screenshot it this time.Screenshot_20240421-150157.png

@j-fbriere
Copy link
Owner Author

Version v3.8.1 should fix it.

@DUOLabs333
Copy link

DUOLabs333 commented Apr 27, 2024

I just installed the new version --- the error seems to have been resolved. Thanks!

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

3 participants