assertion failed!

Could anyone tell me what this is indicating, please?

Runtime error
assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’

I’m trying to work out what the ‘assertion’ its referring to could be - as in, what type of code construct would cause this type of error. I don’t think it would be a reference to a nil object, but wat could it be?

I would post some code, but I have really no idea where its happening and I think a sample would only confuse the issue. What I need is to know the types of bug which would throw this exception.

Thanks,

Matt. [import]uid: 8271 topic_id: 4195 reply_id: 304195[/import]

Ok, well, in usual me style, I’ve solved this one in under 2 minutes after posting. I was trying to load an image and assign it to a variable. The image was not found (I was indexing [0] on a table!) and of course the direct assignment (known as assertion) was failing.

Ulp.

Matt. [import]uid: 8271 topic_id: 4195 reply_id: 13016[/import]