Some subcommands of butler CLI fail when an option value is a URI

Description

When the value of the option --export-file is an URI (as opposed to a POSIX file) the butler import command fails:

Note that the subcommand help mentions a --dir option which does not exist:

Issue Matrix

hide

Activity

Andy Salnikov April 6, 2023 at 6:47 PM

Looks good.

Tim Jenness April 6, 2023 at 5:37 PM

can you please take a quick look at the python changes? has verified that everything works for him.

Tim Jenness April 6, 2023 at 5:36 PM

Great. Thanks I will put the ticket in review.

FabioHernandez April 6, 2023 at 5:12 PM

I forgot scons on my local pipe_tasks . Sorry for being that stupid.

I confirm that butler register-skymap works with a config file pointed to by a URI.

Tim Jenness April 6, 2023 at 4:37 PM

This is the problem:

No module named 'lsst.pipe.tasks.version'

You need to run "scons" first in that directory.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Reviewers

Andy Salnikov
FabioHernandez

Story Points

RubinTeam

Ops Middleware

Checklist

Created March 30, 2023 at 3:12 PM
Updated April 12, 2023 at 6:16 PM
Resolved April 12, 2023 at 6:16 PM