This looks to have nothing to do with Soren's script. It fails simply doing 
this...

tiddlywiki rl-wiki --savewikifolder public-wiki/wiki

1680 of 2200 tiddlers are exported. Still don't know how to find the 
offending tiddler(s) though :)

On Wednesday, May 5, 2021 at 2:57:56 PM UTC-4 Jack Baty wrote:

> Thanks for this, Soren. I was practically hyperventilating while watching 
> the video as I watched you address one thing after another that I struggle 
> with. Namely, the public vs private distinction. Your approach is exactly 
> what I would like to use.
>
> Your script works great on a test subset of my wiki, but I am getting an 
> error running it with all 2000+ tidders. I used Tiddler Commander to tag 
> everything (non-System) with a Public tag, since everything so far has been 
> public. Running the update script I get the following error.
>
>
> ./scripts/publish.sh
> Exporting public tiddlers...
> node:internal/fs/utils:847
> throw new ERR_INVALID_ARG_TYPE(
> ^
>
> TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type 
> string or an instance of Buffer, TypedArray, or DataView. Received undefined
> at Object.writeFileSync (node:fs:1545:5)
> at Object.exports.saveTiddlerToFileSync 
> ($:/core/modules/utils/filesystem.js:441:6)
> at WikiFolderMaker.saveTiddler 
> ($:/core/modules/commands/savewikifolder.js:165:12)
> at $:/core/modules/commands/savewikifolder.js:103:11
> at Object.$tw.utils.each 
> (/Users/jbaty/tmp/rudimentarylathe/node_modules/tiddlywiki/boot/boot.js:126:12)
> at WikiFolderMaker.save ($:/core/modules/commands/savewikifolder.js:79:12)
> at Command.execute ($:/core/modules/commands/savewikifolder.js:39:25)
> at Commander.executeNextCommand ($:/core/modules/commander.js:107:14)
> at Commander.execute ($:/core/modules/commander.js:64:7)
> at Object.exports.startup ($:/core/modules/startup/commands.js:34:12) {
> code: 'ERR_INVALID_ARG_TYPE'
> }
> Externalizing images...
> Compiling single HTML file...
> Not pushing the wiki to GitHub because the --push switch was not provided.
>
>
> I assume that there's a tiddler in there somewhere that's either badly 
> formed or missing something, but I have no idea how to track it down. If 
> anyone recognized this error or knows how I might find the problem, I'd 
> love to know about it.
>
> My other option is to recreate the wiki and import a handful at a time 
> until it breaks, but I'd like to avoid that if possible.
>
> Thanks,
>
> Jack
>
> On Tuesday, May 4, 2021 at 9:29:50 PM UTC-4 rika.s...@gmail.com wrote:
>
>> Hey, everyone! I'm passionate about Zettelkasten too. If you haven't seen 
>> Ross Ashby's digital Zettelkasten archive, it's worth checking out. 
>> http://rossashby.info/
>>
>> On Sunday, May 2, 2021 at 4:09:38 PM UTC-4 bimlas wrote:
>>
>>> Soren,
>>>
>>> Thank you for bringing the TiddlyWiki and Zettelkasten communities one 
>>> step closer. I think these two groups are very close to each other, just 
>>> the two parties just don’t know each other enough.
>>>
>>> I have read your notes and I would like to comment on a few:
>>>
>>> https://zettelkasten.sorenbjornstad.com/#DataAsKnowledgeGraph
>>>
>>> This may not be exactly what the description is about, but for some 
>>> reason the description is reminiscent of a solution where you basically 
>>> navigate between tables, but you are very free to do so. Read the 
>>> description firtst on 
>>> https://groups.google.com/g/tiddlywiki/c/Re11x96t-qI/m/WoqDEuJzGQAJ, 
>>> then try out on 
>>> https://bimlas.gitlab.io/demo/tw5/property-comparison.html
>>>
>>> https://zettelkasten.sorenbjornstad.com/#FullTextSearch
>>>
>>> Here is a very good description of the topic: 
>>> https://tefkos.comminfo.rutgers.edu/Courses/e530/Readings/Beal%202008%20full%20text%20searching.pdf
>>>
>>> https://zettelkasten.sorenbjornstad.com/#WritingFreesHeadspace
>>>
>>> I have found in myself that writing makes me more efficient, but my 
>>> memory has deteriorated a lot. It’s easier to describe something than to 
>>> remember it in the long run and I think it’s okay, but in the eyes of those 
>>> around me, I seem like a forgetful person. Have you noticed anything like 
>>> this in yourself?
>>>
>>> My further thoughts on note-taking methods: 
>>> https://groups.google.com/g/tiddlywiki/c/2yRiVsbAv9g/m/vKBIC5CjBQAJ
>>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bcfc0109-deda-4a45-a7f3-f565ed371780n%40googlegroups.com.

Reply via email to