Home Forums Help needed auto-tagging questions

Viewing 3 reply threads
  • Author
    Posts
    • mrdna
      Participant
      Post count: 220

      Overall auto-tagging is working pretty well! It looks like I may have come up against an occasional odd little issue when 2 rules apply to one file, specifically a directory rule and a filename rule. It’s odd because one file was tabbled just fine with each rule, however the rest only picked up the directory rule. Extra oddness is that in the history window it says the filename rule was applied to one of the files but the file itself only has the directory ruled tabble. (which wasn’t reported in the history window, btw) The history window itself has only 15 entries when I know there were more files than that added.

      All the filename rules were created later than all the directory rules, so filename rules at top of rules window list.

      I guess I’m wondering how/when each rule is applied; Last created rule applied first and down the list, first created to last, alpha? And second; Are there circumstances when a rule is applied that either the old tabbles are stripped or the file’s tabble list is initialized (which would clear the list as a side effect)? Does the one-click pop-up possibly block any other rules being applied to a file?

      Also, I notice that even if I have the checkbox marked to have the one-click box pop, only the first file seems to get the pop-up. (Not that I mind, actually! Alotta rules would make for alotta pop-ups! Should uncheck a bunch of them anyways) The rest get piled into the general ‘some files…’ box.

      (Just wait… I’ll be creating a filename and a directory rule that add the same tabble to see if it explodes when both rules apply. 😆 )

    • Maurizio
      Participant
      Post count: 196

      Overall auto-tagging is working pretty well! It looks like I may have come up against an occasional odd little issue when 2 rules apply to one file, specifically a directory rule and a filename rule. It’s odd because one file was tabbled just fine with each rule, however the rest only picked up the directory rule.

      This sounds like a bug I fixed in 1.3.3. Sorry.

      This bug also caused database corruption (restricted to the file that was matched by two rules). so I suggest you do the following:

      1. install 1.3.3

      2. open the debug log: tools > advanced > show debug log.

      2. detect and fix db corruption: tools > advanced > remove errors in db.

      3. quickly do CTRL+a and then CTRL+c on all the text in the debug log, and CTRL+v in notepad, so you can take note of which files have been unlinked from the DB.

      4. Tell me how many files with errors there were (or just send me the full log via email)

      5. retag all the files that had errors

      6. make sure the bug is fixed, by creating a file in a directory that triggers a rule, and then renaming it to a name that triggers another rule.

    • Maurizio
      Participant
      Post count: 196

      Extra oddness is that in the history window it says the filename rule was applied to one of the files but the file itself only has the directory ruled tabble.

      That’s the db corruption I talked about in the previous comment.

      I guess I’m wondering how/when each rule is applied; Last created rule applied first and down the list, first created to last, alpha?

      I apply rules from first to last. But I’m not sure the list always reflects the internal order.

      Anyway you are facing a bug. Now that the bug is fixed, the order should be irrelevant.

      And second; Are there circumstances when a rule is applied that either the old tabbles are stripped or the file’s tabble list is initialized (which would clear the list as a side effect)?

      Clear the list as a side-effect: it sounds like the bug I’ve fixed. 🙂

      Does the one-click pop-up possibly block any other rules being applied to a file?

      No it does not.

      Also, I notice that even if I have the checkbox marked to have the one-click box pop, only the first file seems to get the pop-up.

      I couldn’t fill your screen with popups, so there’s a logic that says "there can’t be more than a one-click-tagging popup visible on screen". To see all the files, you should bring up the window called "auto-tagging history".

    • mrdna
      Participant
      Post count: 220

      Ok, fixed the db per your instructions. Came up with 2 bad links. Named and renamed a couple files in a sub dir so the file would pick up both a dir rule and a filename rule. Worked fine.

      Logic on the one-click pop-up is irrefutable. 🙂 It -would- fill up my screen when I synced otherwise.

      Thanks for the quick help, Maurizio!

Viewing 3 reply threads
  • You must be logged in to reply to this topic.