Re: viewrendered fails to load

2017-11-22 Thread Josef
I followed a suggestion of Chris George to install several dependencies of 
Leo and it seems since I installed docutils, viewrendered works again.

Thanks Chris

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-22 Thread Josef
 I noticed that in the conda/pip installed versions of python3 and PyQt5 
there is the QtWebKitWidgets module missing, which I believe is a 
prerequisite for viewrendered.

In the xubuntu 16.04 provided packages the modules QtWebKitWidgets and 
PySvg are both present, but it still does not load. The version of PyQt 
installed by xubuntu is 5.5.1, though and I saw a post suggesting this 
version is not compatible with viewrendered.

I also don't see any python(3)-pyqt4.qtwebkit package on xubuntu 16.04 - 
qtwebkit seems to be only in Qt5 versions available for xubuntu.

Anther post suggested that also the qsci module, is needed.

I would like to know what are the prerequisites for viewrendered actually?

- Josef


 

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-21 Thread Terry Brown
On Tue, 21 Nov 2017 09:46:37 -0800 (PST)
Josef  wrote:

> Hi Terry, that's easy: nothing shows up in the log.
> 
> To be sure I put this into the log:
> 
> import leo.plugins.viewrendered
> g.es('done')
> 
> The output is "done", nothing else.

Ok, thanks, I think that implies it's importing ok, I was hoping for
something more diagnostic.

Cheers -Terry

> - Josef
> 
> On Monday, November 20, 2017 at 4:34:47 PM UTC+1, Terry Brown wrote:
> >
> > On Mon, 20 Nov 2017 06:44:35 -0800 (PST) 
> > Josef  wrote: 
> >  
> > > Here is the log window.   
> >
> > Ah - looks like viewrendered's not loading :-} 
> >
> > Can you create a blank node in Leo, put 
> >
> > import leo.plugins.viewrendered 
> >
> > in the body, hit Ctrl-B, and post whatever shows up in the log when
> > you hit Ctrl-B? 
> >
> >  
> 

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-21 Thread Josef
Hi Terry, that's easy: nothing shows up in the log.

To be sure I put this into the log:

import leo.plugins.viewrendered
g.es('done')

The output is "done", nothing else.

- Josef

On Monday, November 20, 2017 at 4:34:47 PM UTC+1, Terry Brown wrote:
>
> On Mon, 20 Nov 2017 06:44:35 -0800 (PST) 
> Josef  wrote: 
>
> > Here is the log window. 
>
> Ah - looks like viewrendered's not loading :-} 
>
> Can you create a blank node in Leo, put 
>
> import leo.plugins.viewrendered 
>
> in the body, hit Ctrl-B, and post whatever shows up in the log when you 
> hit Ctrl-B? 
>
>

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-20 Thread Terry Brown
On Mon, 20 Nov 2017 06:44:35 -0800 (PST)
Josef  wrote:

> Here is the log window.

Ah - looks like viewrendered's not loading :-}

Can you create a blank node in Leo, put

import leo.plugins.viewrendered

in the body, hit Ctrl-B, and post whatever shows up in the log when you
hit Ctrl-B?

Thanks, Terry

> BTW, on the old kubuntu setup viewrendered worked with the python2
> and PyQt4 that comes with kubuntu.
> I haven't got any other combination to work yet.
> This one is on my new xubuntu 16.4 installation, with python3
> installed via conda and PyQt5 installed via pip.
> The error message is always the same though, also with the other 
> combinations I tried.
> 
> Leo Log Window
> Leo 5.6, build 20171115141637, Wed Nov 15 14:16:37 CST 2017
> Git repo info: branch = master, commit = 44c0248da75f
> Python 3.6.3, PyQt version 5.9.2
> linux
> isPython3: True
> caching enabled
> setting leoID from os.getenv('USER'): 'dalcolmo'
> load dir: /home/dalcolmo/prog/leo-editor/leo/core
> global config dir: /home/dalcolmo/prog/leo-editor/leo/config
> home dir: /home/dalcolmo
> reading settings in 
> /home/dalcolmo/prog/leo-editor/leo/config/leoSettings.leo
> Using default leo file name:
> /home/dalcolmo/.leo/workbook.leo
> loadOnePlugin: can not load enabled plugin: leo.plugins.viewrendered
> reading settings
> in /home/dalcolmo/prog/leo-editor/leo/doc/CheatSheet.leo
> 
>  
> 

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-20 Thread Josef
Here is the log window.
BTW, on the old kubuntu setup viewrendered worked with the python2 and 
PyQt4 that comes with kubuntu.
I haven't got any other combination to work yet.
This one is on my new xubuntu 16.4 installation, with python3 installed via 
conda and PyQt5 installed via pip.
The error message is always the same though, also with the other 
combinations I tried.

Leo Log Window
Leo 5.6, build 20171115141637, Wed Nov 15 14:16:37 CST 2017
Git repo info: branch = master, commit = 44c0248da75f
Python 3.6.3, PyQt version 5.9.2
linux
isPython3: True
caching enabled
setting leoID from os.getenv('USER'): 'dalcolmo'
load dir: /home/dalcolmo/prog/leo-editor/leo/core
global config dir: /home/dalcolmo/prog/leo-editor/leo/config
home dir: /home/dalcolmo
reading settings in 
/home/dalcolmo/prog/leo-editor/leo/config/leoSettings.leo
Using default leo file name:
/home/dalcolmo/.leo/workbook.leo
loadOnePlugin: can not load enabled plugin: leo.plugins.viewrendered
reading settings in /home/dalcolmo/prog/leo-editor/leo/doc/CheatSheet.leo

 

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: viewrendered fails to load

2017-11-17 Thread lewis
Can you post your Leo Log Window?

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


viewrendered fails to load

2017-11-17 Thread Josef
for some time now, the viewrendered plugin fails to load. This has been on 
Kubuntu 16.04, with python3 and PyQt5 installed via conda and pip, as well 
as with Kubuntu' deb packages. I thought the problem would get resolved by 
moving to a fresh installation, but no:

I installed a clean Xubuntu 16.04, then conda via miniconda3, which 
provides python3 as the default python. Then I added PyQt5.9 via pip. I 
downloaded leo via git and ran: python launchleo.py (the linux installation 
instructions say run "leo.py", but I did not find "leo.py"). Everything 
seems to work, but the viewrendered plugin does not load.

I wanted to try the deb package, but that uses jaunty, not xenial so the 
installation failed.

I also tried python2 launchleo.py, which should use the system python2 and 
PyQt4 combination that comes with Xubuntu, with the same result: everything 
seems fine, but viewrendered does not load.

Am I missing something? What is the recommended way to install leo on 
linux? Note, I really would like to run it with python3, not py2.

- Josef

-- 
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 leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.