[Bug] % and # symbols in .md filenames causes "File not found" error and hang when loading vault


[x] Android

Obsidian Mobile version: v1.0.0

I was getting a “File not found” error when opening a vault and Obsidian Mobile would hang and never load the vault.

Found the cause: some of my .md files had a “%” symbol in the filename. These weren’t causing a problem on Obsidian Desktop for Windows, but Obsidian for Android choked on them.

FWIW I’m using a third-party sync app called DriveSync. My vault is in Google Drive.

1 Like

Since you use third party sync service, you need to aware of the sync restrictions.

However, obsidian should not hang on load.

Also found the same thing with “#” symbols in file/folder names within the vault. Once I cleaned the filenames, Obsidian Mobile loaded fine.

Thanks for reporting. Upon further testing, I think there is a problem on our end. Both # and % are allowed on android. Be aware that if you use # in filepath linking doesn’t work well but that is another story.

1 Like

Here is a screenshot of the error I was getting in case it’s helpful. It would hang here on my Moto G Stylus and the purple buttons wouldn’t do anything, although the purple progress bar animation was still moving.

It’s working great now by the way!

1 Like

Don’t worry, I was able to reproduce the problem.

1 Like

Hello, I want to add to the discussion that the symbol “?” can also cause an error. Hopes this helps.

I had the same problem pointed by @Leyeev.

Removing the ? symbols on the filename solved the problem.

I don’t think you have the same problem because the character ? is illegal on android. So you cannot have had a file with that name.

Weird. On Linux it works fine.

On linux you can have a file with ?. On android you can’t, try to create one with any app.
Whatever you are using for sync from linux to android, should skip (or rename) that file.

On Android, you can have files with % and # and we need to handle those better.

In Android the files with ? , % doesn’t work. So the simple solution is to modify the name of your .md files

Will be fixed in 1.0.3

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

More fixed for % and # will be on 1.0.4