Re: leovue meets leo4sqlite

2018-03-03 Thread tscv11
I've had my own difficulties but the site is back up. I will be making the suggested updates, thanks. tscv11 -- 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 ema

Re: leovue meets leo4sqlite

2018-03-03 Thread tscv11
the effort. Looks like Leovue is progressing nicely, I will update my project today if possible. Thanks, Joe! tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails fro

leovue meets leo4sqlite

2018-02-28 Thread tscv11
The script 'leo4sqlite' is now online using leovue - the syntax highlighting works well. I'm looking forward to trying some of leovue's more advanced capabilities. My leovue/leo4sqlite demo lives here: https://tscv11.github.io/leo4sqlite/#/t/23/ tscv11 -- You received this message because

@file repo for leo4sqlite

2018-02-10 Thread tscv11
I've created a new repository for the @file version of leo4sqlite because I prefer it to @auto when developing (so far). https://github.com/tscv11/leo4sqlite-file tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubs

Re: mark/unmark-first-parents

2018-02-04 Thread tscv11
After consulting Edward and Terry, the finished (I think) 'unmark-first-parents' command now works as intended. @language python def unmark_first_parents(): """unmark the first parent of each node, moving up the tree to the top level. print the list of unmarked parents."""

Re: mark/unmark-first-parents

2018-02-04 Thread tscv11
c.selectPosition(parent) if parent.isMarked(): c.clearMarked(parent) parent_lst.append(parent.h) c.redraw() if parent_lst: g.es("unmarked: " + str(parent_lst)) unmark_first_parents() tscv11 -- You received this message

Re: mark/unmark-first-parents

2018-02-04 Thread tscv11
if not parent.isMarked(): c.markHeadline(parent) parent_lst.append(parent.h) c.redraw() if parent_lst: g.es("marked: " + str(parent_lst)) c.selectPosition(old_p) mark_first_parents() > tscv11 > -- You re

Re: mark/unmark-first-parents

2018-02-04 Thread tscv11
parent_lst.append(parent.h) c.redraw() if parent_lst: g.es("marked: " + str(parent_lst)) c.selectPosition(old_p) mark_first_parents() tscv11 > -- You received this message because you are subscribed to the Google Groups "leo-editor" gro

Re: mark/unmark-first-parents

2018-02-03 Thread tscv11
I think 'unmark-first-parents' needs more thought because you could unmark nodes that lead to other nodes you've marked. Sorry about that. tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop

mark/unmark-first-parents

2018-02-03 Thread tscv11
something. I also realize that this may only be useful for my own study habits - I'm sorry if it doesn't apply to you. tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails fro

Re: 04ef7c: git-diff command is safe and useful

2018-01-27 Thread tscv11
Just a note: Thank-you: I fell in love with this command on first use! This is now my favorite way of looking at my changes, and it provides even more proof that everything is better "Leo style." tscv11 -- You received this message because you are subscribed to the Google Groups &

Re: Pretty email code (was Re: A pattern for beginners: delete all of a node's children)

2018-01-20 Thread tscv11
Sorry - I see I 'dropped the ball' on this. Yes, Mr. EKR is correct, that is how I did it (the last formatting icon '{}'). tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving e

Re: leo4sqlite plugin

2018-01-18 Thread tscv11
as intended with all offending lines removed. c) Finally, the docstring is thoroughly 'spiffed up' (even more). tscv11 -- 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, sen

Re: leo4sqlite plugin

2018-01-17 Thread tscv11
I thought you might want to review the current docstring for leo4sqlite, so here it is. Hopefully reST is okay - I saw it in another plugin's docstring so I went ahead. tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubs

Re: leo4sqlite plugin

2018-01-16 Thread tscv11
good, self. tscv11 -- 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Letter of appreciation

2018-01-16 Thread tscv11
Okay, here is my first stab at making leo4sqlite a plugin. Everything seems to work and it has all of the same commands, etc. Let me know what you think! tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: Letter of appreciation

2018-01-15 Thread tscv11
Okay, I've finished adapting the script to a plugin. It has all of the same commands, etc. I am attaching it here. Please remember that there is still streamlining and 'polishing' to be done. Let me know what you think! -- You received this message because you are subscribed to the Google

