halgari/clojure-py — Issue #27: Clojurepy REPL bombs out after latest update
Author: eigenhombre
Created: 2012-02-22 04:17:30+00:00
State: open

(django-pydev-venv)mac 10:14:39 (master) > clojurepy
Traceback (most recent call last):
File "/Users/jacobsen/django-pydev-venv/bin/clojurepy", line 9, in
load_entry_point('clojure-py==0.0.0', 'console_scripts', 'clojurepy')()
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/clojure.py", line 71, in main
requireClj(os.path.dirname(__file__) + "/clj/clojure/core.clj")
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/clojure.py", line 48, in requireClj
res = comp.compile(s)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 948, in compile
c.extend(self.compileForm(itm))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 849, in compileForm
return builtins[form.first()](self, form)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 60, in compileDef
code.extend(comp.compile(value))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 948, in compile
c.extend(self.compileForm(itm))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 849, in compileForm
return builtins[form.first()](self, form)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 474, in compileFNStar
code = compileFn(comp, name, form, orgform)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 331, in compileFn
c = new.function(c.to_code(), comp.ns.__dict__, name.name)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/util/byteplay.py", line 654, in to_code
co_stacksize = self._compute_stacksize()
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/util/byteplay.py", line 647, in _compute_stacksize
open_positions.extend(get_next_stacks(pos, curstack))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/util/byteplay.py", line 542, in get_next_stacks
yield pos+1, newstack(push - pop)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/util/byteplay.py", line 504, in newstack
raise ValueError, "Popped a non-existing element"
ValueError: Popped a non-existing element
(django-pydev-venv)mac 10:16:44 (master) >