-
Notifications
You must be signed in to change notification settings - Fork 14
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
bug(main): Rename failed, attempted creation successful. #2
Comments
That's a placeholder, you can assume the string is empty. It will fail to read the document regardless of its initial value. You did however remind me that I've forgot some few if statements while writing the latest commit; I've now added a check to prevent the reset of the let exists = &dir.join("config.json").exists(); About MacOS support, I'm not sure if the code will compile there since the very first line of code is: #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] I'd be happy to adjust the code to work on Mac if someone will open an issue with the error stack from MacOS |
I will do that in a few hours, I am going to watch FNAF lol 🤣 |
ima help you and send the stack trace in like 10 mins |
So, using Created config folder in AppData
(MINOR) Child with id not found: 0
(MINOR) Child with id not found: 2321c09016c1b6e
Renamed "Untitled 2321c09016c1b6e.md" to "H.md"
Renamed "H.md" to "He.md"
Renamed "He.md" to "Hel.md"
Renamed "Hel.md" to "Hell.md"
Renamed "Hell.md" to "Hello.md"
(MINOR) Child with id not found: 4e0e21e66fe6e04
Renamed "Untitled 4e0e21e66fe6e04.md" to "H.md"
Renamed "H.md" to "He.md"
Renamed "He.md" to "Hel.md"
Renamed "Hel.md" to "Hell.md"
Renamed "Hell.md" to "Hello.md"
Renamed "Hello.md" to "Hello .md"
Renamed "Hello .md" to "Hello t.md"
Renamed "Hello t.md" to "Hello th.md"
Renamed "Hello th.md" to "Hello the.md"
Renamed "Hello the.md" to "Hello ther.md"
Renamed "Hello ther.md" to "Hello there.md"
Renamed "Hello there.md" to "Hello there!.md"
Rename failed, attempted creation successful.
Renamed "H.md" to "Hi.md"
Couldn't find child with path: H.md
Renamed "Hi.md" to "Hi!.md"
Couldn't find child with path: Hi.md |
Could you try replicating the issue, but only using alphabetical characters in the title? Seems like the error occurred when you inserted "!". |
It works, but the issue is that the first tab doesn't work, it doesn't save. |
Renamed ".md" to "f.md" |
That's since it failed once and lost the path forever. To temporarily fix this, you can delete your If you take a look at If you wish, once you empty your
|
What is that on mac? It is not in Application Support which should be the mac version of |
I'm unsure, but you can modify println!("{:?}", dir); Then you can recompile the program on dev ( I will reopen this issue until the issue gets resolved. |
So there is a path system, but it uses the C drive, which is not doable on mac. This could be done by getting the system document folder, but idk in rust.
The text was updated successfully, but these errors were encountered: