[pypy-dev] Help (v.concretetype is NOT lltype.Void)

Armin Rigo arigo at tunes.org
Wed Aug 8 23:15:36 CEST 2012


Hi Léonard,

On Wed, Aug 8, 2012 at 9:52 PM, Léonard de Haro <leonard.de.haro at ens.fr> wrote:
> "assert v.concretetype is lltype.Void"
> Assertion Error

After a bit of debugging, I found out that this is caused by the two
variable "funMap" and "env" which are both known statically to be the
EMPTY_MAP_ENV instance.  It's a bug in PyPy that it causes such an
obscure crash.  It's also very likely to be a bug in your program,
though.  You would have found it immediately if you had tests (or less
immediately if the translation finished and the program gave
nonsense).  If you really don't want to write tests, you should at
least try to run the program directly on some reasonable examples
before you try to translate it.


A bientôt,

Armin.


More information about the pypy-dev mailing list