Confirmed, saving back to an external file outside wiki folder works in 
5.1.23 release, broken in the current GitHub repo.

On Sunday, February 7, 2021 at 9:08:15 PM UTC-8 Mark S. wrote:

> Yes, I just set it up for the release version today. I was having no luck 
> when using the 5.1.22 .
>
> I'm running on Linux, btw. 
>
> On Sunday, February 7, 2021 at 8:56:20 PM UTC-8 RA wrote:
>
>> @Mark, here's what happened when I edited and saved `myscript.sql`. Does 
>> it work for you with the release version? I'm running latest as of 
>> yesterday. I'll try rolling it back to release.
>>
>> [image: 00037044.png]
>>
>>
>> On Sunday, February 7, 2021 at 7:28:56 PM UTC-8 Mark S. wrote:
>>
>>> So, it turns out that I did need the $:/config/FileSystemExtensions 
>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FFileSystemExtensions> tiddler 
>>> in order to prevent TW from assigning the ".txt" extension. This may be 
>>> because I used text/plain, since TW doesn't know about text/sql. When 
>>> importing the tiddlers I used tag "sql" and then added this to the 
>>> extensions tiddler:
>>>
>>> [tag[sql]then[.sql]
>>>
>>> In the attached, zip open some place. Go into directory Wikis and run
>>>
>>> tiddlywiki test2 --listen port=8090
>>>
>>> (or whatever port you want). You should be able to edit myscript.sql and 
>>> see it changed on the drive.
>>>
>>> Looking at your prior post, it looks like you have tiddlywiki.files 
>>> inside of scripts/t-sql . As far as I could tell, the tiddlywiki.files file 
>>> would not work anywhere except below "tiddlers/". But this shouldn't be a 
>>> problem, because it's the actual sql files you care about, and not the 
>>> configuration of TW.
>>>
>>> On Sunday, February 7, 2021 at 6:20:44 PM UTC-8 RA wrote:
>>>
>>>> @Mark, so you have it working with 5.1.23? Are you able to zip it up 
>>>> and share here?
>>>>
>>>>
>>>>>
>>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/343a5273-1079-4ddd-b4f2-69f6020d527en%40googlegroups.com.

Reply via email to