TiddlyWiki / TiddlyDesktop

A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
1.63k stars 121 forks source link

Cannot open wiki file on mapped network drive #267

Open witecat opened 1 year ago

witecat commented 1 year ago

I have a Raspberry PI in my home network that serves as file server with large disks. I have mapped a drive O:\ on my Windows 11. Trying to open files on O:\ or any other mapped network drive opens an index of a directory instead. Please let me know if you need som logs or sys info to investigate. Thank you

Jermolene commented 1 year ago

Thanks @witecat. Just checking, but how are you opening the files? If you're using drag and drop it may be worth trying to use the toolbar button instead, or vice versa. Also might be worth knowing how you're mapping the drive; is it WebDAV by any chance?

I'm not familiar with Windows and so this may not be possible, but would it be practical to map a subdirectory of the main drive to a drive letter, and try to access a wiki file through that, in order to take the network connection out of the loop?

witecat commented 1 year ago

Hello, Jeremy! Wow, you answered! I just LOVE Tiddlywiki, working to learn it right now. I tested to map the wiki folder itself to a network drive, and it works: I'm able to open wiki files. So TiddlyDesktop has difficulty with subdirectories on Network drives. Might be nice to investigate if this can be resolved - things can become rather crowded with lots of direct mappings.

Another funny thing: Just for kicks I tried to add the subdirectory as a "network location" (Not a NW drive, no drive letter assigned), and could not open the wiki file - it resolved to a html directory listing.

I am using Samba auth mapping between LX and Win I would be happy to help investigate this, please let me know how I can help

Thank you again!

Jermolene commented 1 year ago

Thanks @witecat, your kind words are much appreciated.

I understand that you're working with a wiki folder, but I wondered whether you could investigate whether single file wikis work correctly when loaded from a mapped drive, or an unmapped network path by testing creating, viewing and saving a single file wiki from each type of path.