Skip to content

click seems to need string message  #39

Open

Description

@bernt-matthias

The current code causes a stack trace for some calls, eg.

enasearch retrieve_taxons --ids 'Elusimicrobia:phylum' --result 'coding_release' --display 'fasta' --download 'fasta'
(probably the call is missing something anyway .. I'm just starting to explore this tool)

click wants to call encode() on the exception message (if python2 is used which is the case in Galaxy installations of enasearch):

https://github.com/pallets/click/blob/132d66ac7d69a2b0e8f218a4cd39e50be3e0bcb9/click/exceptions.py#L15

but an Exception is used as parameter:

raise click.ClickException(e)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions