On Tue, 24 Jun 2014 17:07:01 -0700 (PDT) Scott Koga-Browes <[email protected]> wrote:
> Hi - thanks for the advice. I am now running the version available on > github (at - > https://github.com/leo-editor/leo-editor/archive/master.zip > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fleo-editor%2Fleo-editor%2Farchive%2Fmaster.zip&sa=D&sntz=1&usg=AFQjCNFL_cFMcDLraF2WR1IGYLBExqlsMg> > ). Unfortunately the problem seems to remain... I'm wondering if Edward noticed the problem's in leo/plugins/lineNumbers.py, I missed that the first time. Docstring "Over-rides two methods in leoAtFile.py to write #line directives after node sentinels. This allows compilers to give locations of errors in relation to the node name rather than the filename. Currently supports only perl and perlpod." Scott - is this a plugin you deliberately enabled? I haven't heard of it, but I don't use Perl either. I suspect it's almost never used, and is no longer working. Cheers -Terry > Log as follows - > > Leo 4.11 final, build 6240, 2013-11-06 > Python 2.7.5, PyQt version 4.8.6 > darwin > > exception writing: /Users/spkb/Documents/Leo Editor/scokobro-site.txt > Traceback (most recent call last): > File > "/Users/spkb/Downloads/leo-editor-master/leo/core/leoAtFile.py", line > 3105, in write > at.writeOpenFile(root,nosentinels=nosentinels,toString=toString) File > "/Users/spkb/Downloads/leo-editor-master/leo/core/leoAtFile.py", line > 3662, in writeOpenFile at.putOpenNodeSentinel(root) > File > "/Users/spkb/Downloads/leo-editor-master/leo/plugins/lineNumbers.py", > line 51, in putLineNumberDirective > oldOpenNodeSentinel(self,v,inAtAll,inAtOthers,middle) > TypeError: putOpenNodeSentinel() takes at most 4 arguments (5 given) > > > Regards - SPKB > +++++ > > On Tuesday, 24 June 2014 21:19:00 UTC+9, Edward K. Ream wrote: > > > > On Mon, Jun 23, 2014 at 9:27 PM, Scott Koga-Browes > > <[email protected] <javascript:>> wrote: > > > First, hello everyone - and thanks in advance for your time and > > > help! > > > > Hi Scott. Welcome aboard :-) > > > > > I managed to install Leo and do the basics, open, create, save, > > > edit > > files > > > etc. However it seems(to me) that many of the functions mentioned > > > in the opening tutorial just don't work (for me). For instance, > > > this morning I > > came > > > back to Leo after a few weeks and tried to use the @file > > > directive to > > create > > > an external (I also tried @auto) - but I received this error > > > message ... > > > > > > exception writing: /Users/spkb/Documents/Leo > > > Editor/scokobro-site.txt > > [snip] > > > > > TypeError: putOpenNodeSentinel() takes at most 4 arguments (5 > > > given) > > > > My apologies for the problems you are having. My guess is that your > > sources aren't in synch with each other. > > > > How did you install Leo? Would it be convenient to install using > > git? That way you will always have the very latest sources. We > > expect the core developers to run all unit tests before upping > > changes, and in practice it is very rare to have any problems using > > the bleeding edge code. > > > > In the future, when reporting any problem with Leo, please report > > the platform and version number reported by Leo at the start of the > > log pane. Thanks. > > > > Edward > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
