Re: Problem installing Leo under 18.04

2019-02-14 Thread John Kane
I have returned.
Due to some slightly stupid things I did (not in Leo!) I decided on a new 
install of Ubuntu 18.04

Here is the installation script I am using for Leo

Install Python

sudo apt update
sudo apt install python3-pip
sudo apt-get install python3-pyqt5


# Combination of instructions from Matt Wilkie & Vitalije Milosevic 
(vitalije) on Googlee Groups leo-editor.

sudo apt install git
 
wget http://github.com/leo-editor/leo-editor/zipball/devel/ --output-file 
leo-editor-devel.zip

unzip leo-editor-devel.zip # Note problem

# rename the resultant folder something reasonable
mv leo-editor-leo-editor-ca0c671 leo-editor

cd ~/leo.editor

cd leo-editor
pip3 install --editable ./

I am now back to where I was about Feb 7. 

On Thursday, February 7, 2019 at 9:24:47 AM UTC-6, John Kane wrote:

> *YES!*
>
The Cowardly Lion Logo has appeared!
>

> Thank you and Matt for all the time and help. 
>

> In theory, with  pip3  and git installed, this should work?
>
===
>
wget http://github.com/leo-editor/leo-editor/zipball/devel/ --output-file 
> leo-editor-devel.zip
>

> unzip leo-editor-devel.zip
>

> # rename the resultant folder something reasonable
>
mv leo-editor-leo-editor-96b7679 leo-editor
>

> cd ~/leo.editor
>
pip3 install --editable ./
>
*Results *

john@jonh-T510:~$ leo

Command 'leo' not found, but can be installed with:

sudo apt install libwww-dict-leo-org-perl

john@jonh-T510:~$ 


I also tried using  Neil Becker's cmd with no success 

 python3 setup.py install --user


Would anyone have a suggestion where I am going wrong?

Thanks

Note I am still getting the strange behaviour, after a clean Ubuntu 
install, that when I download * leo-editor-devel.zip *ArchiveManager 
reports that the file is corrupt. A repeat of the wget command, without 
trashing * leo-editor-devel.zip, * gives me a zip file *index.htms.1* which 
unzips into the leo folder.

I seem to have both Python Python 2.7.15rc1 &  Python 3.6.7-1~18.04 
installed. I also have pip installed. 
 

> =
>
>
> On Thu, 7 Feb 2019 at 10:05, vitalije  wrote:
>
>>
>>
>>> I got Leo to install after I installed* python3-pyqt5 *as Vitalije 
>>> suggested but Leo seems only willing to load in the GNOME console. 
>>>
>>> Also I used pip rather than *pip3*
>>>
>>  
>> It seems like there is an error in setup.py. I hope Matt will fix that. 
>> In the meantime try running install command from the unzipped leo-editor 
>> folder.
>> cd leo-editor
>> pip3 install --editable ./
>>
>> There was suggestion earlier in this thread to do like this. Perhaps now, 
>> when you already have python3-pyqt5 installed, it will work.
>> HTH Vitalije
>>
>> -- 
>> 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.
>>
>
>
> -- 
> John Kane
> Kingston ON Canada
>

-- 
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: Nested @clean trees" is ready for testing

2019-02-14 Thread Josef

Ok, I finally encountered a bug:  I am unable to save if a child @clean 
node has (ordinary) children nodes:

Create a new file with an @clean foo.txt node, write @others into the body, 
then create a child @clean goo.txt node and write something into it.
So far everything works as expected. 

Now add a normal child node to the @clean goo.txt node and try to save. It 
won't let you.

I also think it is not quite logical that a node must have an @others in 
order to have a child @clean node. If the child @clean node is the only 
child, why should there be an @others in the parent?

- 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.