{"action":"created","issue":{"url":"https://api.github.com/repos/leksah/leksah/issues/137","repository_url":"https://api.github.com/repos/leksah/leksah","labels_url":"https://api.github.com/repos/leksah/leksah/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/leksah/leksah/issues/137/comments","events_url":"https://api.github.com/repos/leksah/leksah/issues/137/events","html_url":"https://github.com/leksah/leksah/issues/137","id":96769669,"number":137,"title":"Leksah crashes when trying to add a package to a sandbox","user":{"login":"dhobbs","id":367375,"avatar_url":"https://avatars.githubusercontent.com/u/367375?v=3","gravatar_id":"","url":"https://api.github.com/users/dhobbs","html_url":"https://github.com/dhobbs","followers_url":"https://api.github.com/users/dhobbs/followers","following_url":"https://api.github.com/users/dhobbs/following{/other_user}","gists_url":"https://api.github.com/users/dhobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/dhobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhobbs/subscriptions","organizations_url":"https://api.github.com/users/dhobbs/orgs","repos_url":"https://api.github.com/users/dhobbs/repos","events_url":"https://api.github.com/users/dhobbs/events{/privacy}","received_events_url":"https://api.github.com/users/dhobbs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/leksah/leksah/labels/type:crash","name":"type:crash","color":"c5def5"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-07-23T09:22:32Z","updated_at":"2016-09-05T00:14:06Z","closed_at":"2016-09-05T00:14:06Z","body":"Steps:\r\n* Launch leksah\r\n* Click 'Sandbox Init'\r\n* Select default workspace\r\n* Click 'Add package'\r\n* Select project .cabal file\r\n* Crash\r\n\r\n```\r\n$ which ghc\r\n/Users/darren/.stack/programs/x86_64-osx/ghc-7.8.4/bin/ghc\r\n```\r\n\r\nOutput:\r\n```\r\n$ ~/Applications/Leksah.app/Contents/MacOS/Leksah --verbosity=DEBUG\r\n2015-07-23 10:14:18.037 defaults[75186:2057028]\r\nThe domain/default pair of (.GlobalPreferences, AppleCollationOrder) does not exist\r\n/Users/darren/Applications/Leksah.app/Contents/MacOS/Leksah: line 99: test: argument expected\r\nUsing default Yi configuration\r\nLinked with -threaded\r\n--verbosity=DEBUG\r\nstarting mainGUI\r\nstartMainWindow\r\nReading keymap from /Users/darren/Applications/Leksah.app/Contents/Resources/share/leksah/data/keymap.lkshk\r\n\r\n(leksah:75149): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.\r\n\r\n(leksah:75149): GLib-GObject-WARNING **: The property GtkToolButton:stock-id is deprecated and shouldn't be used anymore. It will be removed in a future version.\r\nregisterLeksahEvents\r\nrecoverSession\r\nrecoverSession calling populate\r\nupdateWorkspace\r\nrecoverSession calling setCurrentPages\r\nrecoverSession setting up toolbars\r\nrecoverSession done\r\nShow main window\r\nNow updating system metadata ...\r\ncallCollector\r\nQueue new command SystemCommand {scRebuild = False, scSources = True, scExtract = True}\r\nReady for command\r\n***server start\r\nargs: [\"--server=11111\",\"--verbosity=DEBUG\"]\r\nprefs Prefs {sourceDirectories = [], unpackDirectory = Just \"~/.leksah-0.15/packageSources\", retrieveURL = \"http://www.leksah.org\", retrieveStrategy = RetrieveThenBuild, serverPort = 11111, endWithLastConn = True}\r\nBind 127.0.0.1:11111\r\nSending server command SystemCommand {scRebuild = False, scSources = True, scExtract = True}\r\nWaiting on server command SystemCommand {scRebuild = False, scSources = True, scExtract = True}\r\n***wait\r\ncollectSystem knownPackages= fromList []\r\ninGhcIO called with: []\r\nStart: (\"ghc\",[\"--print-libdir\"])\r\nsendErrors Just (ToolOutput \"/Users/darren/.stack/programs/x86_64-osx/ghc-7.8.4/lib/ghc-7.8.4\")\r\nsendErrors Nothing\r\nEnd: (\"ghc\",[\"--print-libdir\"])\r\n***wait\r\nServer result ServerFailed \"Can't parse \\\"/Users/darren/.stack/programs/x86_64-osx/ghc-7.8.4/lib/ghc-7.8.4/platformConstants\\\"\"\r\nReady for command\r\nCan't parse \"/Users/darren/.stack/programs/x86_64-osx/ghc-7.8.4/lib/ghc-7.8.4/platformConstants\"\r\nFinished updating system metadata\r\nNow loading metadata ...\r\nStart: (\"ghc-pkg\",[\"list\",\"--simple-output\"])\r\nsendErrors Just (ToolOutput \"Cabal-1.18.1.5 HTTP-4000.2.19 MonadRandom-0.3.0.2 StateVar-1.1.0.0 aeson-0.8.0.2 ansi-terminal-0.6.2.1 array-0.5.0.0 async-2.0.2 attoparsec-0.12.1.6 base-4.7.0.2 bifunctors-4.2.1 bin-package-db-0.0.0.0 binary-0.7.1.0 bytestring-0.10.4.0 cmdargs-0.10.13 comonad-4.2.6 conduit-1.2.4.2 containers-0.5.5.1 contravariant-1.3.1.1 cpphs-1.19 data-default-0.5.3 data-default-class-0.0.1 data-default-instances-base-0.0.1 data-default-instances-containers-0.0.1 data-default-instances-dlist-0.0.1 data-default-instances-old-locale-0.0.1 deepseq-1.3.0.2 directory-1.2.1.0 distributive-0.4.4 djinn-ghc-0.0.2.3 djinn-lib-0.0.1.2 dlist-0.7.1.1 either-4.3.4.1 enclosed-exceptions-1.0.1.1 exceptions-0.8.0.2 extra-1.1 filepath-1.3.0.2 free-4.11 ghc-7.8.4 ghc-mod-5.2.1.2 ghc-paths-0.1.0.9 ghc-prim-0.3.1.0 ghc-syb-utils-0.2.3 hashable-1.2.3.2 haskeline-0.7.1.2 haskell-src-exts-1.16.0.1 haskell2010-1.1.2.0 haskell98-2.0.0.3 hlint-1.9.21 hoopl-3.10.0.1 hpc-0.6.0.1 hscolour-1.22 integer-gmp-0.5.1.0 io-choice-0.0.5 lifted-base-0.2.3.6 mmorph-1.0.4 monad-control-1.0.0.4 monad-journal-0.7.1 mtl-2.1.3.1 nats-1 network-2.6.2.0 network-uri-2.6.0.3 old-locale-1.0.0.6 old-time-1.1.0.2 parsec-3.1.9 polyparse-1.11 prelude-extras-0.4 pretty-1.1.1.1 primitive-0.6 process-1.2.0.0 profunctors-4.4.1 random-1.1 resourcet-1.1.5 rts-1.0 scientific-0.3.3.8 semigroupoids-4.3 semigroups-0.16.2.2 split-0.2.2 stm-2.4.4 strict-0.3.2 stylish-haskell-0.5.14.0 syb-0.4.4 tagged-0.7.3 template-haskell-2.9.0.0 temporary-1.2.0.3 terminfo-0.4.0.0 text-1.2.0.6 time-1.4.2 transformers-0.3.0.0 transformers-base-0.4.4 transformers-compat-0.4.0.3 uniplate-1.6.12 unix-2.7.0.1 unordered-containers-0.2.5.1 vector-0.10.12.3 void-0.7 xhtml-3000.2.1 yaml-0.8.11 zlib-0.5.4.2\")\r\nsendErrors Nothing\r\nEnd: (\"ghc-pkg\",[\"list\",\"--simple-output\"])\r\npackageInfo not found for Cabal-1.18.1.5\r\npackageInfo not found for HTTP-4000.2.19\r\npackageInfo not found for MonadRandom-0.3.0.2\r\npackageInfo not found for StateVar-1.1.0.0\r\npackageInfo not found for aeson-0.8.0.2\r\npackageInfo not found for ansi-terminal-0.6.2.1\r\npackageInfo not found for array-0.5.0.0\r\npackageInfo not found for async-2.0.2\r\npackageInfo not found for attoparsec-0.12.1.6\r\npackageInfo not found for base-4.7.0.2\r\npackageInfo not found for bifunctors-4.2.1\r\npackageInfo not found for bin-package-db-0.0.0.0\r\npackageInfo not found for binary-0.7.1.0\r\npackageInfo not found for bytestring-0.10.4.0\r\npackageInfo not found for cmdargs-0.10.13\r\npackageInfo not found for comonad-4.2.6\r\npackageInfo not found for conduit-1.2.4.2\r\npackageInfo not found for containers-0.5.5.1\r\npackageInfo not found for contravariant-1.3.1.1\r\npackageInfo not found for cpphs-1.19\r\npackageInfo not found for data-default-0.5.3\r\npackageInfo not found for data-default-class-0.0.1\r\npackageInfo not found for data-default-instances-base-0.0.1\r\npackageInfo not found for data-default-instances-containers-0.0.1\r\npackageInfo not found for data-default-instances-dlist-0.0.1\r\npackageInfo not found for data-default-instances-old-locale-0.0.1\r\npackageInfo not found for deepseq-1.3.0.2\r\npackageInfo not found for directory-1.2.1.0\r\npackageInfo not found for distributive-0.4.4\r\npackageInfo not found for djinn-ghc-0.0.2.3\r\npackageInfo not found for djinn-lib-0.0.1.2\r\npackageInfo not found for dlist-0.7.1.1\r\npackageInfo not found for either-4.3.4.1\r\npackageInfo not found for enclosed-exceptions-1.0.1.1\r\npackageInfo not found for exceptions-0.8.0.2\r\npackageInfo not found for extra-1.1\r\npackageInfo not found for filepath-1.3.0.2\r\npackageInfo not found for free-4.11\r\npackageInfo not found for ghc-7.8.4\r\npackageInfo not found for ghc-mod-5.2.1.2\r\npackageInfo not found for ghc-paths-0.1.0.9\r\npackageInfo not found for ghc-prim-0.3.1.0\r\npackageInfo not found for ghc-syb-utils-0.2.3\r\npackageInfo not found for hashable-1.2.3.2\r\npackageInfo not found for haskeline-0.7.1.2\r\npackageInfo not found for haskell-src-exts-1.16.0.1\r\npackageInfo not found for haskell2010-1.1.2.0\r\npackageInfo not found for haskell98-2.0.0.3\r\npackageInfo not found for hlint-1.9.21\r\npackageInfo not found for hoopl-3.10.0.1\r\npackageInfo not found for hpc-0.6.0.1\r\npackageInfo not found for hscolour-1.22\r\npackageInfo not found for integer-gmp-0.5.1.0\r\npackageInfo not found for io-choice-0.0.5\r\npackageInfo not found for lifted-base-0.2.3.6\r\npackageInfo not found for mmorph-1.0.4\r\npackageInfo not found for monad-control-1.0.0.4\r\npackageInfo not found for monad-journal-0.7.1\r\npackageInfo not found for mtl-2.1.3.1\r\npackageInfo not found for nats-1\r\npackageInfo not found for network-2.6.2.0\r\npackageInfo not found for network-uri-2.6.0.3\r\npackageInfo not found for old-locale-1.0.0.6\r\npackageInfo not found for old-time-1.1.0.2\r\npackageInfo not found for parsec-3.1.9\r\npackageInfo not found for polyparse-1.11\r\npackageInfo not found for prelude-extras-0.4\r\npackageInfo not found for pretty-1.1.1.1\r\npackageInfo not found for primitive-0.6\r\npackageInfo not found for process-1.2.0.0\r\npackageInfo not found for profunctors-4.4.1\r\npackageInfo not found for random-1.1\r\npackageInfo not found for resourcet-1.1.5\r\npackageInfo not found for rts-1.0\r\npackageInfo not found for scientific-0.3.3.8\r\npackageInfo not found for semigroupoids-4.3\r\npackageInfo not found for semigroups-0.16.2.2\r\npackageInfo not found for split-0.2.2\r\npackageInfo not found for stm-2.4.4\r\npackageInfo not found for strict-0.3.2\r\npackageInfo not found for stylish-haskell-0.5.14.0\r\npackageInfo not found for syb-0.4.4\r\npackageInfo not found for tagged-0.7.3\r\npackageInfo not found for template-haskell-2.9.0.0\r\npackageInfo not found for temporary-1.2.0.3\r\npackageInfo not found for terminfo-0.4.0.0\r\npackageInfo not found for text-1.2.0.6\r\npackageInfo not found for time-1.4.2\r\npackageInfo not found for transformers-0.3.0.0\r\npackageInfo not found for transformers-base-0.4.4\r\npackageInfo not found for transformers-compat-0.4.0.3\r\npackageInfo not found for uniplate-1.6.12\r\npackageInfo not found for unix-2.7.0.1\r\npackageInfo not found for unordered-containers-0.2.5.1\r\npackageInfo not found for vector-0.10.12.3\r\npackageInfo not found for void-0.7\r\npackageInfo not found for xhtml-3000.2.1\r\npackageInfo not found for yaml-0.8.11\r\npackageInfo not found for zlib-0.5.4.2\r\nFinished loading metadata\r\nupdateWorkspaceInfo' no workspace\r\n>>>Info Changed!!! True\r\nsetScope\r\nselectScope\r\nrecordExpanderState\r\ngetExpandedRows\r\ngetExpandedRows\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillModulesList\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nselectIdentifier\r\nrecordScopeHistory\r\ngetScope\r\napplyExpanderState\r\ngetScope\r\nfillModulesList\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nselectIdentifier\r\napplyExpanderState\r\ngetScope\r\nNow updating workspace metadata ...\r\nFinished updating workspace metadata\r\nworkspaceOpenThis True /Users/darren/leksah.lkshw\r\nworkspaceClose\r\nreadWorkspace\r\nsetWorkspace\r\nactivatePackage\r\nupdate workspace info called\r\n>>>Info Changed!!! False\r\ngetSelectionTree\r\ngetSelectionDescr\r\ngetScope\r\nrecordExpanderState\r\ngetExpandedRows\r\ngetExpandedRows\r\nfillModulesList\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets\r\ngetSelectionTree\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillInfo\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\nfillFacets done\r\nselectIdentifier\r\ngetSelectionTree\r\ngetSelectionDescr\r\napplyExpanderState\r\ngetScope\r\nselectIdentifier\r\nonWorkspaceOpen\r\nupdateWorkspace\r\nNow updating workspace metadata ...\r\nFinished updating workspace metadata\r\n\r\n(leksah:75149): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.\r\n\r\n(leksah:75149): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.\r\nleksah: cabal: createProcess: runInteractiveProcess: exec: does not exist (No such file or directory)\r\nleksah: thread blocked indefinitely in an MVar operation\r\n***lost connection\r\n***lost last connection - exiting\r\n***lost leksah-server: ExitSuccess\r\nlast connection - waiting\r\nExitSuccess\r\n```"},"comment":{"url":"https://api.github.com/repos/leksah/leksah/issues/comments/244636776","html_url":"https://github.com/leksah/leksah/issues/137#issuecomment-244636776","issue_url":"https://api.github.com/repos/leksah/leksah/issues/137","id":244636776,"user":{"login":"jaccokrijnen","id":4022046,"avatar_url":"https://avatars.githubusercontent.com/u/4022046?v=3","gravatar_id":"","url":"https://api.github.com/users/jaccokrijnen","html_url":"https://github.com/jaccokrijnen","followers_url":"https://api.github.com/users/jaccokrijnen/followers","following_url":"https://api.github.com/users/jaccokrijnen/following{/other_user}","gists_url":"https://api.github.com/users/jaccokrijnen/gists{/gist_id}","starred_url":"https://api.github.com/users/jaccokrijnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaccokrijnen/subscriptions","organizations_url":"https://api.github.com/users/jaccokrijnen/orgs","repos_url":"https://api.github.com/users/jaccokrijnen/repos","events_url":"https://api.github.com/users/jaccokrijnen/events{/privacy}","received_events_url":"https://api.github.com/users/jaccokrijnen/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T00:14:06Z","updated_at":"2016-09-05T00:14:06Z","body":"Leksah should explain that it can't find `cabal` or any required tools to the user (I've created #378 )"}}
{"actor":{"display_login":"jaccokrijnen"}}