{"action":"created","issue":{"url":"https://api.github.com/repos/nextflow-io/nextflow/issues/149","repository_url":"https://api.github.com/repos/nextflow-io/nextflow","labels_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/149/comments","events_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/149/events","html_url":"https://github.com/nextflow-io/nextflow/issues/149","id":153910496,"number":149,"title":"Fail to run hello \"ERROR ~ Input length = 1\"","user":{"login":"kiwenlau","id":10240841,"avatar_url":"https://avatars.githubusercontent.com/u/10240841?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwenlau","html_url":"https://github.com/kiwenlau","followers_url":"https://api.github.com/users/kiwenlau/followers","following_url":"https://api.github.com/users/kiwenlau/following{/other_user}","gists_url":"https://api.github.com/users/kiwenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwenlau/subscriptions","organizations_url":"https://api.github.com/users/kiwenlau/orgs","repos_url":"https://api.github.com/users/kiwenlau/repos","events_url":"https://api.github.com/users/kiwenlau/events{/privacy}","received_events_url":"https://api.github.com/users/kiwenlau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-10T02:22:11Z","updated_at":"2016-05-12T15:07:21Z","closed_at":null,"body":"I got  \"ERROR ~ Input length = 1\" when I tried to hello\r\n\r\n**./nextflow run hello**\r\n```\r\nN E X T F L O W  ~  version 0.18.3\r\nLaunching 'nextflow-io/hello' - revision: 1b3a2ae053 [master]\r\nERROR ~ Input length = 1\r\n\r\n -- Check '.nextflow.log' file for details\r\n```\r\n\r\n**cat .nextflow.log**\r\n```\r\nMay-10 11:10:58.712 [main] DEBUG nextflow.cli.Launcher - $> ./nextflow run hello\r\nMay-10 11:10:58.810 [main] INFO  nextflow.cli.CmdRun - N E X T F L O W  ~  version 0.18.3\r\nMay-10 11:10:59.195 [main] DEBUG nextflow.scm.AssetManager - Listing projects in folder: /home/kai/.nextflow/assets\r\nMay-10 11:10:59.229 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/kai/.nextflow/assets/nextflow-io/hello/.git/config; branch: master; remote: origin; url: https://github.com/nextflow-io/hello.git\r\nMay-10 11:10:59.263 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/kai/.nextflow/assets/nextflow-io/hello/.git/config; branch: master; remote: origin; url: https://github.com/nextflow-io/hello.git\r\nMay-10 11:10:59.374 [main] DEBUG nextflow.scm.AssetManager - Git config: /home/kai/.nextflow/assets/nextflow-io/hello/.git/config; branch: master; remote: origin; url: https://github.com/nextflow-io/hello.git\r\nMay-10 11:10:59.375 [main] INFO  nextflow.cli.CmdRun - Launching 'nextflow-io/hello' - revision: 1b3a2ae053 [master]\r\nMay-10 11:11:00.130 [main] DEBUG nextflow.Session - Session uuid: a8a1bbfd-7fd5-44eb-ba70-1ea85e837da6\r\nMay-10 11:11:00.131 [main] DEBUG nextflow.Session - Executor pool size: 2\r\nMay-10 11:11:00.140 [main] ERROR nextflow.cli.Launcher - @unknown\r\njava.nio.charset.MalformedInputException: Input length = 1\r\n\tat java.nio.charset.CoderResult.throwException(CoderResult.java:277)\r\n\tat sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:338)\r\n\tat sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)\r\n\tat java.io.InputStreamReader.read(InputStreamReader.java:184)\r\n\tat java.io.BufferedReader.read1(BufferedReader.java:203)\r\n\tat java.io.BufferedReader.read(BufferedReader.java:279)\r\n\tat java.io.Reader.read(Reader.java:140)\r\n\tat org.codehaus.groovy.runtime.IOGroovyMethods.getText(IOGroovyMethods.java:884)\r\n\tat org.codehaus.groovy.runtime.NioGroovyMethods.getText(NioGroovyMethods.java:422)\r\n\tat nextflow.script.ScriptFile.getText(ScriptFile.groovy:66)\r\n\tat nextflow.script.ScriptRunner.setScript(ScriptRunner.groovy:111)\r\n\tat nextflow.cli.CmdRun.run(CmdRun.groovy:181)\r\n\tat nextflow.cli.Launcher.run(Launcher.groovy:380)\r\n\tat nextflow.cli.Launcher.main(Launcher.groovy:529)\r\n```\r\n\r\nI got the same error on my local host and amazon ec2 host, both run ubuntu 14.04"},"comment":{"url":"https://api.github.com/repos/nextflow-io/nextflow/issues/comments/218786743","html_url":"https://github.com/nextflow-io/nextflow/issues/149#issuecomment-218786743","issue_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/149","id":218786743,"user":{"login":"kiwenlau","id":10240841,"avatar_url":"https://avatars.githubusercontent.com/u/10240841?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwenlau","html_url":"https://github.com/kiwenlau","followers_url":"https://api.github.com/users/kiwenlau/followers","following_url":"https://api.github.com/users/kiwenlau/following{/other_user}","gists_url":"https://api.github.com/users/kiwenlau/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwenlau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwenlau/subscriptions","organizations_url":"https://api.github.com/users/kiwenlau/orgs","repos_url":"https://api.github.com/users/kiwenlau/repos","events_url":"https://api.github.com/users/kiwenlau/events{/privacy}","received_events_url":"https://api.github.com/users/kiwenlau/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T15:07:21Z","updated_at":"2016-05-12T15:07:21Z","body":"FYI. I got the same problem when I tried to run nextflow within Docker container based on ubuntu:14.04 image."}}