TiddlyDesktop: Pls. rename nw.exe/'#' can't be used in folder names

A very first hello,

and many thanks for all your efforts!

I’m testing TiddlyDesktop, OS Win 10, Browser Firefox (last version).

  1. Pls. rename nw.exe to TiddlyDesktop.exe.
  2. I’m using ‘#’ as number delimiter in my folders e.g. D:\1#ECM\1#TiddlyDesktop.
    That doesn’t work, then a tiddly isn’t found.

Greetings
TiddlyFox

Hi, @FoxTheTiddler welcome to the community. (Do you know the name tiddlyfox has a history in TiddlyWiki?) I don’t use node or TiddlyDesktop as much as others would, so this is just a quick comment;

  • nw.exe is the node server/platform that TiddlyWiki uses and may be best left alone
  • If I understood the problem a little more I may be able to help
    • Give an example of the full path or filename
    • How does the error look, what is the result?

Hi @FoxTheTiddler and thank you for your kind words.

I agree that would be a helpful improvement. However, it isn’t straightforward; it seems that in order to have the new name shown properly in Windows task manager it is also necessary to do some spelunking with a specialist tool – see this ticket for details.

I don’t run Windows myself, which was not a problem until recently because Microsoft offered free Windows virtual machines for testing. They no longer offer those VMs so I no longer have a way to test the Windows build of TiddlyDesktop. That’s a significant barrier to being able to make Windows-specific improvements to TiddlyDesktop.

Please could you open the TW file in an ordinary browser and report what is shown in the address bar? Something to watch is that some browsers display the URL differently from the value you get if you copy the URL to the clipboard.

Pls. test the following:

  1. Create folder, e. g. C:\1#ECM\1#TiddlyDesktop
  2. TiddlyDesktop - create new Wiki, “Empty Tiddlywike file (Prerelease)”
  3. The “Save As” Dialog is shown with file name “index.html”
  4. Select the created folder C:\1#ECM\1#TiddlyDesktop and save “index.html”
  5. A message is shown (translated) “Access of file not possible” … “ERR_FILE_NOT_FOUND”
  6. The file itself is saved correctly in folder C:\1#ECM\1#TiddlyDesktop
  7. @jeremyruston: Opening the file, extension .html associated with Firefox, shown as
    file:///C:/1%23ECM/1%23TiddlyDesktop/index.html
    in the address bar - and that’s the problem ‘#’ is converted to %23 as HTML entity

Please see here Characters to Avoid in Filenames and Directories, the problem may be # in the file or folder name is a problem. However the % encoded names are valid, not withstanding the fact that / represents a folder.

  • Note a simple export of a tiddler named with a # in the title works on Windows 11 without encoding.

Hi @FoxTheTiddler I’ve verified that the problem with # characters in pathnames occurs on macOS as well as Windows. I’ve created a ticket over at GitHub to track the problem:

I’ve pushed a fix to GitHub which will be incorporated in the next TiddlyDesktop release.

2 Likes