Issue 336 in xmonad: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_)

Status: New Owner: ---- New issue 336 by flazzarino: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 What steps will reproduce the problem? 1. last line of ~/.xinitrc: exec /Users/franco/.cabal/bin/xmonad What is the expected output? What do you see instead? I expect to have xmonad launch but i get this error in console 11/13/09 2:36:51 PM org.x.startx[7572] xmonad-i386-darwin: XMonad/Main.hsc:(82,14)-(84,41): Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) What version of the product are you using? On what operating system? xmonad 0.9 (installed via cabal) ghc-version (6.10.4) installed via the package OSX 10.6.2 (Snow Leopard) Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". import XMonad main = xmonad defaultConfig #no output Please provide any additional information below. on a mailing list i've seen hints that X cannot support the colors gray and red but i'm using a very stock snow leopard X11, only fullscreen is turned on -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Updates: Status: Accepted Labels: Type-Defect Priority-Critical Comment #1 on issue 336 by byorgey: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 (No comment was entered for this change.) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #2 on issue 336 by daniel.wagner: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 What colors are safe for you? Here's some Haskell to try in ghci, once you've started X with some other window manager. :m + Graphics.X11.Xlib XMonad.Operations dpy <- openDisplay "" mapM (initColor dpy) ["red", "gray", "blue", "black", "white", "#000000", "#ffffff"] Feel free to put any other colors you think might work in that list on the third line. The ones that correspond to "Just" values (rather than "Nothing" values) are safe. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #3 on issue 336 by flazzarino: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 I think we are making progress! Prelude> :m + Graphics.X11.Xlib XMonad.Operations Prelude Graphics.X11.Xlib XMonad.Operations> dpy <- openDisplay "" Loading package syb ... linking ... done. Loading package X11-1.4.6.1 ... can't load .so/.DLL for: X11 (dlopen(libX11.dylib, 9): image not found) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Updates: Labels: -Priority-Critical Priority-Medium Comment #4 on issue 336 by SpencerJanssen: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 From some testing on http://hpaste.org/fastcgi/hpaste.fcgi/view?id=12122#a12127 , it seems that XDefaultColormap is returning garbage (18022232529829921, rather than 32 on most systems). Perhaps GHC is miscompiling the X11 bindings, or the user's libX11 is busted? Unless some OS X testers can reproduce this, I can only assume this is a problem specific to this user's set up. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #5 on issue 336 by pepeibo...@gmail.com: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 I can reproduce this problem on a clean Snow Leopard installation. Installed GHC 6.10.4, then the Haskell platform and then "cabal install xmonad". This is the output of "cabal install xmonad" pepe:~/.cabal/packages/hackage.haskell.org/xmonad/0.9/xmonad-0.9$ cabal install Resolving dependencies... Configuring xmonad-0.9... Preprocessing library xmonad-0.9... ld: warning: in /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/libgmp.a, file is not of required architecture Preprocessing executables for xmonad-0.9... ld: warning: in /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/libgmp.a, file is not of required architecture Building xmonad-0.9... [1 of 8] Compiling XMonad.StackSet ( XMonad/StackSet.hs, dist/build/XMonad/StackSet.o ) [2 of 8] Compiling XMonad.Core ( XMonad/Core.hs, dist/build/XMonad/Core.o ) [3 of 8] Compiling XMonad.Layout ( XMonad/Layout.hs, dist/build/XMonad/Layout.o ) [4 of 8] Compiling XMonad.Operations ( XMonad/Operations.hs, dist/build/XMonad/Operations.o ) [5 of 8] Compiling XMonad.ManageHook ( XMonad/ManageHook.hs, dist/build/XMonad/ManageHook.o ) [6 of 8] Compiling XMonad.Config ( XMonad/Config.hs, dist/build/XMonad/Config.o ) [7 of 8] Compiling XMonad.Main ( dist/build/XMonad/Main.hs, dist/build/XMonad/Main.o ) [8 of 8] Compiling XMonad ( XMonad.hs, dist/build/XMonad.o ) ar: creating archive dist/build/libHSxmonad-0.9.a [ 1 of 10] Compiling Paths_xmonad ( dist/build/autogen/Paths_xmonad.hs, dist/build/xmonad/xmonad- tmp/Paths_xmonad.o ) [ 2 of 10] Compiling XMonad.StackSet ( XMonad/StackSet.hs, dist/build/xmonad/xmonad- tmp/XMonad/StackSet.o ) [ 3 of 10] Compiling XMonad.Core ( XMonad/Core.hs, dist/build/xmonad/xmonad-tmp/XMonad/Core.o ) [ 4 of 10] Compiling XMonad.Layout ( XMonad/Layout.hs, dist/build/xmonad/xmonad- tmp/XMonad/Layout.o ) [ 5 of 10] Compiling XMonad.Operations ( XMonad/Operations.hs, dist/build/xmonad/xmonad- tmp/XMonad/Operations.o ) [ 6 of 10] Compiling XMonad.ManageHook ( XMonad/ManageHook.hs, dist/build/xmonad/xmonad- tmp/XMonad/ManageHook.o ) [ 7 of 10] Compiling XMonad.Config ( XMonad/Config.hs, dist/build/xmonad/xmonad- tmp/XMonad/Config.o ) [ 8 of 10] Compiling XMonad.Main ( dist/build/xmonad/xmonad-tmp/XMonad/Main.hs, dist/build/xmonad/xmonad-tmp/XMonad/Main.o ) [ 9 of 10] Compiling XMonad ( XMonad.hs, dist/build/xmonad/xmonad-tmp/XMonad.o ) [10 of 10] Compiling Main ( Main.hs, dist/build/xmonad/xmonad-tmp/Main.o ) Linking dist/build/xmonad/xmonad ... Preprocessing library xmonad-0.9... Preprocessing executables for xmonad-0.9... Running Haddock for xmonad-0.9... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Warning: XMonad.Core: could not find link destinations for: XMonad.Layout.NextNoWrap Warning: XMonad.Config: could not find link destinations for: XMonad.Config.defaultConfig Documentation created: dist/doc/html/xmonad/index.html Installing library in /Users/pepe/.cabal/lib/xmonad-0.9/ghc-6.10.4 Installing executable(s) in /Users/pepe/.cabal/bin Registering xmonad-0.9... Reading package info from "dist/installed-pkg-config" ... done. Writing new package config file... done. Then this is the output of "xmonad" pepe:~$ xmonad /Users/pepe/.xmonad/xmonad-i386-darwin: executeFile: does not exist (No such file or directory) xmonad: XMonad/Main.hsc:(82,14)-(84,41): Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) And then this is the output of "xmonad --recompile" pepe:~$ xmonad --recompile xmonad: /Users/pepe/.xmonad/xmonad.errors: openFile: does not exist (No such file or directory) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #6 on issue 336 by aconbere: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 I just ran a bunch of updates after installing snow leopard yesterday morning. After getting xmonad working initially it is now displaying this behavior -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #7 on issue 336 by brapse: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 I have the exact same issue as aconbere.

Comment #8 on issue 336 by sonomute: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 same problem here,trying to install following this guide...http://www.lanternthree.com/blog/index.php/2010/03/05/minimalist-x-window-ma... on-apple-os-x-snow-leopard-10-6/

Comment #9 on issue 336 by rwsims: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 FYI, I get this error on 10.5.8, xmonad 0.9.1 from cabal; so it doesn't seem to be limited to Snow Leopard. I tried copying over the xmonad binary from ~/.cabal/bin, but didn't seem to help.

Comment #10 on issue 336 by soeren.roerden: xmonad won't start: Irrefutable pattern failed for pattern (Data.Maybe.Just nbc_) http://code.google.com/p/xmonad/issues/detail?id=336 I also get this exact same error with ghc 6.12.1, X11 1.5.0, xmonad 0.9.1 and snow leopard 10.6.4. I also tried to install via cabal.
participants (1)
-
codesite-noreply@google.com