Skip to content

Error on "C-c C-l" #784

Closed
Closed
@budsbenzer

Description

@budsbenzer

Hello,

I seem to have the same issue as reported in this issue. However, I am willing to help you debug it. ;)

I am using haskell-mode version 20150727.354 from ELPA, on GNU Emacs 24.5.1.

Whenever I try to launch a new Haskell session via C-c C-l, I get the message haskell-utils-read-directory-name: Wrong type argument: arrayp, nil. On following invocations of C-c C-l, the message is haskell-session-current-dir: No current directory.

The backtrace for the first invocation of C-c C-l:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  haskell-utils-read-directory-name("Cabal dir: " nil)
  haskell-cabal-get-dir()
  haskell-session-cabal-dir(((name . "haskell") (process (name . "haskell") (is-restarting) (current-command) (suggested-imported) (sent-stdin) (evaluating) (session (name . "haskell") #1))))
  haskell-process-start(((name . "haskell") (process (name . "haskell") (is-restarting) (current-command) (suggested-imported) (sent-stdin) (evaluating) (session (name . "haskell") #1))))
  haskell-session-make("haskell")
  haskell-session-new-assume-from-cabal()
  haskell-session()
  haskell-process-load-file()
  haskell-process-load-or-reload(nil)
  #<subr call-interactively>(haskell-process-load-or-reload nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> haskell-process-load-or-reload nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (haskell-process-load-or-reload nil nil))
  call-interactively(haskell-process-load-or-reload nil nil)
  command-execute(haskell-process-load-or-reload)

If you need more information, please tell me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions