{"action":"created","issue":{"url":"https://api.github.com/repos/returntocorp/cli/issues/21","repository_url":"https://api.github.com/repos/returntocorp/cli","labels_url":"https://api.github.com/repos/returntocorp/cli/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/returntocorp/cli/issues/21/comments","events_url":"https://api.github.com/repos/returntocorp/cli/issues/21/events","html_url":"https://github.com/returntocorp/cli/issues/21","id":432809252,"node_id":"MDU6SXNzdWU0MzI4MDkyNTI=","number":21,"title":"r2c run: /analysis is empty on ubuntu 18.04","user":{"login":"cjtenny","id":592115,"node_id":"MDQ6VXNlcjU5MjExNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/592115?v=4","gravatar_id":"","url":"https://api.github.com/users/cjtenny","html_url":"https://github.com/cjtenny","followers_url":"https://api.github.com/users/cjtenny/followers","following_url":"https://api.github.com/users/cjtenny/following{/other_user}","gists_url":"https://api.github.com/users/cjtenny/gists{/gist_id}","starred_url":"https://api.github.com/users/cjtenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjtenny/subscriptions","organizations_url":"https://api.github.com/users/cjtenny/orgs","repos_url":"https://api.github.com/users/cjtenny/repos","events_url":"https://api.github.com/users/cjtenny/events{/privacy}","received_events_url":"https://api.github.com/users/cjtenny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-04-13T05:17:46Z","updated_at":"2019-04-13T05:46:09Z","closed_at":null,"author_association":"NONE","body":"## What happened?\r\n\r\nGoing through tutorial with left-pad, error changing directory to source-code.\r\n\r\nfind and ls -a show /analysis is empty.\r\n\r\nFrom the user, author fields redacted:\r\n\r\n> I was trying to follow through the “Getting Started” guide on a Google Cloud instance running Ubuntu 18.04 LTS, and I keep running into this error:\r\n> \r\n> 🔎 Running analysis on `/home/<user>/test-repos/left-pad`\r\n> \r\n> /analyzer/analyze.sh: line 6: cd: /analysis/inputs/public/source-code: No such file or directory\r\n> \r\n> ❌ There was an exception: Docker container finished with non-zero exit code: 1.\r\n> \r\n> Container log /analyzer/analyze.sh: line 6: cd: /analysis/inputs/public/source-code: No such file or directory\r\n> \r\n>  Command run:\r\n> \r\n> $  sudo /home/<user>/.local/bin/r2c run ~/test-repos/left-pad\r\n> \r\n\r\n-------------- analyze.sh ---------------\r\n```\r\n#!/bin/bash\r\n\r\nset -e\r\nCODE_DIR=\"/analysis/inputs/public/source-code\"\r\n\r\ncd ${CODE_DIR}\r\n\r\nfind . -name '*.js' | xargs python3 /analyzer/whitespace.py\r\n```\r\n-------------- analyzer.json -------------\r\n```\r\n{\r\n    \"analyzer_name\": \"ecs260-N/minifinder\",\r\n    \"version\": \"0.0.1\",\r\n    \"spec_version\": \"1.2.0\",\r\n    \"dependencies\": {\r\n        \"public/source-code\": \"*\"\r\n    },\r\n    \"type\": \"commit\",\r\n    \"output\": {\r\n        \"type\": \"json\"\r\n    },\r\n    \"deterministic\": true\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/returntocorp/cli/issues/comments/482778943","html_url":"https://github.com/returntocorp/cli/issues/21#issuecomment-482778943","issue_url":"https://api.github.com/repos/returntocorp/cli/issues/21","id":482778943,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4Mjc3ODk0Mw==","user":{"login":"arashd","id":592209,"node_id":"MDQ6VXNlcjU5MjIwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/592209?v=4","gravatar_id":"","url":"https://api.github.com/users/arashd","html_url":"https://github.com/arashd","followers_url":"https://api.github.com/users/arashd/followers","following_url":"https://api.github.com/users/arashd/following{/other_user}","gists_url":"https://api.github.com/users/arashd/gists{/gist_id}","starred_url":"https://api.github.com/users/arashd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashd/subscriptions","organizations_url":"https://api.github.com/users/arashd/orgs","repos_url":"https://api.github.com/users/arashd/repos","events_url":"https://api.github.com/users/arashd/events{/privacy}","received_events_url":"https://api.github.com/users/arashd/received_events","type":"User","site_admin":false},"created_at":"2019-04-13T05:46:09Z","updated_at":"2019-04-13T05:46:09Z","author_association":"NONE","body":"@deifactor might have insight into this since she fixed our mounting/permissions issues on ubuntu recently."}}
{"actor":{"display_login":"arashd"}}