Python package data files not installed correctly in Codespaces (hl7apy example) #202118
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
I’ve seen this happen when hl7apy can’t find its HL7 structure definition files. The package installs, but the XML resources may be missing or not included correctly in the Codespaces environment. Check the installed package contents (especially the hl7apy/structures folder) and try reinstalling with a clean environment (pip uninstall hl7apy && pip install --no-cache-dir hl7apy==1.3.4). If the files are missing after install, it’s likely a packaging/resource path issue rather than your code. |
|
My apologies for wasting this space with a mistake that was generated during Vibe Coding. Copilot insisted that there was a problem, but Gemini said there wasn't. Enough said. Thanks for everyone for their cooperation. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Summary:
When installing hl7apy==1.3.4 inside GitHub Codespaces, the HL7 structure XML files do not load. Creating an ADT_A01 message results in only the MSH segment being available.
Expected:
Message("ADT_A01", version="2.5").children should return MSH, EVN, PID, PV1.
Actual:
Only [] is returned.
Reproduction:
Create a new Codespace
Install hl7apy==1.3.4
Run:
from hl7apy.core import Message
msg = Message("ADT_A01", version="2.5")
print(msg.children)
All reactions