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
Firefox: An unexpected error occurred #444
Comments
Reinstalling the addon (right-click > Remove Extension, then redownloading it off of Mozilla's webstore) does not fix it either, it just cleared my tab list and reset the settings to default values. I still can't change them. |
Ugh! Okay thank you, let me figure out what is going on. |
This looks like it's failing whenever it tries to write to Can you try debugging the extension and seeing how much storage it's using?
This should be a small value. Also try setting a value from inside debugging the extension to see if there is an issue in writing to storage?
|
I think there might be an issue with the sync storage (object?). I'm not sure how to access it outside of the API, or if there's some more bruteforce-y command to outright remove all of its data? |
I fixed a likely cause of this error in commit 03b766d. I am pushing out v7.2.3 with the fix. |
Closing this as fixed with v7.2.3. Please upgrade to the latest version and let me know if you still have this issue. Thanks again for reporting. |
And thank you for the update! Unfortunately it doesn't seem to have helped here. From my own tinkering: ( This file being empty seems to correlate to the description in the following StackOverflow post: An utility designed to read the blobs embedded in these sqLite files is mentioned, but I had no luck running it. It seems to be unable to read my prefs.js file (I get the message: "Failed to look up internal UUID for extension ID: None (is the extension installed?)" even if I move the prefs.js file away). I have tried to move the file away while the browser was turned off, in hopes of having it recreated by the addon, and it seems to be - a new file appears in its place, with a different SHA256 hash, but trying to do any changes in the addon's settings still causes the same error with the same console error message. I've also checked the profile-wide storage-sync-v2.sqlite file out of my own accord, but while the extension is in there, ( I'll update the comment or write a new one if I manage any significant development. |
|
Just want to point out that I was having similar issue, I did not see the logs back then but basically none of the tabs were getting closed for past few weeks. But reinstalling the latest extension version and restarting firefox fixed that. I did not observe the "A unexpected error occurred" popup either. Not sure which recent release fixed it as the reinstall was required but thanks for the fix! 🙇 |
@nkitsaini Thanks for reporting. I fixed a known issue in v7.2.3 that was likely causing your issue. Let me know if you run into anything else and thanks for bearing with the mess as I upgrade for Chrome's Manifest v3. |
I have ran it for I'm not sure but maybe it's something to do with what the Firefox account (now called Mozilla account) has stored and is now unable to get rid of? chrome.storage.local.clear()
Promise { <state>: "pending" }
<state>: "fulfilled"
<value>: undefined
<prototype>: Promise.prototype { … }
chrome.storage.sync.clear()
Promise { <state>: "pending" }
<state>: "rejected"
<reason>: Error: An unexpected error occurred
columnNumber: 1
fileName: "undefined"
lineNumber: 0
message: "An unexpected error occurred"
stack: ""
<prototype>: Error.prototype { stack: "", … }
<prototype>: Promise.prototype { … }
chrome.runtime.lastError
null Moving the extension's idb folder away doesn't seem to have helped. I have noticed one additional error that shows up when I try to export the saved browser tabs from the extension window's Settings tab. Is that the same API call the extension tries to run? |
Describe the bug
Tab Wrangler does not automatically close unused tabs, doesn't accept settings changes, has the Pause button greyed out.
To Reproduce
Open the Tab Wrangler toolbar icon.
Note that no tabs don't seem to close post the defined in settings interval.
Go to Settings page.
Try to change any of the settings.
Encounter a red error box in the top-right corner of the addon window: "An unexpected error occurred"
Expected behavior
The opposite of everything in "describe the bug" :)
Version (please complete the following information):
Additionally, the following appears in the Developer Tools panel for the addon, each time onNewTab event happens, or whenever I open the addon window:
The text was updated successfully, but these errors were encountered: