Follow-up from review of #175 (thread).
SPICE's kernel-pool string values truncate at 80 characters, and a meta-kernel referencing a longer path fails silently — furnsh returns without error and the referenced kernel is simply never loaded. This is what the path shortening/symlink machinery in path_utils.py and classes.py:_auto_shorten_kernel_paths exists to work around.
SPICE supports + continuation, which removes the limit at its source. Verified during review: a 153-character path split across '<first half>+', '<second half>' furnishes correctly. curryer does not currently emit it.
Proposed: teach the meta-kernel templates in writer.py to emit continuation syntax for over-length values. If it covers the cases we hit in practice, the shortening and symlink machinery becomes unnecessary for the meta-kernel path entirely.
Credit to @medley56 for finding and verifying this.
Follow-up from review of #175 (thread).
SPICE's kernel-pool string values truncate at 80 characters, and a meta-kernel referencing a longer path fails silently —
furnshreturns without error and the referenced kernel is simply never loaded. This is what the path shortening/symlink machinery inpath_utils.pyandclasses.py:_auto_shorten_kernel_pathsexists to work around.SPICE supports
+continuation, which removes the limit at its source. Verified during review: a 153-character path split across'<first half>+', '<second half>'furnishes correctly. curryer does not currently emit it.Proposed: teach the meta-kernel templates in
writer.pyto emit continuation syntax for over-length values. If it covers the cases we hit in practice, the shortening and symlink machinery becomes unnecessary for the meta-kernel path entirely.Credit to @medley56 for finding and verifying this.