Re: [code] too many C levels error

From: Mitchell <m.att.foicica.com>
Date: Wed, 2 Apr 2014 17:03:18 -0400 (EDT)

Hi,

On Wed, 2 Apr 2014, tastyminerals wrote:

> I've tried to copy my windows init.lua over linux one and start getting this
> error
> "/home/me/.textadept/init.lua:4: too many C levels (limit is 200) in main
> function near ''/modules/?.lua''
> Even if I remove all the funky stuff and leave absolutely necessary custom
> keybinds I still keep getting this error.
> Help anybody?

You have a line that calls "dofile()" on your ~/.textadept/init.lua from
within your ~/.textadept/init.lua, hence a recursion stack overflow.

Textadept calls ~/.textadept/init.lua on startup automatically. You don't
need to tell it to do so.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 02 Apr 2014 - 17:03:18 EDT

This archive was generated by hypermail 2.2.0 : Thu 03 Apr 2014 - 06:34:29 EDT