{"action":"created","issue":{"url":"https://api.github.com/repos/erlang/rebar3/issues/1808","repository_url":"https://api.github.com/repos/erlang/rebar3","labels_url":"https://api.github.com/repos/erlang/rebar3/issues/1808/labels{/name}","comments_url":"https://api.github.com/repos/erlang/rebar3/issues/1808/comments","events_url":"https://api.github.com/repos/erlang/rebar3/issues/1808/events","html_url":"https://github.com/erlang/rebar3/issues/1808","id":330569620,"node_id":"MDU6SXNzdWUzMzA1Njk2MjA=","number":1808,"title":"\"Uncaught error in rebar_core\" with lorawan-server-0.4.13","user":{"login":"jmpsystems","id":8346614,"node_id":"MDQ6VXNlcjgzNDY2MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8346614?v=4","gravatar_id":"","url":"https://api.github.com/users/jmpsystems","html_url":"https://github.com/jmpsystems","followers_url":"https://api.github.com/users/jmpsystems/followers","following_url":"https://api.github.com/users/jmpsystems/following{/other_user}","gists_url":"https://api.github.com/users/jmpsystems/gists{/gist_id}","starred_url":"https://api.github.com/users/jmpsystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmpsystems/subscriptions","organizations_url":"https://api.github.com/users/jmpsystems/orgs","repos_url":"https://api.github.com/users/jmpsystems/repos","events_url":"https://api.github.com/users/jmpsystems/events{/privacy}","received_events_url":"https://api.github.com/users/jmpsystems/received_events","type":"User","site_admin":false},"labels":[{"id":431121481,"node_id":"MDU6TGFiZWw0MzExMjE0ODE=","url":"https://api.github.com/repos/erlang/rebar3/labels/beginner","name":"beginner","color":"c5def5","default":false},{"id":388722324,"node_id":"MDU6TGFiZWwzODg3MjIzMjQ=","url":"https://api.github.com/repos/erlang/rebar3/labels/minor%20bug","name":"minor bug","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-06-08T08:40:51Z","updated_at":"2018-06-16T14:10:00Z","closed_at":"2018-06-08T18:46:01Z","author_association":"NONE","body":"### Pre-Check ###\r\n\r\n- If you are filing for a bug, please do a quick search in current issues first\r\n- For bugs, mention if you are willing or interested in helping fix the issue\r\n- For questions or support, it helps to include context around your project or problem\r\n- Think of a descriptive title (more descriptive than 'feature X is broken' unless it is fully broken)\r\n\r\n### Environment ###\r\n\r\n- Add the result of `rebar3 report` to your message:\r\n\r\n```\r\n$ rebar3 report \"my failing command\"\r\n...\r\nRebar3 report\r\n version 3.5.3\r\n generated at 2018-06-08T08:22:20+00:00\r\n=================\r\nPlease submit this along with your issue at https://github.com/erlang/rebar3/issues (and feel free to edit out private information, if any)\r\n-----------------\r\nTask:\r\nEntered as:\r\n\r\n-----------------\r\nOperating System: mipsel-openwrt-linux-gnu\r\nERTS: Erlang/OTP 20 [erts-9.3] [source] [async-threads:1] [kernel-poll:false]\r\nRoot Directory: /usr/lib/erlang\r\nLibrary directory: /usr/lib/erlang/lib\r\n-----------------\r\nLoaded Applications:\r\nbbmustache: 1.3.0\r\ncertifi: 2.0.0\r\ncf: 0.2.2\r\ncompiler: 7.1.5\r\ncrypto: 4.2.1\r\ncth_readable: 1.4.0\r\nerlware_commons: 1.1.0\r\neunit: 2.3.5\r\neunit_formatters: 0.5.0\r\ngetopt: 1.0.1\r\nhipe: 3.17.1\r\ninets: 6.5\r\nkernel: 5.4.3\r\nproviders: 1.7.0\r\npublic_key: 1.5.2\r\nrelx: 3.24.4\r\nsasl: 3.1.1\r\nsnmp: 5.2.10\r\nssl_verify_fun: 1.1.3\r\nstdlib: 3.4.4\r\nsyntax_tools: 2.1.4\r\n\r\n-----------------\r\nEscript path: /mnt/sdc1/lorawan-server-0.4.13/rebar3\r\nProviders:\r\n  app_discovery as clean compile compile cover ct deps dialyzer do edoc escriptize eunit get-deps help install install_deps list lock new path pkgs release relup report shell state tar tree unlock update upgrade upgrade upgrade version xref\r\n```\r\n\r\n- Verify whether the version of rebar3 you're running is the latest release (see https://github.com/erlang/rebar3/releases)\r\n- If possible, include information about your project and its structure. Open source projects or examples are always easier to debug.\r\n  If you can provide an example code base to reproduce the issue on, we will generally be able to provide more help, and faster.\r\n\r\n### Current behaviour ###\r\n\r\nDescribe the current behaviour. In case of a failure, crash, or exception, please include the result of running the command with debug information:\r\n\r\n```\r\nHi\r\nI have troubled with compile error of lorawan-server-0.4.13  (https://github.com/gotthardp/lorawan-server).\r\nI got following crashdump but i cannot find what is problem.\r\nPark.\r\n...\r\nError: badarg\r\n[{re,run,\r\n     [{error,bad_name},\"^.*-(?<VER>[^/-]*)$\",[{capture,[1],list},unicode]],\r\n     [{file,\"re.erl\"},{line,694}]},\r\n {rebar_env,re_version,1,\r\n            [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_env.erl\"},\r\n             {line,69}]},\r\n {rebar_env,create_env,2,\r\n            [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_env.erl\"},\r\n             {line,54}]},\r\n {rebar_hooks,run_hooks,5,\r\n              [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_hooks.erl\"},\r\n               {line,74}]},\r\n {rebar_hooks,run_all_hooks,6,\r\n              [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_hooks.erl\"},\r\n               {line,17}]},\r\n {rebar_prv_compile,compile,3,\r\n                    [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_prv_compile.erl\"},\r\n                     {line,136}]},\r\n {rebar_prv_compile,'-copy_and_build_project_apps/3-lc$^2/1-2-',3,\r\n                    [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_prv_compile.erl\"},\r\n                     {line,99}]},\r\n {rebar_prv_compile,do,1,\r\n                    [{file,\"/home/tristan/Devel/rebar3/_build/prod/lib/rebar/src/rebar_prv_compile.erl\"},\r\n                     {line,54}]}]\r\n\r\n```\r\n\r\n### Expected behaviour ###\r\n\r\nDescribe what you expected to happen.\r\n"},"comment":{"url":"https://api.github.com/repos/erlang/rebar3/issues/comments/397814571","html_url":"https://github.com/erlang/rebar3/issues/1808#issuecomment-397814571","issue_url":"https://api.github.com/repos/erlang/rebar3/issues/1808","id":397814571,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgxNDU3MQ==","user":{"login":"garazdawi","id":111762,"node_id":"MDQ6VXNlcjExMTc2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/111762?v=4","gravatar_id":"","url":"https://api.github.com/users/garazdawi","html_url":"https://github.com/garazdawi","followers_url":"https://api.github.com/users/garazdawi/followers","following_url":"https://api.github.com/users/garazdawi/following{/other_user}","gists_url":"https://api.github.com/users/garazdawi/gists{/gist_id}","starred_url":"https://api.github.com/users/garazdawi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garazdawi/subscriptions","organizations_url":"https://api.github.com/users/garazdawi/orgs","repos_url":"https://api.github.com/users/garazdawi/repos","events_url":"https://api.github.com/users/garazdawi/events{/privacy}","received_events_url":"https://api.github.com/users/garazdawi/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T14:10:00Z","updated_at":"2018-06-16T14:10:00Z","author_association":"NONE","body":"Run `strip` on beam.smp and it will get a lot smaller."}}
{"actor":{"display_login":"garazdawi"}}