Skip to content

Emit SPICE + continuation syntax for long meta-kernel paths #183

Description

@mmaclay

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 silentlyfurnsh 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions