Basic Tags are empty

For general discussion related FlowStone
Post Reply
SonicBe@m
Posts: 4
Joined: Thu Feb 26, 2015 10:56 pm

Basic Tags are empty

Post by SonicBe@m »

Hello,

In my overview the tag filters are emtpy.
how can i reset it?
Attachments
tags
tags
tags.png (22.03 KiB) Viewed 10547 times
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Basic Tags are empty

Post by Perfect Human Interface »

I stopped using them as there's some kind of bug that makes all or most of the tags disappear. I had reinstalled, which brought them back, but soon they were gone again.
billv
Posts: 1165
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia
Contact:

Re: Basic Tags are empty

Post by billv »

Perfect Human Interface wrote:some kind of bug that makes all or most of the tags disappear.

This has been going on for a while now..even through quite a few FS updates. :(
I rely on the fix by Walter (god bless him :D. )
http://www.dsprobotics.com/support/viewtopic.php?f=2&t=2621&start=10#p14611

The fix is not permanent. Sooner or later the bug will re-appear.

It's a good idea to create some shortcuts to the bug fix procedure,
so it's less of a hassle to do every time the bug re-appears.
SonicBe@m
Posts: 4
Joined: Thu Feb 26, 2015 10:56 pm

Fixed!

Post by SonicBe@m »

FlowStone-tag-generator.zip
generator tool
(146.17 KiB) Downloaded 814 times
The link resolved the Problem!
Thanks for help!

i have writen a little cmd batch tool.
this will generate the tagbar.txt which would not generated automatical.

the problem:
some times FlowStone lost the information for the given tags in the AppData\Roaming\FlowStone\Tags folder.

If you delete the Tags folder, FlowStone create it automatical after open and close of FlowStone.
But it does not generate the tagbar.txt file which is needet for displaying it in FlowStone.

If you create new Tags you have to save the configuration before deleting the Tags folder.
In my example its the Claw.tag

So save the claw.tag
delete the tag folder
start FlowStone and close it
Now copy the saved tags back to the Tag directory
After this you have to start the tag-create.bat file.
This will generate the tagbar.txt in the tag folder.

After starting flow stone you will now see all availible tags

As you see the tags now sorted alphabetical
Attachments
compare
compare
tagbar_small.jpg (91.5 KiB) Viewed 10511 times
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: Basic Tags are empty

Post by Walter Sommerfeld »

Hi SonicBe@m,

nice idea but some warning and a little hint from me:

1. If the tag has a space in it's name... only 1st part is listed but wo anything in it...
2. normally all tags are regenerated after restart...
3. some quick .bat changes:
Echo off
cls
REM tag-create generates a new tagbar.txt file with the given tag files in the tag directory
REM this is usefully if you have own created tags and or plugins installen and are not listed in FlowStone

REM set the tags path
Set tagspath="C:\Users\%USERNAME%\AppData\Roaming\FlowStone\Tags\"

REM go to tags path
cd %tagspath%

REM remove old tagbar txt
del tagbar.txt

REM create new tagbar.txt with the given tags inside the folder (eg. FlowStone\Tags)
@for /f "delims=" %%i in ('dir /b /a:-d *.tag') do @echo %%~ni>>tagbar.txt
REM "delims=" This override the default delimiters which are TAB and SPACE so it
REM works for loop with spaces in dir/file name(s)

REM the new tagbar.txt lists all entrys from the tags folder
Echo done
Post Reply