Solved Unable to delete e-mail account
-
@kobayu We have already a internal bug report:
VB-89862 "TypeError Cannot assign to read only property '1' of string 'Flags'" -
@DoctorG Thank you for your reply. I would try again when it might be fixed.
-
I also have this issue. I just enabled the mail feature in my existing profile, added two different gmail oauth accounts which added successfully but no mail ever shows up and I see the error on the bottom bar:
Mail client startup failed. Error: TypeError Cannot assign to read only property '1' of string 'Flags'
I have restarted the browser and continue to get the same result. I also do not want to install a "fresh" profile but I would like to use the mail client.
-
Edit: we've found the issue causing this and working on a fix for the next update
Hi
I believe it should be enough to re-index your db as described here.
Could you all try that for me?Solution: Re-index your db
Both of these above errors (error #1 and #2) can be fixed by deleting the database so that the message headers are re-fetched and everything re-indexed
(Warning: You will lose POP3 messages or any message that has already been deleted from the server, along with local drafts and outbox messages)- Open your profile directory (You can find the location of the profile directory by going to vivaldi:about and see Profile Path)
- Close Vivaldi
- Find folder “Default/Storage/ext/mpognobbkildjkofajifpdfhcoklimli/def/IndexedDB” and delete it .
- Open Vivaldi
- Once you open Vivaldi again, it will start fetching all the mails again (Note: it won’t need to re-download the content since that’s still stored under your Profile Path/Default/Mail folder)
-
@gmg I performed those steps and still have the same error when I open mail.
-
@gmg Hello,
It worked for me :- Close Vivaldi
- Delete the indicated folder
- Restart Vivaldi
- Delete the "Deleting..." stuck account : success
- Setup the account : success, the mail tab opened
Thanks !
-
So I guess I will try deleting the accounts, following the procedure and then re-adding them.
-
@gmg - Now I am stuck with the "deleting accounts" problem.
Curiously the IndexedDB directory did not get recreated after I removed it. I also didn't see anything that looked mail related in it. -
We've found the issue that was cauings this now. Working on a fix.
Question @etrice did a new one not get made on restart?
-
@gmg It finally did get created after I logged into a website.
-
Maybe related: https://forum.vivaldi.net/topic/76451/cannot-delete-mail-account
They also found a fix and a workaround https://forum.vivaldi.net/topic/76448/mail-client-start-failed-error-typeerror-gmail/4?_=1654921115305
-
They found a bug that prevents deleting accounts. See here for a workaround
You are deleting the account - Did you not like the mail client (if so, can you say why?) or do you have other reasons?
-
I am deleting an account because I was not able to properly add it. Got no opinion on the Mail as I was unable to try it yet
-
@rromanov ah. if you manage to properly delete the account and decide to try again and it doesn't work again, it would be interesting to hear what you see to narrow down that issue too. Or otherwise if you have set it up and have some questions, of course.
-
Same problem:
Mail client startup failed. Error: TypeError Cannot assign to read only property '1' of string 'Flags'All I did was try to add the standard Vivaldi feed for testing and now I have that error and duplicated feeds that it won't allow me to delete. I haven't tried adding an email account.
The only odd thing I did was to inadvertently add an empty feed first which was added with what looks like a unique identifier number even though there was no value in the URL field.
-
@WildEnte the solution you proposed, worked, thanks for the help. I've managed to delete the stuck account and re-add it. Seems to be working ok for now.
-
Several threads appear to have been combined here so it is a little confusing. I have updated to the new version this morning and followed the steps for deleting the IndexedDB dir as pointed out by @gmg but my accounts are still stuck in the "deleting" state. I have restarted the browser many times. I even tried disabling mail for awhile but the accounts are still stuck in the "deleting" state. Any ideas?
-
I also still have my original problem of:
Mail client startup failed. Error: TypeError Cannot assign to read only property '1' of string 'Flags'
-
@etrice
Fix should be out in next build. It's probably best to just wait for that one for now. Hopefully only a couple of days at most -
@gmg - thank you