Skip to main content
Question

Generic format and geopackages ??

  • March 3, 2026
  • 0 replies
  • 12 views

lifalin2016
Supporter
Forum|alt.badge.img+40

Hi all.

I just experimented with a small workflow, that scans a folder for files, and attempts to read those files using the generic format.

I tried with CSV and DGN, and both worked well.

I then tried with Geopackage, and then it blew up.

First because FME’s guess using the extension was wrong, so I had to parametricize the format used.

Then it blew up with an internal error message (“Too many recursive macro substitutions”):

2026-03-03 15:14:24|   2.6|  0.0|WARN  |UniversalReader -- readSchema resulted in 0 schema features being returned
2026-03-03 15:14:24| 2.6| 0.0|ERROR |Too many recursive macro substitutions -- line currently is: `SOURCE_READER GENERIC REAL_FORMAT "$(REAL_FORMAT)" EXPOSED_ATTRS "$($(FORMAT_SHORT_NAME)_EXPOSE_FORMAT_ATTRS)"'
2026-03-03 15:14:24| 2.6| 0.0|ERROR |class stk::ex::UString<0> __cdecl tabrdr::ClassicTableReader::macroSubstitute(const class stk::ex::UString<0> &,int)(C:\code\fme\foundation\framework\engine\tabrdr\tabrdr_classic.cpp:2160) - class stk::ex::UString<0> __cdecl tabrdr::ClassicTableReader::macroSubstitute(const class stk::ex::UString<0> &,int) .............. class FMETValOrderedVector<class ObsoleteString> &,class STF_TObjectStash<class STFFeature,class STF_FeatureStashHelper> &)(C:\code\fme\foundation\framework\control\contfile.cpp:2528)
2026-03-03 15:14:24| 2.6| 0.0|INFORM|Closing the GENERIC Reader

I tried it in both 2020.2 and 2025.2, both erred the same way.

Have anyone else come across this issue ?

Cheers