On 6/16/25 18:37, Devansh Varshney wrote:
*2. Legacy RDBs*: Interestingly, when I tried to run unoidl-read on some
other RDBs from workdir/Rdb/ (like pyuno.rdb), I got a different error:
|$ unoidl-read $PWD/workdir/Rdb/pyuno.rdb Bad input <...>: cannot open
legacy file: 6|
This confirms the unoidl/README.md note that unoidl::Manager can
detect the old legacy format but may not be able to read all of them with
this specific tool. It's a great insight into the mixed-format nature of the
registry system.
Traditionally, the original store-based binary rdb format was used for
both "types" files (storing information about UNOIDL entities) and
"services" files (storing information about UNO components). Both those
kinds of rdb files have since been changed, using a different binary
format for the "types" files and an XML format for the "services" files.
Somewhat confusingly, all those kinds of files still use the ".rdb"
extension.
unoidl-read can read "types" files (both the old and new binary
formats), but not "services" files (the XML format)---and
workdir/Rdb/pyuno.rdb is such a "services" file.