Skip to content

Cannot specify root path with trailing slash #162

@frazane

Description

@frazane

What happened?

When specifying a root path in the FDB config file, if the path contains a trailing /, FDB silently fails (returns empty results) instead of handling it gracefully.

What are the steps to reproduce the bug?

Behavior occurred when using this config. Removing the trailing slash fixes the issue.

type: local
engine: toc
schema: /scratch/mch/cosuna/rea-l-ch1/schema
spaces:
- handler: Default
  roots:
  - path: /store_new/mch/msopr/rea-l-ch1/fdb/spinup/ # <- note the trailing slash

Version

v5.16.2

Platform (OS and architecture)

x86_64 GNU/Linux

Relevant log output

Accompanying data

No response

Organisation

MeteoSwiss

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions