You are not logged in.

#1 2018-10-19 10:46:53

beoldhin
Member
Registered: 2016-12-30
Posts: 19

tmuxp 1.5.0a-1 fails to start

I started to receive the message below. Is it because tmuxp needs some old version of "colorama" or could it be caused by some other root cause?


Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (colorama 0.4.0 (/usr/lib/python3.7/site-packages), Requirement.parse('colorama==0.3.9'), {'tmuxp'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/tmuxp", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 580, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorama==0.3.9' distribution was not found and is required by tmuxp

Offline

#2 2018-10-19 13:56:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: tmuxp 1.5.0a-1 fails to start

What's the output of `pacman -Q tmuxp python-colorama`?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2018-10-19 19:24:11

beoldhin
Member
Registered: 2016-12-30
Posts: 19

Re: tmuxp 1.5.0a-1 fails to start

Trilby wrote:

What's the output of `pacman -Q tmuxp python-colorama`?

tmuxp 1.5.0a-1
python-colorama 0.4.0-1

Offline

#4 2018-10-20 15:56:59

tobidot
Member
Registered: 2018-10-20
Posts: 1

Re: tmuxp 1.5.0a-1 fails to start

beoldhin wrote:

...

tmuxp 1.5.0a-1
python-colorama 0.4.0-1

A quick fix/"hack" is:

 pip install --user --upgrade tmuxp 

Offline

#5 2018-10-20 16:47:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: tmuxp 1.5.0a-1 fails to start

Oops, I missed the hard version dependency on specifically 0.3.9 (I was thinking it needed >0.3.9).

I just installed tmuxp and confirmed the problem here.  This looks like it may be a packaging bug; I'd suggest posting it on the bug tracker.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB