Hi folks,

I started using TW5-Bob just last week and it's been going pretty well 
overall. Today I was trying out a new plugin, it wasn't working right, so I 
decided to refresh. Imagine my horror when a bunch of my tiddlers were 
missing upon reload! When I checked the node process's console, I saw this 
exception repeated a bunch of times... it seems unrelated to saving a 
tiddler, but I'm not sure.

WebSocket error:  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument 
must be of type string. Received type undefined
    at validateString (internal/validators.js:125:11)
    at Object.resolve (path.js:1080:7)
    at Object.$tw.nodeMessageHandlers.savePluginFolder 
($:/plugins/OokTech/Bob/NodeMessageHandlers.js:1094:37)
    at WebSocket.$tw.Bob.handleMessage 
($:/plugins/OokTech/Bob/NodeWebSocketsSetup.js:151:52)
    at WebSocket.emit (events.js:197:13)
    at Receiver.receiverOnMessage 
($:/plugins/OokTech/Bob/External/WS/lib/websocket.js:720:20)
    at Receiver.emit (events.js:197:13)
    at Receiver.dataMessage 
($:/plugins/OokTech/Bob/External/WS/lib/receiver.js:415:14)
    at Receiver.getData 
($:/plugins/OokTech/Bob/External/WS/lib/receiver.js:347:17)
    at Receiver.startLoop 
($:/plugins/OokTech/Bob/External/WS/lib/receiver.js:134:22)


At first I thought it was due to the naming, i.e. I had a bunch of tiddlers 
with colons in the name, but when I looked on the disk, I saw that some 
tiddlers with colons in the name were saved and the colon was just 
converted to an underscore in the filename.

So... has anyone encountered this before? Could the error above have 
resulted in the browser not being connected with the server and tiddlers 
not getting saved? I am using a theme (http://j.d.material.tiddlyspot.com/) 
that might have obscured any warning message about being disconnected, if 
such a warning exists...

Luckily I didn't lose TOO much work, or anything vitally important, but 
obviously I'm a bit scared now. How can I audit in the future that my 
changes are really getting saved? The new local browser storage feature 
mentioned in this forum sounds like it would be a good safeguard against 
this type of problem.

Thanks folks!
--
Matrix

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e79a58b2-1160-4819-b7f9-99fba78b8cfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to