{"action":"created","issue":{"url":"https://api.github.com/repos/savonet/liquidsoap/issues/439","repository_url":"https://api.github.com/repos/savonet/liquidsoap","labels_url":"https://api.github.com/repos/savonet/liquidsoap/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/savonet/liquidsoap/issues/439/comments","events_url":"https://api.github.com/repos/savonet/liquidsoap/issues/439/events","html_url":"https://github.com/savonet/liquidsoap/issues/439","id":226777360,"number":439,"title":"get_process_lines Regression in Liquidsoap 1.3.0 (no output)","user":{"login":"dtcooper","id":873944,"avatar_url":"https://avatars3.githubusercontent.com/u/873944?v=3","gravatar_id":"","url":"https://api.github.com/users/dtcooper","html_url":"https://github.com/dtcooper","followers_url":"https://api.github.com/users/dtcooper/followers","following_url":"https://api.github.com/users/dtcooper/following{/other_user}","gists_url":"https://api.github.com/users/dtcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/dtcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtcooper/subscriptions","organizations_url":"https://api.github.com/users/dtcooper/orgs","repos_url":"https://api.github.com/users/dtcooper/repos","events_url":"https://api.github.com/users/dtcooper/events{/privacy}","received_events_url":"https://api.github.com/users/dtcooper/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-05-06T14:49:43Z","updated_at":"2017-05-17T20:17:40Z","closed_at":"2017-05-07T21:38:17Z","body":"I installed liquidsoap 1.3.0 on Ubuntu 16.04 LTS using opam, and I observe that `get_process_lines(...)` returns no output\r\n\r\n```\r\n$ liquidsoap 'print(get_process_lines(\"whoami\"))'\r\n[]\r\nNo output defined, nothing to do.\r\n```\r\n\r\nRunning the same command with liquidsoap 1.2.1 works,\r\n\r\n```\r\n$ liquidsoap 'print(get_process_lines(\"whoami\"))'\r\n[\"liquidsoap\"]\r\nNo output defined, nothing to do.\r\n```\r\n\r\n(Note `get_process_output` also is broken)\r\n\r\nThanks,\r\n\r\nDavid\r\n\r\n---\r\n\r\nHere's the opam install script (`install_liquidsoap_opam.sh`)\r\n\r\n```\r\n#!/bin/sh\r\n\r\nLIQUIDSOAP_OPAM_DEPS=\"taglib mad lame vorbis cry alsa\"\r\n\r\n# Install opam and minimal ocaml\r\nsudo apt-get install -y build-essential\r\nsudo apt-get install -y --no-install-recommends opam m4 ocaml-nox\r\n\r\n# Add a liquidsoap user\r\nsudo adduser --system --disabled-password --shell=/bin/bash --group liquidsoap\r\nsudo adduser liquidsoap audio\r\n\r\n# Init opam + install depext\r\nsudo -iu liquidsoap opam init -ya\r\nsudo -iu liquidsoap opam install depext\r\n\r\n# Compute dependencies\r\nDEPS=$(sudo -iu liquidsoap opam depext -l $LIQUIDSOAP_OPAM_DEPS)\r\n\r\n# Install dependencies\r\nDEPS=$(echo \"$DEPS\" | grep '^#  - ' | sed 's/^#  - //')\r\nsudo apt-get -y install $DEPS\r\n\r\n# Install opam packages including liquidsoap\r\n# Change \"liquidsoap\" => \"liquidsoap.1.2.1\" for a different version\r\nsudo -iu liquidsoap opam install -y $LIQUIDSOAP_OPAM_DEPS liquidsoap\r\n```"},"comment":{"url":"https://api.github.com/repos/savonet/liquidsoap/issues/comments/302219401","html_url":"https://github.com/savonet/liquidsoap/issues/439#issuecomment-302219401","issue_url":"https://api.github.com/repos/savonet/liquidsoap/issues/439","id":302219401,"user":{"login":"dtcooper","id":873944,"avatar_url":"https://avatars3.githubusercontent.com/u/873944?v=3","gravatar_id":"","url":"https://api.github.com/users/dtcooper","html_url":"https://github.com/dtcooper","followers_url":"https://api.github.com/users/dtcooper/followers","following_url":"https://api.github.com/users/dtcooper/following{/other_user}","gists_url":"https://api.github.com/users/dtcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/dtcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtcooper/subscriptions","organizations_url":"https://api.github.com/users/dtcooper/orgs","repos_url":"https://api.github.com/users/dtcooper/repos","events_url":"https://api.github.com/users/dtcooper/events{/privacy}","received_events_url":"https://api.github.com/users/dtcooper/received_events","type":"User","site_admin":false},"created_at":"2017-05-17T20:17:39Z","updated_at":"2017-05-17T20:17:39Z","body":"I just patched the 1.3.0 with the fix and compiled.\n\nOn Wed, May 17, 2017 at 8:44 AM Tony Miller <notifications@github.com>\nwrote:\n\n> Is there a bugfix release for this yet? Or an easy way to upgrade the\n> compiler? 🤔\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/savonet/liquidsoap/issues/439#issuecomment-302132266>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AA1V2IyuijzH83qZTmOCgS163j9MdrUIks5r6xXdgaJpZM4NSykI>\n> .\n>\n"}}
{"actor":{"display_login":"dtcooper"}}