lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New version of Spontini-Editor with many new features


From: Knute Snortum
Subject: Re: New version of Spontini-Editor with many new features
Date: Sat, 2 Jan 2021 14:59:57 -0800

This is my experience with installing Spontini:

$ python3 SpontiniServer.py
Traceback (most recent call last):
  File "SpontiniServer.py", line 32, in <module>
    from tkinter.messagebox import showerror
ModuleNotFoundError: No module named 'tkinter'

installed python3-tk, then...

2021-01-02 14:32:53 [I] Checking for virtual environment inside
lib/python/spontinivenv
2021-01-02 14:32:53 [I]
2021-01-02 14:32:53 [I] ----------------------------------------------
2021-01-02 14:32:53 [I] Spontini Server is completing its installation
2021-01-02 14:32:53 [I] This can take some time: please wait
2021-01-02 14:32:53 [I] ----------------------------------------------
2021-01-02 14:32:53 [I]
2021-01-02 14:32:53 [I] Virtual environment missing. Creating a new one...
2021-01-02 14:32:54 [E] Could not create venv
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [E] The virtual environment was not created
successfully because ensurepip is not
2021-01-02 14:32:54 [E] available.  On Debian/Ubuntu systems, you need
to install the python3-venv
2021-01-02 14:32:54 [E] package using the following command.
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [E]     apt-get install python3-venv
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [E] You may need to use sudo with that command.
After installing the python3-venv
2021-01-02 14:32:54 [E] package, recreate your virtual environment.
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [E] Failing command:
['/home/knute/Apps/Spontini/lib/python/spontinivenv/bin/python3',
'-Im', 'ensurepip', '--upgrade', '--default-pip']
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [E]
2021-01-02 14:32:54 [C] Installation not completed

$ sudo apt install python3-venv

2021-01-02 14:36:29 [I] *** Initializing virtual environment ***
2021-01-02 14:36:29 [I] Checking for pip3
2021-01-02 14:36:30 [I] pip 20.0.2 from
/usr/lib/python3/dist-packages/pip (python 3.8)
2021-01-02 14:36:30 [I]
2021-01-02 14:36:30 [I] Pip3 found
2021-01-02 14:36:30 [I] Checking for venv module
2021-01-02 14:36:30 [I] Venv found
2021-01-02 14:36:30 [E] Could not find pip executable inside spontinivenv
2021-01-02 14:36:30 [E] Make sure that both pip and venv are installed
and run again the server
2021-01-02 14:36:30 [E]
2021-01-02 14:36:30 [C] Installation not completed

$ which pip
$ which pip3
/usr/bin/pip3
$ which venv
$

At this point it may be my installation of venv that is bad.

$ locate venv
...
$ /usr/bin/pyvenv
$ ll /usr/bin/pyvenv
lrwxrwxrwx 1 root root 10 Mar 13  2020 /usr/bin/pyvenv -> pyvenv-3.8
$ locate pyvenv-3.8
...
/usr/share/bash-completion/completions/pyvenv-3.8
$ ll /usr/share/bash-completion/completions/pyvenv-3.8
lrwxrwxrwx 1 root root 6 Feb  1  2020
/usr/share/bash-completion/completions/pyvenv-3.8 -> pyvenv

So the link reference is circular. I'm not even sure who to report
this to.  But there you have it.

--
Knute Snortum

On Sat, Jan 2, 2021 at 12:14 PM Paolo Prete <paolopr976@gmail.com> wrote:
>
> Hi everyone and happy (or, at least, let's hope so) new year,
>
> in these very hard months I have taken, in some way, advantage of the lock 
> down and created a new version of the Spontini editor that includes many and 
> many new features.
> In particular, the editor is now equipped with a self-installable WEB SERVER, 
> ready for production (it supports SSL and even TOR), which allows you to 
> comfortably use the editor on RASPBERRY PI, without any installation, and 
> supports "collaborative mode" (like Lilybin) as well.
>
> There is also the possibility to add scripts (I have added example scripts 
> with Python-ly and ABJAD) and to create custom scripts or plugins, for 
> example in Python.
>
> There is a pan-zoom interface like in vector editors and multiple layouts 
> (with separate windows) can be configured.
>
> There is a pure HTML midi player (no installation is required) + a midi 
> plugin for VLC, quick insert, auto-completion.
>
> The interface for creating cross-staff scores is also much richer and a 
> complete algorithm is now available to create these scores.
> I have added more examples of cross-staff notation and in the next few days I 
> will also show how you can use this interface to edit *very* difficult scores 
> (such as those of Ferneyough for piano).
>
> And many other things...
>
> I would also like to put the editor online, as is already possible for 
> Lilybin: everything is ready and if anyone will help me find a suitable host 
> and remote service, they are welcome!
>
> Unfortunately I could not test the operation on macOS: any help is welcome 
> for this too!
>
> Before I can create a release, I have to do more tests. But in the meantime 
> you can download the development snapshot from Github:
>
> https://github.com/paolo-prete/Spontini
>
> All this took a lot of effort. I hope it will be as useful to Lilypond users 
> as it has been useful to me.
>
> Best,
>
> P
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]