You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
DOMException: Failed to execute 'transaction' on 'IDBDatabase' #15663
I just installed Atom on a Win 7 machine. And basic functionality is broken for me. For instance, when I try to open a file nothing happens. I use the menu bar at the top and click on 'open file' and select a file - but then nothing happens. Same thing with clicking on 'settings' in the file menu. I tried booting Atom into safe mode and it still happens.
I opened the dev tool and each time I make a click that results in nothing an error appears. This is it:
Uncaught (in promise) DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at Promise (C:\Users\andrewd\AppData\Local\atom\app-1.20.0\resources\app\src\state-store.js:62:32)
at dbPromise.then (C:\Users\andrewd\AppData\Local\atom\app-1.20.0\resources\app\src\state-store.js:61:20)
I'm not sure what is going on or what other info is needed here to help debug. Thoughts? Thanks.
-Andrew
Can you try clearing saved state? Though it seems like you haven't gotten to the point where you can make changes in Atom, note that you'll lose any unsaved data:
Thanks for your help. I tried starting Atom from command line with the --clear-window-state switch. The issue is still the same. I also tried renaming the settings folder so Atom would have to create a new one. It did create a new folder, but the issues persisted.
Hmm, that's where it is on Windows 10 - I don't have Windows 7 to check right now but I though it be the same on Windows 7?
So you do have a C:\Users\USERNAME\AppData\Roaming directory, just no Atom subdirectory?
I do have this folder C:\Users\USERNAME.atom.
That folder is where your settings and packages are stored, the folder we're looking for (and that I think is related to the error you're seeing?) is where project specific details like what tabs you had opened are stored.
I'll try to setup a Windows 7 VM to see if I can reproduce.
Correct. I have a C:\Users\USERNAME\AppData\Roaming directory. But there is no Atom subdirectory inside of that.
I did some digging and I found C:\Users\USERNAME\AppData\Local\atom. Which has subdirectories like 'packages', 'bin', and 'app-1.20.1' and more. Is this what we are looking for?
I did some digging and I found C:\Users\USERNAME\AppData\Local\atom. Which has subdirectories like 'packages', 'bin', and 'app-1.20.1' and more. Is this what we are looking for?
That's where the application itself lives, I don't believe that's where IndexedDB is (the folder we're looking for based on the error) - at least on Windows 10, it's in C:\Users\USERNAME\AppData\Roaming. Hopefully I can setup a Windows 7 vm tomorrow or this weekend so I can install Atom on it and see where everything is.
To double check one more thing, when you quit Atom, there are no atom processes running in Task Manager yes?
Correct. After quitting the Atom application, no Atom processes are visible in the task manager.
Thanks for confirming - I finally had a chance to install a Windows 7 VM and there was an Atom subdirectory created under C:\Users\USERNAME\AppData\Roaming after starting Atom, I'm not sure why you don't have that folder.
Uninstalled and reinstalled again. Still no Atom folder in C:\Users\USERNAME\AppData\Roaming. But I do see C:\Users\USERNAME\.atom.
Never mind, I found it. It's located at \\NETWORK\Redirected\USERNAME\Application Data\Atom. Our work computers are configured with a redirected user folder.
Never mind, I found it. It's located at \NETWORK\Redirected\USERNAME\Application Data\Atom. Our work computers are configured with a redirected user folder.
Oh interesting, thanks for digging into that 👍
This is breaking Atom and GitHub Desktop too. What are my options? Can I force Atom to use C:\Users\USERNAME\AppData\Roaming instead?
I think this might work (at least it did from my testing) - can you quit Atom and then in C:\Users\USERNAME\.atom create a folder called electronUserData? Then restart Atom and see if you still get the same error in dev tools.
Awesome! Glad we have things sorted out - as far as I know, creating that directory under .atom only changes the location where Electron user data is stored but won't do anything else so I don't see how that would cause any issues. But definitely feel free to let us know if you notice anything odd and we can take a look again.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
jonzielen commentedon Sep 20, 2017
The same thing is happening to me.
andrew-davis commentedon Sep 21, 2017
Sorry I missed this the first time. I did do all these steps. I don't know if this issue is posted in the right spot though. Thanks everyone.
rsese commentedon Sep 22, 2017
Can you try clearing saved state? Though it seems like you haven't gotten to the point where you can make changes in Atom, note that you'll lose any unsaved data:
http://flight-manual.atom.io/hacking-atom/sections/debugging/#clearing-saved-state
andrew-davis commentedon Sep 22, 2017
Thanks for your help. I tried starting Atom from command line with the --clear-window-state switch. The issue is still the same. I also tried renaming the settings folder so Atom would have to create a new one. It did create a new folder, but the issues persisted.
rsese commentedon Sep 25, 2017
On Windows 7 do you have a folder called
C:\Users\USERNAME\AppData\Roaming\Atom?andrew-davis commentedon Sep 25, 2017
Nope. There is no atom folder inside
C:\Users\USERNAME\AppData\Roaming. Is there supposed to be?I do have this folder
C:\Users\USERNAME\.atom.rsese commentedon Sep 28, 2017
Hmm, that's where it is on Windows 10 - I don't have Windows 7 to check right now but I though it be the same on Windows 7?
So you do have a
C:\Users\USERNAME\AppData\Roamingdirectory, just no Atom subdirectory?That folder is where your settings and packages are stored, the folder we're looking for (and that I think is related to the error you're seeing?) is where project specific details like what tabs you had opened are stored.
I'll try to setup a Windows 7 VM to see if I can reproduce.
andrew-davis commentedon Sep 28, 2017
Correct. I have a
C:\Users\USERNAME\AppData\Roamingdirectory. But there is no Atom subdirectory inside of that.I did some digging and I found
C:\Users\USERNAME\AppData\Local\atom. Which has subdirectories like 'packages', 'bin', and 'app-1.20.1' and more. Is this what we are looking for?rsese commentedon Sep 29, 2017
That's where the application itself lives, I don't believe that's where IndexedDB is (the folder we're looking for based on the error) - at least on Windows 10, it's in
C:\Users\USERNAME\AppData\Roaming. Hopefully I can setup a Windows 7 vm tomorrow or this weekend so I can install Atom on it and see where everything is.To double check one more thing, when you quit Atom, there are no atom processes running in Task Manager yes?
andrew-davis commentedon Oct 3, 2017
rsese commentedon Oct 4, 2017
Thanks for confirming - I finally had a chance to install a Windows 7 VM and there was an Atom subdirectory created under
C:\Users\USERNAME\AppData\Roamingafter starting Atom, I'm not sure why you don't have that folder.Can you uninstall Atom and then download the latest version from https://atom.io and try installing again?
andrew-davis commentedon Oct 4, 2017
I've already done that a couple times. Is there any way to debug the install process? See if there are any warnings or errors or anything?
andrew-davis commentedon Oct 4, 2017
Uninstalled and reinstalled again. Still no Atom folder inC:\Users\USERNAME\AppData\Roaming. But I do seeC:\Users\USERNAME\.atom.Never mind, I found it. It's located at
\\NETWORK\Redirected\USERNAME\Application Data\Atom. Our work computers are configured with a redirected user folder.https://technet.microsoft.com/en-us/library/cc732275(v=ws.11).aspx
https://en.wikipedia.org/wiki/Folder_redirection
This is breaking Atom and GitHub Desktop too. What are my options? Can I force Atom to use
C:\Users\USERNAME\AppData\Roaminginstead?rsese commentedon Oct 5, 2017
Oh interesting, thanks for digging into that 👍
I think this might work (at least it did from my testing) - can you quit Atom and then in
C:\Users\USERNAME\.atomcreate a folder calledelectronUserData? Then restart Atom and see if you still get the same error in dev tools.andrew-davis commentedon Oct 5, 2017
Yes! That seems to be working! Seems to be behaving as expected now. Any pitfalls to be aware of using this workaround?
rsese commentedon Oct 5, 2017
Awesome! Glad we have things sorted out - as far as I know, creating that directory under
.atomonly changes the location where Electron user data is stored but won't do anything else so I don't see how that would cause any issues. But definitely feel free to let us know if you notice anything odd and we can take a look again.And thanks again for your patience ✌️
lock commentedon Apr 3, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!