Skip to content

Traceback when trying to copy to stdout #85

@matyasselmeci

Description

@matyasselmeci
$ stashcp /user/dweitzel/public/blast/queries/query1 -
Traceback (most recent call last):
  File "/usr/bin/stashcp", line 496, in <module>
    main()
  File "/usr/bin/stashcp", line 488, in main
    result = doStashCpSingle(sourceFile=source, destination=destination, debug=args.debug)
  File "/usr/bin/stashcp", line 215, in doStashCpSingle
    payload['download_size']=dlSz
UnboundLocalError: local variable 'dlSz' referenced before assignment

I don't know if copying to stdout is a supported use case but either way, it should fail more gracefully than that.

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