Closed nojronatron closed 2 years ago
Working to resolve this issue today.
Still seeing this in 101b. The error is it can't open Form: formname here
There is some sort of blank-line issue going on, probably related to one of my dev environments being Linux. Try this:
Are there any blank lines? Or is everything smooshed together in a single line?
If smooshed together, add blank lines so the file looks like this:
Form: Bigfoot Bib Report Initial.html
To: <var address>
Subject:<var msgsubject>
Msg:
<var TheData>
-----
<var Comment>
<var FormatNote>
-----
Winlink Express Sender <var MsgSender>
Template version <var Theversion>
Let me know what happens and I'll figure out a way to fix this in the next bugfix release.
I'll try that. Perhaps run unix2dos on the file before comitting it?
Thanks! Since I have used both linux and windows dev environments, it probably has to do with this git behavior mentioned in stackoverflow. Next bugfix forthcoming.
The process above worked around the issue.
It seems like GitHub's Release ZIP process is stripping CR characters. Follow the instructions in this post and the problem should go away. Meanwhile, I'll try to find a better release system that will retain the CRLF settings so Winlink Express doesn't misinterpret the file on read/import.
Although not a short-term solution, might inquire with the RMS people if winlink can be made more tolerant on reading the file.
My TXT file looks good, plenty of line feeds. Still no joy.
@DaveWilma Did you look in the Template Manager, or in notepad? Notepad etc don't show the issue.
If you are using Template Manager to add the line feeds, then please attach a screen shot of the template manager so we can debug it by eyeball.
That did it, Edit from the Template manager. I am looking at the template.
Fixed with PR #20
Wow, who would have thought the LF/CRLF issue would be the challenge here.
Any way I can help.
Been following, and sure enough, simple Visual Studio Code fix is to select CRLF and save. Sorry it is not that simple in GitHub build.
File Bigfoot Bib Report.txt has the required
Form:
declaration but somehow cannot properly read the file as-is.The fix is to add line-feeds between each line in the template file to ensure there is no incidental concatenation.
Update the file so each entry has an additional CR/LF character between each Template keyword and following argument(s) for proper operation.