ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with SciTE 3.31 and context package
@ 2013-05-17 17:41 Bill Meahan
  2013-05-17 17:52 ` Hans Hagen
  2013-05-17 18:20 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Bill Meahan @ 2013-05-17 17:41 UTC (permalink / raw)
  To: ConTeXt Mailing List

Having a bit of a problem. I installed SciTE, scintillua and Hans' 
customizations yesterday and things are not working. SciTE crashes as 
soon as my context files are loaded.

SciTE is version 3.31 (latest)
scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so 
file included)

context add-ons are from a recent beta and have file dates as late as 
28-April-2013

system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15 
03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux



wwm@LadyGeraldine$ SciTE
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt 
to compare number with nil.
Lua Error: Table of folds expected from 'lexer.fold'.
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt 
to compare number with nil.
*** glibc detected *** SciTE: realloc(): invalid pointer: 0x09d9e5c0 ***

Backtrace not included

I'll try compiling from source if you think it will help.

Ideas appreciated. Thanks

-- 
Bill Meahan
Westland, Michigan USA

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with SciTE 3.31 and context package
  2013-05-17 17:41 Problems with SciTE 3.31 and context package Bill Meahan
@ 2013-05-17 17:52 ` Hans Hagen
  2013-05-17 18:20 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2013-05-17 17:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/17/2013 7:41 PM, Bill Meahan wrote:
> Having a bit of a problem. I installed SciTE, scintillua and Hans'
> customizations yesterday and things are not working. SciTE crashes as
> soon as my context files are loaded.
>
> SciTE is version 3.31 (latest)
> scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so
> file included)
>
> context add-ons are from a recent beta and have file dates as late as
> 28-April-2013
>
> system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15
> 03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

i still run the 32 bit on win 8 64 .. it's a pitty that scintillua is 
not compiled into scite (the interfaces keep changing)

normally when i update i do some diffs to see what is changed (last time 
there were fundamental ones)

sometimes i wonder if it makes sense to clone scintillua in order to 
keep things more stable (i'd also like some more access to scite 
properties but that's wishful thinking)

3.2.4 works ok with the files in the beta zip

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with SciTE 3.31 and context package
  2013-05-17 17:41 Problems with SciTE 3.31 and context package Bill Meahan
  2013-05-17 17:52 ` Hans Hagen
@ 2013-05-17 18:20 ` Hans Hagen
  2013-05-17 18:34   ` Bill Meahan
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2013-05-17 18:20 UTC (permalink / raw)
  To: ntg-context

On 5/17/2013 7:41 PM, Bill Meahan wrote:
> Having a bit of a problem. I installed SciTE, scintillua and Hans'
> customizations yesterday and things are not working. SciTE crashes as
> soon as my context files are loaded.
>
> SciTE is version 3.31 (latest)
> scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so
> file included)
>
> context add-ons are from a recent beta and have file dates as late as
> 28-April-2013
>
> system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15
> 03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> wwm@LadyGeraldine$ SciTE
> Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt
> to compare number with nil.
> Lua Error: Table of folds expected from 'lexer.fold'.
> Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt

at least you see a message -) on windows they go into the void which 
makes debugging painful

> to compare number with nil.
> *** glibc detected *** SciTE: realloc(): invalid pointer: 0x09d9e5c0 ***

that one normaly points to a c bug

> Backtrace not included
>
> I'll try compiling from source if you think it will help.
>
> Ideas appreciated. Thanks

you can try to comment

lexer.fold        = context.fold

in scite-context-lexer

it looks like there has been quite some changes (i might as well wait 
till a next version before i look into it)

i replace some lua code that ships with the lexer lib; when i started 
with making the lexers i had so many crashes on big files that i made my 
own fold routine - which of course interfaces to some low lever data 
structures - to get it working; it also was much faster (the same for 
some more patched code)

then, a few versions back the low level folder (c code) changed an di 
adapted to that (as we lack access to scite properties i cannot check 
versions) and now i need to check again

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problems with SciTE 3.31 and context package
  2013-05-17 18:20 ` Hans Hagen
@ 2013-05-17 18:34   ` Bill Meahan
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Meahan @ 2013-05-17 18:34 UTC (permalink / raw)
  To: ntg-context

On 05/17/2013 02:20 PM, Hans Hagen wrote:
>
> you can try to comment
>
> lexer.fold        = context.fold
>

That works!  Thanks for the fast response.

-- 
Bill Meahan
Westland, Michigan USA

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-17 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 17:41 Problems with SciTE 3.31 and context package Bill Meahan
2013-05-17 17:52 ` Hans Hagen
2013-05-17 18:20 ` Hans Hagen
2013-05-17 18:34   ` Bill Meahan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).