Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

DOMException: Failed to execute 'transaction' on 'IDBDatabase' #15663

Closed

Description

@andrew-davis

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)

image

I'm not sure what is going on or what other info is needed here to help debug. Thoughts? Thanks.
-Andrew

Activity

  1. jonzielen commented on Sep 20, 2017

    @jonzielen

    The same thing is happening to me.

  2. andrew-davis commented on Sep 21, 2017

    @andrew-davis
    Author

    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.

  3. rsese commented on Sep 22, 2017

    @rsese
    Contributor

    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

  4. andrew-davis commented on Sep 22, 2017

    @andrew-davis
    Author

    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.

  5. rsese commented on Sep 25, 2017

    @rsese
    Contributor

    On Windows 7 do you have a folder called C:\Users\USERNAME\AppData\Roaming\Atom?

  6. andrew-davis commented on Sep 25, 2017

    @andrew-davis
    Author

    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.

  7. rsese commented on Sep 28, 2017

    @rsese
    Contributor

    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.

  8. andrew-davis commented on Sep 28, 2017

    @andrew-davis
    Author

    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?

  9. rsese commented on Sep 29, 2017

    @rsese
    Contributor

    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?

  10. andrew-davis commented on Oct 3, 2017

    @andrew-davis
    Author
  11. rsese commented on Oct 4, 2017

    @rsese
    Contributor

    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.

    Can you uninstall Atom and then download the latest version from https://atom.io and try installing again?

  12. andrew-davis commented on Oct 4, 2017

    @andrew-davis
    Author

    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?

  13. andrew-davis commented on Oct 4, 2017

    @andrew-davis
    Author

    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.

    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\Roaming instead?

  14. rsese commented on Oct 5, 2017

    @rsese
    Contributor

    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.

  15. andrew-davis commented on Oct 5, 2017

    @andrew-davis
    Author

    Yes! That seems to be working! Seems to be behaving as expected now. Any pitfalls to be aware of using this workaround?

  16. rsese commented on Oct 5, 2017

    @rsese
    Contributor

    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.

    And thanks again for your patience ✌️

  17. lock commented on Apr 3, 2018

    @lock

    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!

  18. locked and limited conversation to collaborators on Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions