Comments (10)
@travisroberts-sf Are you able to run a .yml file at all or does that fail also?
from itomate.
Nope same thing:
myusernamehere@travisrober-ltm Downloads % itomate -c panes-only.yml
Traceback (most recent call last):
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/iterm2/connection.py", line 412, in async_connect
return await coro(self)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/iterm2/connection.py", line 219, in async_main
result = await coro(connection)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/itomate/itomate.py", line 200, in activate
await render_tab_panes(curr_tab, tab_panes, profile_name)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/itomate/itomate.py", line 74, in render_tab_panes
current_session = await current_session.async_split_pane(vertical=True, profile=pofile_name)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/iterm2/session.py", line 509, in async_split_pane
result.split_pane_response.status))
iterm2.session.SplitPaneException: INVALID_PROFILE_NAME
Traceback (most recent call last):
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 827, in transfer_data
message = await self.read_message()
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 971, in read_data_frame
frame = await self.read_frame(max_size)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 1051, in read_frame
extensions=self.extensions,
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/framing.py", line 105, in read
data = await reader(2)
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/asyncio/streams.py", line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/iterm2/connection.py", line 173, in _async_dispatch_forever
data = await self.websocket.recv()
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 509, in recv
await self.ensure_open()
File "/Users/myusernamehere/.pyenv/versions/3.7.0/lib/python3.7/site-packages/websockets/protocol.py", line 803, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
myusernamehere@myusernamehere-ltm Downloads %
from itomate.
@travisroberts-sf Are you sure that the api permissions in iTerm2 were accepted properly?
from itomate.
other than checking the box that enables the API is there any other place that needs to be enabled/granted?
from itomate.
Any other thoughts of why this would be failing?
from itomate.
@travisroberts-sf What is your python version and iTerm version? I noticed you also posted an issue that looks like you can now run a file. Is this issue still valid?
from itomate.
from itomate.
@travisroberts-sf There is a pull request open that fixes this issue. I was able to reproduce it.
from itomate.
Thanks, this should be fine in 0.3.9
from itomate.
This problem was solved on 0.3.9? I'm with this version and it still happening.
Python 3.8.9 under asdf.
Traceback (most recent call last):
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/iterm2/connection.py", line 421, in async_connect
return await coro(self)
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/iterm2/connection.py", line 228, in async_main
result = await coro(connection)
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/itomate/itomate.py", line 192, in activate
commands.insert(0, f"cd {root_path}")
AttributeError: 'str' object has no attribute 'insert'
Traceback (most recent call last):
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 944, in transfer_data
message = await self.read_message()
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1013, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1089, in read_data_frame
frame = await self.read_frame(max_size)
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1144, in read_frame
frame = await Frame.read(
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/framing.py", line 70, in read
data = await reader(2)
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/asyncio/streams.py", line 721, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/iterm2/connection.py", line 182, in _async_dispatch_forever
data = await self.websocket.recv()
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 552, in recv
await self.ensure_open()
File "/Users/neri/.asdf/installs/python/3.8.9/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 920, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: sent 1000 (OK); no close frame received
from itomate.
Related Issues (18)
- Feature request: configure the size of the iTerm window HOT 1
- [FR] Highlight selected pane, not the last one HOT 1
- [FR] Create as a new window HOT 1
- [FR] Allow 1/1 + 1/2 + 2/2 combination HOT 3
- [FR] Ability to set a root starting directory for all panes HOT 1
- Command -h failing
- [FR] Add Tab Colors HOT 1
- [FR] Add ability to define Status Bar Components HOT 2
- [FR] Ability to use Environment Variables in YML file HOT 1
- [FR] Select iTerm profile for a new window HOT 2
- [FR] Set Badge Text For Each Pane HOT 1
- how can i use tmux
- Mismatch in version and release HOT 1
- commands not executed within python3.8 HOT 4
- Creating panes under a single broad pane does not work. HOT 2
- Requires broad iTerm API permissions HOT 1
- [FR] Interactive mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itomate.