pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Debug tool reports missing GUIDs when loading a TMC file #242

Closed klauer closed 3 years ago

klauer commented 3 years ago

Issue

Example

ERROR:pytmc.bin.db:Error creating record: Symbol GVL_Logger.fbRootLogger failure: Type with GUID {18071995-0000-0000-0000-000000000018} not in TMC

Details

This appears to be getting hit only in the debug tool as opposed to the database generation as the debug tool is exhaustive: it looks at all chains, including those with pragmas missing somewhere.

In looking through these chains, it finds GUIDs that are not defined in the TMC, but rather those found in the TwinCAT installation files (for things like PVOID, GUID, etc.)