-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Validate tool error (v2.12.1): Fail during rule 3.10 #75
Comments
Odd error again! The lines numbers don't help find the error (and one is a comment!) but I did find a typo related to checking 3.10 that the linter in VS Code did not find; doubly odd. Anyway, try the tool again from the Code button on the main page, not the latest release. I will publish a new one once we close this issue. |
I just tested it again and it errored in exactly the same way/place, it just incremented the line numbers up one but displayed the same lines of code... So I also added some junk comment lines to the code and it incremented the line numbers up but errored in the same two places. Odd indeed. |
Sounds like the cached vs in-situ problem. Before shutting everything down, could you try the right-click 'refresh' option on the toolbox? |
I am getting the same error but at slightly different line numbers, also on a gdb that validated using an older version of the tool. Traceback (most recent call last): This version of the tool is up to date |
Well, I've been through it several more times, tried on different unfinished databases, restarted the computer a couple of times, still no change. I have also run the tool on 8 other complete databases and they all validated no problem. So there definitely seems to be something up with the empty tables. |
Ok, now I see the error. I got a traceback to line 1775, which made sense. I have no idea why your error messages are showing those other lines. I just pushed a fix to the main repo, again not the latest release. Try again. |
OK, success!! Thanks for tracking down the problem. It really stinks that the error reporting is not giving accurate info on the line numbers... makes it really difficult to debug! I have tested the latest code on three different incomplete databases of varying complexity and all three finished validation and produced meaningful reports that I can use to complete the missing items. Good to go! |
Great! good to know. Tracey? |
Thanks for checking, Evan! I tested it on 2 gdbs - one that was created recently, and one that was created a couple years ago. The recently created one validates fine with the updated toolbox. The old one, which was level 3 compliant when published, now gives the error below. Start Time: Thursday, September 7, 2023 9:43:05 AM |
Ok, I found the possible cause. Try again downloading from the Code button. |
I downloaded the new version and tried it. Now I'm getting the following error: Start Time: Friday, September 8, 2023 9:27:49 AM |
Wow, again, the line numbers mean nothing. What is going on!? |
This error occurred on a partially complete database that I had previously been able to complete a validation on with v2.11.3+ of the tool (Issue #68). Database has not been edited since last successful check; DataSources, DMU, and Glossary tables are present but empty.
I have also tested the latest Validate tool on several complete databases and had no issues.
The text was updated successfully, but these errors were encountered: