Skip to content

cwltool fails when node is not installed #267

Closed

Description

@StarvingMarvin

The error I got was:

AttributeError: 'LineCol' object has no attribute 'filename'

Which is not very descriptive. Also install instructions doesn't mention nodejs as a dependency.

Activity

  1. psaffrey-illumina commented on Jan 9, 2017

    @psaffrey-illumina
    Contributor

    I've had this error too:

    #264

    I think it occurs for quite a variety of errors when the error reporting itself fails due to a lack of reference to the source file for the error. If you run cwltool with the Python debugger and break on this line, you can output the msg variable which contains something a lot more useful.

    I wanted to try to put together a fix for this but I wasn't sure why the file might be going missing.

  2. anton-khodak commented on Feb 3, 2017

    @anton-khodak
    Member

    + for outputting msg variable. Would be good if it was an explicit error message

  3. self-assigned this
    on Jul 16, 2017
  4. kapilkd13 commented on Jul 18, 2017

    @kapilkd13
    Contributor

    Hi @StarvingMarvin Usually when I use Javascript expression with InlineJavascriptRequirement and node is not installed then cwltool try to create a node Docker Container and it works. Is this related to InlineJsrequirement. I think I am missing something.

  5. mr-c commented on Jul 18, 2017

    @mr-c
    Member

    Looks like this was fixed in common-workflow-language/schema_salad#85. Feel free to re-open if it happens again

  6. added a commit that references this issue on Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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