ikalogic / ScanaStudio-scripts-v3

8 stars 13 forks source link

Scanastudio script manager duplicates some protocols in 4.0.15 #14

Closed YoannD42 closed 4 years ago

YoannD42 commented 4 years ago

In its last version, 4.0.15, running on a Windows 10 (1909 Enterprise) 64bits machine, scanastudio script manager will duplicate some protocols :

Issue persists after clicking refresh, or a ScanaStudio restart. I can't reproduce the issue under linux (debian 64 bits).

1-Wire SPI Flash

YoannD42 commented 4 years ago

In addition, I just sent the application and session logs, with a link to this Issue, if it can help to reproduce.

Thank you !

BastitNi commented 4 years ago

Hi @YoannD42, With the log file you just sent, it appears that the duplicated script were made "manually". Their names are protocolname_copy0.js

Thus, you should remove them manually, because ScanaStudio must not delete a script written by a user.

YoannD42 commented 4 years ago

Hi, thank you for the fast answer,

For the _copy0 I agree, that's my copies, that's the 2 scripts you see in the screenshots, named "SPI GTX DAC" (this one is a copy from spi) and "STIM DECODER" (this one is copied from pwm).

For the rest, 1-Wire and Spi Flash protocols, it looks like... different ? The 2 copies were made at the same timedate, and not names _copyx, could it be after an update ?

image

Of course, now I know that it's here, I can simply delete them. But maybe it's interesting for you to know where this copy comes from ?

BastitNi commented 4 years ago

Thank you for your feedback. I'll investigate around that. Unfortunately, ScanaStudio won't be able to remove these script as I said before, but it should prevent their creation. It will probably be fixed in the next release.

YoannD42 commented 4 years ago

Perfect, Thanks for taking feedback.