Hi Jochen,

On Wed, 20 Nov 2019 at 18:21, Jochen Topf <joc...@remote.org> wrote:
> I installed revolt and tried to start it by calling "revolt" from the
> command line.

> Traceback (most recent call last):
>   File "/bin/revolt", line 23, in <module>
>     from revolt import main
> ModuleNotFoundError: No module named 'revolt'

> The problem is that revolt is called as /bin/revolt instead of
> /usr/bin/revolt due to the PATH settings and Debians /bin and /usr/bin
> being the same. But revolt can't find its own python files this way.

Thanks for the report. I can confirm that on a non-usr-merged system
this is reproducible after running:

    sudo ln -s /usr/bin/revolt /bin/revolt

Apparently, this rune in the launcher script is failing in this case:

    sys.path.insert(0, P.join(P.dirname(P.dirname(__file__)),
                              "share", "revolt", "py"))

-- 
Cheers,
  Andrej

Reply via email to