xerparser icon indicating copy to clipboard operation
xerparser copied to clipboard

have issue with read xer file

Open chuongmep opened this issue 3 months ago • 2 comments

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 !

chuongmep avatar Sep 03 '25 14:09 chuongmep

Sorry for responding late, I just noticed you submitted this issue. Can you provide more information on what error you are getting?

jjCode01 avatar Nov 19 '25 14:11 jjCode01

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

chuongmep avatar Nov 23 '25 03:11 chuongmep