Mh, I am actually not sure what's going wrong?
But it seems like another tapp-action already has been finished or could not be started. Maybe you selected the wrong of those two ports, but that I can only assume.
Also it would not have taken your new sample-file, but the default one, as it seems from the output of the script.
Sadly there is no errorcode/message reported by the underlying script.
The thing is, that it is not possible to for instance flash the rom and use the WebGUI at the same time, so you have to close tapp after each action completely.
(Sorry about that, but I could not find any other way to make it work, using this cross-platform GUI.)
Please make sure about the following:
a) That the tapp-application you use to connect your TBD via the WebGUI is finished/closed/not opened, there still may be an inactive window in the background?
b) That the port you are using to connect to the TBD is the correct one. There should be at least two buttons you can select from, if two ports are available.
Typicially the one with the name "USB-SERIAL CH340" should be correct.
As you seem to be using Windows, you can check that via Taskmanager / Device Manager.
In Taskmanager only one tapp.exe should be running, in Device Manager under "Printers/Ports" the port of the TBD should be visable and the same you use with tapp.
Then please start tapp again, it should look somewhat like in the screenshots below.
What you can do there is
a) Select the place where your sample-pack is located
b) Trigger the 'flash sample-rom' process
c) Click ok to overwrite
d) Wait until the flashing is finished to 100%
Please let me know if that works for you.
Worst case, despite of intensive testing on different computers with different OS-versions, there still could be a previously undetected bug in the application?
BTW: Which Version of Windows are you using - Windows 10?