Re: Rest easy

2018-01-03 Thread tscv11
Forget about the repository - it now refuses to let me log in, NO MATTER WHAT I DO: new pass doesn't work, old pass doesn't work, new username doesn't work, old username doesn't work, you get the idea. I guess my work is going to just flap in the wind or other people might run with it, leaving me

Re: Rest easy

2018-01-03 Thread tscv11
Hello Sir, I found a solution but then replied in the wrong thread! Basically I had to disable "import leo.core.leoGlobals as g" and put "App()" back where it had been. Don't know how much of a 'solution' that is, though. Maybe you can recommend a better way? Thanks! tsc Here's the new

Re: Rest easy

2018-01-03 Thread T C
Okay, thank-you. I have created a githut repository (python .gitignore and MIT license - as I recall Leo uses the MIT license). Unfortunately I still can't seem to salvage my script. I had already tried the indentation stuff with @others and the functions, but I did it again to be sure. I moved

Re: Rest easy

2018-01-03 Thread Terry Brown
On Wed, 3 Jan 2018 14:12:14 -0800 T C wrote: > Thank you for taking this on. > > When I dedent the function this is the error (it's either one or > the other, it would seem). Ok I see, in <> indent @others by four spaces then outdent all the child nodes under <> But also,

Re: Rest easy

2018-01-03 Thread T C
Thank you for taking this on. When I dedent the function this is the error (it's either one or the other, it would seem). exception executing script AttributeError: 'App' object has no attribute 'pick_action' line 35: * line 36: self.pick_action() line 37:

Re: Rest easy

2018-01-03 Thread Terry Brown
Just delete the whitespace at the beginning of that line? That seemed to clear the SyntaxError for me. Actually the whole node's over-indented, Ctrl-A Shift-Tab to move it all to the left. Also, as soon as you can, learn a version control system (VCS) like git / GitHub. Then you can just

Re: Rest easy

2018-01-03 Thread Terry Brown
On Tue, 2 Jan 2018 21:31:39 -0800 (PST) tscv11 wrote: > I see that most of them are about 'c' being > undefined. Hmm, might be the way you're saving the file / running the file. If you save as an external script then pyflakes is just analyzing that file stand alone and

Re: Rest easy

2018-01-02 Thread tscv11
Hello Sir, It's good to hear that I haven't worn out my welcome. I do have what I think is a good question about improving my script: pyflakes gives me 252 errors (everything works fine as far as I can tell) and I see that most of them are about 'c' being undefined. Mr. Brown showed me how to

Re: Rest easy

2018-01-02 Thread Edward K. Ream
On Tue, Jan 2, 2018 at 4:47 PM, tscv11 wrote: > Hi, > > I think I might have made a nuisance of myself. If so I apologize. I never > meant to bother > anyone and I won't anymore. You know how to reach me if you decide that > you want to work > with me on leo4sqlite. > ​There