Duplicated tiddlers after coppying from one wiki to another [BobLinux]

82 views
Skip to first unread message

skaczm...@gmail.com

unread,
Nov 5, 2020, 5:55:47 PM11/5/20
to TiddlyWiki

Hello,

Please help me understand how moving tiddlers from one wiki to another works on BobLinux server. When I copy tiddler from one wiki to another, within the same "index wiki" server produces duplicate with the same name plus _1. Basically, tiddler is imported and visible ion the "destination" wiki, but I don't understand what's the purpose of that duplicate. I need to move over 1000 tiddlers from one wiki to another and I'm afraid, that duplicating this number will only make things worse in the longer run.

I hope, that below screenshot will explain everything. If you miss some information please let me know, I'm still new to tiddly wiki and my lack of knowledge might create some confusion.

double-tiddlers.png
double-tiddlers.png

Jed Carty

unread,
Nov 6, 2020, 12:46:19 PM11/6/20
to TiddlyWiki
It looks like this is a bug in Bob. I will hopefully get it fixed in the next release.

TW Tones

unread,
Nov 6, 2020, 5:16:15 PM11/6/20
to TiddlyWiki
Jed et al..

On a related matter there are system tiddlers that can end up in a haschanged export of tiddlers, that if imported can damage the wiki.

As a result I have an emergency save filter that avoids exporting these bob tiddlers;
[haschanged[]!prefix[$:/Bob]!prefix[$:/plugins/OokTech/Bob]!title[$:/ServerIP]!prefix[$:/WikiSettings]!prefix[$:/temp]!prefix[$:/state]] -[[$:/plugins/tiddlywiki/filesystem]] -$:/StoryList -$:/HistoryList -$:/Import -$:/config/emergency-save-filter -[prefix[$:/PSaT/emergency-save]]

If the tiddlers prefix[$:/Bob] prefix[$:/plugins/OokTech/Bob] [[$:/ServerIP]]!prefix[$:/WikiSettings]
are imported they can create tiddlers that overwrite shadows

I hope this helps
Tones

skaczm...@gmail.com

unread,
Nov 7, 2020, 10:56:19 AM11/7/20
to TiddlyWiki
thx Jed, is it even a proper way of transferring tiddlers between wikis? About a month ago, I asked about API for "injecting" automatically generated tiddlers. You fixed it for the version 1.6.2, which unfortunately I am not able to run ( https://github.com/OokTech/TW5-Bob/issues/161 ), that's why I thought, that maybe I will just place new tiddler file inside folder, which might make things easier. What is your opinion on that?

Jed Carty

unread,
Nov 7, 2020, 12:56:13 PM11/7/20
to TiddlyWiki
Adding tiddler files to the tiddler folder works fine, the file system monitor handles adding them to the wiki correctly. If you are generating files on the local computer there isn't any reason not to just save the files that way.

Tony,

Why don't you just use the export html button in the control panel? Then you don't have to worry about any of that.

TW Tones

unread,
Nov 7, 2020, 4:07:30 PM11/7/20
to TiddlyWiki
Jed,

I will keep that in mind. The main cause was when I caused a Javascript error, or needed an emergency save of updates. That is when I found I was corrupting Bob by reimporting them as tiddlers, hence the filter. My emergency filter I use on all wikis now has this filter that excludes the bob tiddlers so it is universal. I install it as needed from a bookmarklet

Regards
Tony
Reply all
Reply to author
Forward
0 new messages