Skip to content

No such namespace: complete.core in lumo REPL #83

Closed
@arichiardi

Description

@arichiardi

This happens if the very first operation in the REPL is a completion.
The error:

cljs.user=>              ⬆
WARNING: No such namespace: complete.core, could not locate complete/core.cljs, complete/core.cljc, or Closure namespace "" at line 1 
             ⬆
WARNING: Use of undeclared Var complete.core/completions at line 1 
complete is not defined
	 (evalmachine.<anonymous>:1:1)
	 ContextifyScript.Script.runInThisContext (vm.cljs:44:33)
	 Object.runInThisContext (vm.cljs:116:38)
	 (Object.lumoEval)
	 lumo.repl.caching_node_eval (NO_SOURCE_FILE <embedded>:6133:194)
	 (NO_SOURCE_FILE <embedded>:5372:29)
	 x (NO_SOURCE_FILE <embedded>:5373:13)
	 Object.cljs.js.eval_str_STAR_ (NO_SOURCE_FILE <embedded>:5374:28)
	 Function.cljs.js.eval_str.cljs$core$IFn$_invoke$arity$5 (NO_SOURCE_FILE <embedded>:5377:508)
	 Object.lumo.repl.execute_text (NO_SOURCE_FILE <embedded>:6265:240)

cljs.user=> (redu)

It seems related to the fact that inf-clojure-repl-type has not yet been set.

Expected behavior

It should show completions for (redu.

Actual behavior

It prints out a warning and an error.

Steps to reproduce the problem

Trigger inf-clojure with lumo -d. In the REPL terminal start typing (redu.

This is extremely important! Providing us with a reliable way to reproduce
a problem will expedite its solution.

Environment & Version information

Lumo 1.5.0
ClojureScript 1.9.562
Node.js v8.1.0

inf-clojure version information

master

Emacs version

24.5.1

Operating system

Linux EP-LL-10020 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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