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

Unnamed folder that cannot be deleted #766

Closed
Kamilayza opened this issue Feb 3, 2022 · 3 comments · Fixed by #768
Closed

Unnamed folder that cannot be deleted #766

Kamilayza opened this issue Feb 3, 2022 · 3 comments · Fixed by #768
Labels
Bug 🐞 Something isn't working
Milestone

Comments

@Kamilayza
Copy link

Important: Google Translator!

The event that led to this error : Due to inattention, I forgot to specify a different folder name, I wanted to change it, but as a result, the Godot engine fails. Then I decided to delete it and it didn't work out either.

Problem : The unnamed folder is not deleted and causes other problems

Describe the error: If you accidentally do not fill in the folder name, then this folder cannot be deleted or renamed and Godot will fail.

To Reproduce :

  1. Go to any section of the Dialog box (in the screenshots below there will be a folder with characters).
  2. Create a folder.
  3. Erase the folder name and leave it by pressing enter.
  4. We are trying to delete\rename an unnamed folder.
  5. Godot is closing.

2022-02-04_00-01-20

Also, if you insert a new folder into it, this will happen:
2022-02-04_00-14-17

Also, if you try to delete this folder too often, then as a result, the project that this unnamed folder was will stop opening at all.

System:

  • OS: Windows 10 64x
  • Godot Version: 3.4.2
  • Dialogic Version: 1.3

I do not know what is the cause of these strange errors, so I cannot offer a solution to this problem.

@AnidemDex
Copy link
Contributor

Are there any error in the console shell or in the output tab? I think I know what is the issue, but want to confirm my theory

@Kamilayza Kamilayza changed the title Non-removable unnamed folder Unnamed folder that cannot be deleted Feb 3, 2022
@Kamilayza
Copy link
Author

The console in engine shows nothing
Immediately after deleting\changing folder, Godot automatically closes

@Jowan-Spooner Jowan-Spooner added the Bug 🐞 Something isn't working label Feb 3, 2022
@Jowan-Spooner
Copy link
Collaborator

@Kamilayza, thanks for the report! I'll try to fix this tomorrow. For a quick-fix you can open the folder_structure.json file in the res:/dialogic/ folder and look for the empty folder. It should look something like this:
grafik
If you delete the content of that folders dictionary so it looks like this:
grafik
it should work again and the folder should be removed.

@Jowan-Spooner Jowan-Spooner added this to the Version 1.4 milestone Feb 3, 2022
@Jowan-Spooner Jowan-Spooner mentioned this issue Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants