Traceback (most recent call last):
File "/Users/trajano/Library/Python/3.9/bin/tmuxp", line 8, in <module>
sys.exit(cli.cli())
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1025, in __call__
return self.main(*args, **kwargs)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/core.py", line 955, in main
rv = self.invoke(ctx)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1517, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1279, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/core.py", line 710, in invoke
return callback(*args, **kwargs)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/click/decorators.py", line 18, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/tmuxp/cli.py", line 959, in command_load
load_workspace(config[-1], **tmux_options)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/tmuxp/cli.py", line 555, in load_workspace
if builder.session_exists(session_name):
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/tmuxp/workspacebuilder.py", line 102, in session_exists
exists = self.server.has_session(session_name)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/libtmux/server.py", line 373, in has_session
proc = self.cmd('has-session', '-t%s' % target_session)
File "/Users/trajano/Library/Python/3.9/lib/python/site-packages/libtmux/server.py", line 128, in cmd
raise ValueError('Server.colors must equal 88 or 256')
ValueError: Server.colors must equal 88 or 256
Step 1: Provide a summary of your problem
tmuxp load mysessionwith the4-pane-splitconfiguration is returning the following error:It looks like
args.colorsis set to a type of string which does not match the given color options. Looked into it and it seems like it's due totmuxppulling the pre-release version ofclick(8.0.0a1). I manually cloned the 7.1.2 to mysite-packagesand it's working again.Need to either cast type (to be safe) and/or fix
clickconstraint. I'm not super familiar with python but let me know if you would like me to get a pr out for this. Thanks!Step 2: Provide tmuxp details
Step 3: Describe the problem:
Steps to reproduce:
4-pane-splitconfig and try to load sample sessionObserved Results:
ValueError: Server.colors must equal 88 or 256Expected Results:
Relevant Code:
N/A