-
Notifications
You must be signed in to change notification settings - Fork 19
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
getentityname.py fails on DB4 files without entity declaration #556
Comments
@fsundermeyer Thanks for the report. Although the error report seems to be a bit incomplete (copy-and-type error?) I could decipher it successfully. 😉 I've looked at the path and checked all the files. Only one file did raise an exception, that was A first bug fix, I've created a PR at tomschr/getentities#4 in branch Once you can confirm if this works, I can copy the script to the daps repository. |
Frank -- is this issue a duplicate of tomschr/getentities#3? If not, I think the description needs to be fixed. Also, Toms, why is getentities in a different repo now? |
@sknorr Actually, I've created the mentioned bug in my repository yesterday. It was just a reminder, a reference, and I've included some information for me. Furthermore, it links to this issue. Apart from that, this repo exists since last year after a discussion with Frank. I just wanted to have a separate place for having test cases and some data files. A separate repo allows me to focus entirely on the script, testing it in a Python CI environment etc. Having all the cruft in the daps repository would "pollute" daps, gives me too much noise and distraction, and be a bit too much for a simple Python script. As this script doesn't change much, I consider copying this stable script to the daps repo as a good compromise. Maybe there is some Git magic (subrepos/subtrees/...?), but I haven't looked into these. |
Sorry for the initial "short" report--was a cut & paste error. Amended it now.
and
None of these files makes problems with the old version of getentityname.py. |
@fsundermeyer I've updated the branch and fixed it in tomschr/getentities#4. It was actually quite simple. I've tested it with the above files and it works for me. Please try again. The last file ( Thanks for the report! 👍 |
Ah, the sweetness of "programming languages" that do not care about being backwards compatible... .
Two errors:
|
Okay, I've revamped the code and tried it with the DAPS User Guide:
@fsundermeyer Could you try it again, please? 🥺 |
Great - works for me now! Thank you!
|
Ok, that's good. 👍 Thanks for the test.
Okay, that shouldn't happen. I'll fix that too. |
@fsundermeyer Ok, I fixed this issue:
Every passed XML file is now checked if it exists. If not, the above critical error is reported. |
Thank you very much! Added to DAPS with c66c206 |
The text was updated successfully, but these errors were encountered: