[Geany-Users] problem using geany.find in lua plugin

Lex Trotman elextr at xxxxx
Wed Mar 27 00:33:06 UTC 2013

On 27 March 2013 07:17, pauriem at gmail.com <pauriem at gmail.com> wrote:
> thank you for your attention to
> my problem, it is not practical for
> me to do a trace of the crash, but can
> you at least provide some samples
> of scripts with geany.find () that
> are supposed to run under geany
> 0.21?

Some comments,

1) Geanlua is not really maintained by anybody, it is difficult for
anybody to help without more information
2) also 0.21 is two versions old, could you please try the current
version (1.23) first
3) if you can't provide information on where it crashes such as a backtrace then
4) please pastebin a lua script and data file that causes the problem
so they can reproduce it


> On 3/24/13, Frank Lanitz <frank at frank.uvena.de> wrote:
>> Am 23.03.2013 02:51, schrieb pauriem at gmail.com:
>>> I installed geany and geanylua plugin for my ubuntu 12.04 64 bit
>>> system from the repository, version seems to be 0.22
>>> most scripts I write work fine but if I try to use geany.find
>>> function, geany crashes
>>> for instance, just the single line script
>>> x, y= geany.find ("ab",1,4,{"matchcase"})
>>> is a crash on a file with many lines of text in utf-8 encoding,
>>> regardless of whether "ab" is present in the specified range
>>> just wondering if this is a problem with how I am using the function,
>>> I would appreciate some examples of scripts that use find that work on
>>> geany 0.22
>> Can you run Geany within a gdb and provide the backtrace when this is
>> happening? A short howto can be found here:
>> http://geany.org/manual/hacking.html
>> Cheers,
>> Frank
> _______________________________________________
> Users mailing list
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list