★ wanayoo — archive 1999 https://github.com/tmux-python/tmuxp/issues/630Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError("Unable to determine handler") for folders with . (dot) #630

Open
oiwn opened this issue Oct 14, 2020 · 2 comments
Open

RuntimeError("Unable to determine handler") for folders with . (dot) #630

oiwn opened this issue Oct 14, 2020 · 2 comments

Comments

@oiwn
Copy link

@oiwn oiwn commented Oct 14, 2020

Step 1: Provide a summary of your problem

Keep getting RuntimeError("Unable to determine handler") if parent folder contain . (dot)
If rename folder and remove dot the problem disappearing.

Step 2: Provide tmuxp details

  • Python 3.8.3
  • tmux 3.1b
  • tmuxp 1.5.6
  • zsh

Step 3: Describe your environment

  • Architecture: Darwin
  • OS version: 10.15.7 (19H2)

Step 4: Describe the problem:

Looks like folder shouldn't contain dot.

Steps to reproduce:

  1. mkdir folderwith.dot
  2. cd folderwith.dot && copy ../.tmuxp.yaml .
  3. tmuxp load .

Observed Results:

  File "/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/tmuxp/cli.py", line 834, in command_load
    load_workspace(config[-1], **tmux_options)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/tmuxp/cli.py", line 501, in load_workspace
    sconfig = sconfig.import_config(config_file).get()
  File "/usr/local/Caskroom/miniconda/base/lib/python3.8/site-packages/kaptan/__init__.py", line 87, in import_config
    raise RuntimeError("Unable to determine handler")

Expected Results:

Load tmuxp configuration stored in .tmuxp.yaml

Relevant Code:

@tony
Copy link
Member

@tony tony commented Nov 1, 2020

@oiwn This should be fixed as of 1.5.7

Better now?

https://tmuxp.git-pull.com/history.html#tmuxp-1-5-7-2020-10-31

@oiwn
Copy link
Author

@oiwn oiwn commented Nov 2, 2020

@tony cool! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.