Re: Letter of appreciation

2018-01-12 Thread tscv11
to make a useful contribution. Where do you think I should place my focus? Thanks for any guidance, tscv11 -- 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 ema

Re: Merged sqlite-leo branch in master

2018-01-09 Thread tscv11
an amateur but I have created 'leo4sqlite' and you might find something interesting there. Hopefully you will have a little advice for me either way! You can find it here: https://www.github.com/tscv11/leo4sqlite Please feel free to post or send a message if you ever have a question, and if there's

Re: Leo BLOB API

2018-01-08 Thread tscv11
Thank you, friend - I really owe you one! You were right, I was using only numbers as search terms before. As the kids say, 'You da man!' And well done (with only a glance, no less)! Thank you! tsc -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: Leo BLOB API

2018-01-08 Thread tscv11
*- I'd need a more detailed description o fhow it's broken for you - not starting, or whatever, to debug.* Please check my original post - I have edited it to include details about the problem. If you still need more information I will tell you whatever you need to know. As far as the fail in

Re: Leo BLOB API

2018-01-07 Thread tscv11
I cannot understand. Please help me understand. I uploaded to github (with everything working), I started trying to make my local copy run as @auto. Somehow things got broken. Here is the 'kicker' - I downloaded the master from github, tested it - and got the same error! (I did make sure the @auto

Re: Leo BLOB API

2018-01-07 Thread tscv11
The github repository for leo4sqlite is back online. https://github.com/tscv11/leo4sqlite tsc -- 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

Re: Leo BLOB API

2018-01-07 Thread tscv11
Just so you know: Adding "c.__ = {}" to main seems to have fixed the problem. I tend to get discouraged easily and I was unfair to Leo! I'll post to github soon - any pointers for using Leo and git together? Also, why no response to my questions about the plugin documentation, etc.? Thanks, tsc

Re: Leo BLOB API

2018-01-07 Thread tscv11
Well, the script was working when I posted it. I tried to change some things in my copy and ended up with a new error: AttributeError: 'Commands' object has no attribute '__' line 626: action = "insert blob" * line 627: c.__['action'] = action line

Re: Leo BLOB API

2018-01-06 Thread tscv11
Let me know if you want to look at my script in its' current incarnation. When it comes to blobs it will: 1. insert 2. extract 3. view 4. open (not sure how 'edit' should be different from 'open') If you give me a better idea of how you'd like it done, I'll try adding the choice to save

Re: Jump to git diff from log

2018-01-03 Thread tscv11
I hope this isn't too out of place. I just want to ask how to use the gitarchive plugin. It crashes Leo with a perpetual loop when I try to use it. Thank you, tsc -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: GitHub repository for leo4sqlite

2018-01-03 Thread tscv11
Doh! (he said sheepishly). This confuses me because I am not using (nor have I ever used) a dark theme. I confess I don't know where it's coming from. I saw nothing unusual in the post before posting. Hopefully the problem will be gone now - I'm being extra careful. Just let me know if this

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-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: The process of action

2017-12-31 Thread tscv11
On Saturday, December 2, 2017 at 1:43:58 AM UTC-8, Edward K. Ream wrote: *- Seeing completion as a process is a cure for impatience*. I enjoyed that insight, thank you! It made me think of the task (or todo?) plugin progress icons: 10% complete, 20%, etc. -- You received this message

Re: A pattern for beginners: delete all of a node's children

2017-12-31 Thread tscv11
Thanks to Leo's code completion (which I adore) I found it: @language python p = g.findNodeAnywhere(c, 'temp') c.selectPosition(p) p.deleteAllChildren() c.redraw() -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: A pattern for beginners: delete all of a node's children

2017-12-30 Thread tscv11
I keep trying to make this better but google groups won't let me edit this one message only - "go figure!" tsc -- 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

Re: Phonon player error

2017-12-30 Thread tscv11
I've discovered that Qt5 (and PyQt5, I presume) no longer supports phonon. Is @movie playback broken in Leo? I tried putting the file path in the body and/or the headline. Nothing has given me more than a blank screen. I should note that svgs and gif animations work well. Thanks for any

Re: The roadmap for 2018: visualization & services

2017-12-30 Thread tscv11
Hello, It's amusing that you're talking about improving the vr-pane when I've just run into the problem of not being able to play movies in Leo. I've covered that in another post. Anyway, what you've said sounds good to me, except for "DAG" which I'm guessing stands for (d)irected (a)cyclic

Re: leo4sqlite & blobs

2017-12-30 Thread tscv11
I'll be brief - there's a new development: I've discovered that I can't play movies in the render pane - Leo says "no phonon player installed." I saw online that "phonon" is a part of Qt and I planned on installing the open source version until I saw that it was 13 MiB in size. Is there a

Re: leo4sqlite & blobs

2017-12-29 Thread tscv11
If you would, please elaborate on making a 'permanent filing system' for blobs. I'm not sure what you mean. Thanks, tsc -- 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

Re: ENB: Code generation for javascript

2017-12-24 Thread tscv11
Hello Sir, Of course I am not a core dev - I just want to apologize for 'getting on your case' about the other sqlite project months ago. I suppose I should have taken your advice and tried to collaborate with Vitalije as well, but I am too insecure about my coding skills to handle working with

Re: How to wait for a key press

2017-12-24 Thread tscv11
Hi, I would like a little advice again (surprise!). I searched for the information I need but it seems that pyqt5 doesn't even have any forums (that I could find), so I don't know of anywhere else to ask. I did look at the existing reference material but I found no mention of all

Re: How to wait for a key press

2017-12-21 Thread tscv11
Wow, there's some neat stuff in there, thanks! However, If I'm not mistaken, no values are passed outside the class definition. Perhaps there's no way to do that. Or did I just miss it? Anyway I did enjoy the example of the @g.command decorator and I'm learning how it works - I just ran the

Re: Linking to nodes from lines in the log.

2017-12-21 Thread tscv11
This is exciting - I was just wondering why Leo didn't do that already and now here it is! Having links to lines/columns will be brilliant! Thanks for this. tsc -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and

Re: How to wait for a key press

2017-12-20 Thread tscv11
Hello, Okay, so you're saying it's too complicted to wait for a key press or detect the vr pane being, hidden, which seems a bit crazy - at least the key press part. I guess I'll just wait unti the next dialog or another opportune time (maybe when quitting the program) to clear the temp files,

Demystification & news

2017-05-23 Thread tscv11
Hello, I hope everyone is well. My confusion regarding Leo and xml has cleared (originally I thought Leo had imported a table from my sqlite database file). The attached .leo file outlines a simple three step process which may be followed to reproduce my results, and an example of the xml

AttributeError: module 'os' has no attribute 'popen3'

2017-05-05 Thread tscv11
Hi, just a quick bug report. Attached is a screenshot that shows what happened when I tried to use the at-produce plugin for the first time. If I should contact the plugin author directly instead of posting here, please just let me know! Thanks. -- You received this message because you are

Re: what a pane

2017-05-03 Thread tscv11
Hello, This is just a follow-up regarding the animated gif problem. I have tried it myself and you are correct - the gif doesn't play (from the google groups page or downloaded from google groups). I should also note that it doesn't work with internet explorer, contrary to my previous belief. So

what a pane

2017-05-03 Thread tscv11
I'm back (*yes, again!*) to report an amusing bug. Attached find an animated gif that shows I'm not making it up (and I am *not* talking to anyone in particular here,* Jerry!* ;-)) (I'm only joking around, just to be clear). Incidentally, you can also see some of my project (named "HabitTrack"),

Re: can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread tscv11
I see. I thought maybe it was specific to Leo. I understand now (good old pip!) Thanks again. -- 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

can not load enabled plugin: leo.plugins.xml_edit

2017-05-02 Thread tscv11
Sorry to jump right back in with another one, but this is really a continuation of my earlier post... I would like to get the xml_edit plugin working now. I've just switched to a fresh download of the latest snapshot, but when I try enabling the xml_edit plugin I get the following error:

Re: Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
understand that you can only do what you can do, as they (inanely) say On Tuesday, May 2, 2017 at 3:09:11 PM UTC-7, tscv11 wrote: > > The "import->import any file" method for .db3 files no longer > works for me, and does, in fact create completely empty nodes titled > af

Re: Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
The "import->import any file" method for .db3 files no longer works for me, and does, in fact create completely empty nodes titled after the file (@auto nodes). Thus I cannot repeat the process, and I was hoping someone could figure out how I got that result, if Leo *doesn't* support .db3

Re: Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
Hello, Just a note - sorry, I see now why no one understood my question. I did explain everything but somehow the important part got left out of my final post, and it was rather nebulous. So "*my bad*" as they say. -- You received this message because you are subscribed to the Google Groups

Re: Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
Sorry, I forgot to answer your question in my other post. I am just importing an ".db3" sqlite3 database file with File->Read/Write->Read file into node. Hope that helps. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
I apologize for my lack of clarity. I guess it's my turn to ask for more information. What kind of sample do you need - of what? I *was* able to locate the original successful import, which I have attached to this post. Interesting that it notes the language as "unknown." Hopefully this is

Sqlite3 .db3 file import change

2017-05-02 Thread tscv11
Hello, I have written my first Leo-specific application (it helps me keep a database of habitual activities and automates simple calculations, like Day, Month and Year Totals and Averages). So now I've begun work on an sqlite3 <---> Leo plugin (although I don't know how yet, I thought I'd

Re: RuntimeError: input(): lost sys.stdin, g.isMacOS

2017-04-08 Thread tscv11
Sorry for the delay. *I tried:* choice = g.input_("selection ") print(choice) Leo seems to be giving me the same (or a similar) error: exception executing script RuntimeError: input(): lost sys.stdin only 7 linesline 5848: from leo.core.leoQt import QtCore * line

RuntimeError: input(): lost sys.stdin, g.isMacOS

2017-04-07 Thread tscv11
Here's a bug report: using a very basic test script with just two lines of python (shown below) I found that even with an inferior IDE such as IDLE, the script did ask for input and then print it, whereas Leo coughed up an error. *Test "script":* choice = input("selection ")

Re: Solved - Outline pane font size

2017-03-25 Thread tscv11
I see I've dropped the ball so here's the answer regarding IPython: I *did *experiment with the "--ipython" command line switch during that time (when fonts weren't resizable). Other than that, I haven't really been *using* IPython *together* with Leo (yet), since distraction quickly took me

Solved - Outline pane font size

2017-03-18 Thread tscv11
I noticed a Qt message in the terminal window that looked unusual to me: "reading settings in ..\Leo-5.5b1\leo\config\leoSettings.leo *createGui g.app.gui "* As things stood some fonts were not displayed properly. After noticing the message I uninstalled PyQt5.8 and then installed PyQt5.6.

Outline pane font size

2017-03-18 Thread tscv11
Greetings, Here is the latest: the Outline Pane *font *of Leo is now *tiny* and does not respond to adjustments in @settings>Appearance>Qt Gui settings>Fonts>Basic Fonts. Importantly, the font sizes *did* change in step with those parameters previously. I also tried other settings that I

Re: Another small glitch (recurring icon problem)

2017-03-10 Thread tscv11
Okay, thank you Sirs. I am happy to report (sort of): My icons have gone ka-flooey again (and I haven't used Leo since posting about the problem). So, in other words, it's *not* Leo causing the icon problem. Actually I *am* happy, because I was so desperate that I was studying 'org-mode',

Another small glitch (recurring icon problem)

2017-03-07 Thread tscv11
Thank you very much to EKR for immediately fixing my previous issue (Internet Explorer kept popping up, trying to connect to sites that my firewall reported were unsafe). That has not happened again, and I'm very happy! However, I've had a stubborn new problem for a while now.

This may not be related to Leo, but just in case...

2017-02-21 Thread tscv11
First I must say that I am a big fan of Leo! Before this happened I used it for python (and reST, of course), HTML, CSS, Asciidoc, and Markdown. Unfortunately I now need to report a bizarre issue that's been coming up repeatedly. After trying all available installer/setup packages and then