xerparser
xerparser copied to clipboard
have issue with read xer file
First at all, thank you for your first issue resolve, this is issue after I pass error require table #12
112 def _get_projects(self) -> dict[str, PROJECT]:
113 projects = {
114 proj["proj_id"]: PROJECT(
--> [115](file:///C:/Users/chuon/miniforge3/Lib/site-packages/xerparser/src/xer.py:115) self.sched_options[proj["proj_id"]],
116 self.calendars.get(proj["clndr_id"]),
117 **proj,
118 )
119 for proj in self.tables.get("PROJECT", [])
120 if proj["export_flag"] == "Y"
121 }
122 return projects
I want provide more situation here, this xer file is the file template just contains wbs code and information of project.
Any help I'm really appreciated !
Sorry for responding late, I just noticed you submitted this issue. Can you provide more information on what error you are getting?
Hi @jjCode01 , I believe my issue is missing clndr table, when one of the table in data missing. the code will raise the issue. Regards