Title: Session name with number at end won't load · Issue #183 · tmux-python/tmuxp · GitHub
Open Graph Title: Session name with number at end won't load · Issue #183 · tmux-python/tmuxp
X Title: Session name with number at end won't load · Issue #183 · tmux-python/tmuxp
Description: tmux 2.3 tmuxp 1.2.2 Repro steps: Freeze a current tmux session Change session_name to test in the yaml file Duplicate the yaml file Change session_name to test2 in the duplicate file Use tmuxp to load test2 in a terminal window Use tmux...
Open Graph Description: tmux 2.3 tmuxp 1.2.2 Repro steps: Freeze a current tmux session Change session_name to test in the yaml file Duplicate the yaml file Change session_name to test2 in the duplicate file Use tmuxp to ...
X Description: tmux 2.3 tmuxp 1.2.2 Repro steps: Freeze a current tmux session Change session_name to test in the yaml file Duplicate the yaml file Change session_name to test2 in the duplicate file Use tmuxp to ...
Opengraph URL: https://github.com/tmux-python/tmuxp/issues/183
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Session name with number at end won't load","articleBody":"tmux 2.3\ntmuxp 1.2.2\n\nRepro steps:\n- Freeze a current tmux session\n- Change `session_name` to `test` in the yaml file\n- Duplicate the yaml file\n- Change `session_name` to `test2` in the duplicate file\n- Use tmuxp to load `test2` in a terminal window\n- Use tmuxp to load `test` in a different window\n\nExpected result:\n- Both sessions load\n\nActual result:\n- Second session shows message \"test is already running. Attach?\"\n- If you try to attach to the session, it crashes with the following stacktrace:\n\n```\nTraceback (most recent call last):\n File \"/bin/tmuxp\", line 11, in \u003cmodule>\n load_entry_point('tmuxp==1.2.2', 'console_scripts', 'tmuxp')()\n File \"/usr/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\n return self.main(*args, **kwargs)\n File \"/usr/lib/python3.5/site-packages/click/core.py\", line 696, in main\n rv = self.invoke(ctx)\n File \"/usr/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/usr/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/usr/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\n return callback(*args, **kwargs)\n File \"/usr/lib/python3.5/site-packages/click/decorators.py\", line 17, in new_func\n return f(get_current_context(), *args, **kwargs)\n File \"/usr/lib/python3.5/site-packages/tmuxp/cli.py\", line 511, in command_load\n load_workspace(config[-1], **tmux_options)\n File \"/usr/lib/python3.5/site-packages/tmuxp/cli.py\", line 253, in load_workspace\n reattach(builder.session)\n File \"/usr/lib/python3.5/site-packages/tmuxp/cli.py\", line 244, in reattach\n session.attach_session()\nAttributeError: 'NoneType' object has no attribute 'attach_session'\n```\n\n\u003cbr>\n#132 was a similar issue except with dots instead of numbers\n\nAlso, if the number is within the `session_name`, it works correctly, and if `test` is loaded before `test2`, it also works correctly.\n","author":{"url":"https://github.com/borisjoffe","@type":"Person","name":"borisjoffe"},"datePublished":"2016-10-11T23:43:01Z","url":"https://github.com/tmux-python/tmuxp/issues/183"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:80aba628-4ab4-19c0-ff73-9bc37f16c910 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB0:2433F1:D229E:11A1F9:6B008079 |
| html-safe-nonce | 53ac1a0f10168937b1a34e45755fd9aed123ff411adc7071e3c3791013bfd3cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUIwOjI0MzNGMTpEMjI5RToxMUExRjk6NkIwMDgwNzkiLCJ2aXNpdG9yX2lkIjoiNzQxMDQzNDM4ODQ1MTY4ODU2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7e0414b161836a0197e0c1e6c43bce616e99c10103a21efc7612d5a8449358dd |
| hovercard-subject-tag | issue:182401537 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/tmux-python/tmuxp/183/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a90bf3191e930c6dc602ddd04dfff9c0a975fb1dcb0ecf93af7b79c9ae7e6a62/tmux-python/tmuxp/issues/183 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a90bf3191e930c6dc602ddd04dfff9c0a975fb1dcb0ecf93af7b79c9ae7e6a62/tmux-python/tmuxp/issues/183 |
| og:image:alt | tmux 2.3 tmuxp 1.2.2 Repro steps: Freeze a current tmux session Change session_name to test in the yaml file Duplicate the yaml file Change session_name to test2 in the duplicate file Use tmuxp to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | borisjoffe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| turbo-cache-control | no-preview |
| go-import | github.com/tmux-python/tmuxp git https://github.com/tmux-python/tmuxp.git |
| octolytics-dimension-user_id | 37234308 |
| octolytics-dimension-user_login | tmux-python |
| octolytics-dimension-repository_id | 12398170 |
| octolytics-dimension-repository_nwo | tmux-python/tmuxp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12398170 |
| octolytics-dimension-repository_network_root_nwo | tmux-python/tmuxp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width