Re: [code] [textadept] Textadept 7.0

From: Rena <hyperhacker.att.gmail.com>
Date: Mon, 4 Nov 2013 23:16:44 -0500

On Mon, Nov 4, 2013 at 9:18 PM, Mitchell <m.att.foicica.com> wrote:

> Hi,
>
>
> On Mon, 4 Nov 2013, Rena wrote:
>
> Linux x86-64 build doesn't work for me. Freshly unpacked, throws errors:
>> $ ./textadept
>> /home/rena/.textadept/modules/textadept/editing.lua:110: attempt to call
>> method 'get_lexer' (a nil
>> value)/home/rena/.textadept/modules/textadept/file_types.lua:116: attempt
>> to call method 'set_lexer' (a nil
>> value)/home/rena/.textadept/modules/textadept/menu.lua:366: attempt to
>> call
>> method 'get_lexer' (a nil
>> value)/home/rena/.textadept/modules/textadept/file_types.lua:112: attempt
>> to call method 'set_lexer' (a nil value)
>>
>> also displays an error message: /home/rena/.textadept/init.lua:10: too
>> many
>> C levels (limit is 200) in main function near 'package'
>>
>
> The source of your error appears to be coming from your init.lua on line
> 10. If you'd like help debugging it, feel free to post it here or reply to
> me off-list.
>
> 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.
>
>
It's the default init.lua (like I said, freshly unpacked); line 10 doesn't
even contain any function calls.

-- Copyright 2007-2013 Mitchell mitchell.att.foicica.com. See LICENSE.

package.path = table.concat({
  _USERHOME..'/?.lua',
  _USERHOME..'/modules/?.lua', _USERHOME..'/modules/?/init.lua',
  _HOME..'/modules/?.lua', _HOME..'/modules/?/init.lua',
  package.path
}, ';');
local so = not WIN32 and '/?.so;' or '/?.dll;'
package.cpath = _USERHOME..so.._USERHOME..'/modules'..so..package.cpath

textadept = require('textadept')
local user_init = _USERHOME..'/init.lua'
if lfs.attributes(user_init) then dofile(user_init) end

-- 
Sent from my Game Boy.
-- 
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 Mon 04 Nov 2013 - 23:16:44 EST

This archive was generated by hypermail 2.2.0 : Tue 05 Nov 2013 - 06:26:09 EST