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

Cannot delete realm #2834

Closed
JM-Agrimap opened this issue May 19, 2016 · 1 comment
Closed

Cannot delete realm #2834

JM-Agrimap opened this issue May 19, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@JM-Agrimap
Copy link

When starting up my app the first thing I am trying to delete the realm file.

The attached screenshot shows that if fails to delete the management directory.
/data/user/0/com.agrimap.mobile.android/files/default.realm.management

I checked the File.delete() method and it internally catches
android.system.ErrnoException: remove failed: ENOTEMPTY (Directory not empty)

The directory appears to have three files in it.
log_acces, log_a, log_b

screen shot 2016-05-19 at 12 09 12 pm

Version of Realm and tooling

Realm version(s): 0.90.1
Android Studio version: 2.1.1
Which Android version and device: Emulator - Nexus 4

@beeender beeender added this to the 0.91 milestone May 19, 2016
@beeender
Copy link
Contributor

Thanks a lot for reporting this! It should be a bug and will be fixed right away.

@beeender beeender self-assigned this May 19, 2016
beeender added a commit that referenced this issue May 19, 2016
beeender added a commit that referenced this issue May 19, 2016
@beeender beeender removed the S:Review label May 19, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants