polyipseity / obsidian-terminal

Integrate consoles, shells, and terminals inside Obsidian.
GNU Affero General Public License v3.0
163 stars 7 forks source link

Does on work on Mac, access error #2

Closed jsifalda closed 1 year ago

jsifalda commented 1 year ago

Firstly, I had to change the path to the terminal to this: /System/Applications/Utilities/Terminal.app. Now, I am getting the following error: Obsidian - how-to-commit - wiki - Obsidian v1 1 9 2023-01-13 at 5 14 59 PM Access error, any way around it?

polyipseity commented 1 year ago

Can you try /System/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal? I made a change to the default terminal on macOS at c027aa700e8c0f08f7fd86f3896e9bbef29acf3a, which should be available from the latest version (2.8.1).

Sidenote: the escaping issue with / is resolved in the latest version as well.

jsifalda commented 1 year ago

it seems that the previous issue is fixed, however I am not still able to use the terminal - it opens but nothing else happen. :( I cannot write anything there

https://capture.dropbox.com/sWjPhAXEKsibRtgr

chadblack commented 1 year ago

Using either Terminal or iTerm2, I get this error trying to open a terminal window inside of Obsidian. I have installed Python 3.11 and the two libraries recommended. External terminals will open, but only in the home directory of the computer, not a directory of the vault.

image
jsifalda commented 1 year ago

Using either Terminal or iTerm2, I get this error trying to open a terminal window inside of Obsidian. I have installed Python 3.11 and the two libraries recommended. External terminals will open, but only in the home directory of the computer, not a directory of the vault.

image

@chadblack to fix this, disable resizer config in plugin settings

polyipseity commented 1 year ago

@jsifalda, @chadblack: Great news, the latest version (2.9.0) should fix the issues with integrated terminals. I have tested it on both Linux and macOS myself. You only need to install Python 3.10/+ is installed (psutil and pywinctl is no longer required on Unix) and reset your settings to start using them. External terminals are not fixed yet though as it requires adding new plugin settings.

jsifalda commented 1 year ago

sorry @polyipseity , but no luck it seems:

python version: Python 3.10.8

getting this: Obsidian - monorepo - surglogs-fe-wiki - Obsidian v1 1 9 2023-01-21 at 8 53 34 PM

Now i can write inside but not execute the command :(

polyipseity commented 1 year ago

@jsifalda: I see that you are stlling using /System/Applications/ Utilities/Terminal.app/Contents/MacOS/Terminal. You shoould change it to from a terminal emulator to a shell like /bin/zsh. (because the integrated terminal itself is already a terminal emulator)

在 2023年1月22日週日 03:54,Jiri Sifalda @.***> 寫道:

sorry @polyipseity https://github.com/polyipseity , but no luck it seems:

python version: Python 3.10.8

getting this: [image: Obsidian - monorepo - surglogs-fe-wiki - Obsidian v1 1 9 2023-01-21 at 8 53 34 PM] https://user-images.githubusercontent.com/1549390/213884769-0e1f8959-22d7-4f15-9395-0b38bdb381d9.png

Now i can write inside but not execute the command :(

— Reply to this email directly, view it on GitHub https://github.com/polyipseity/obsidian-terminal/issues/2#issuecomment-1399321468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGXX6UI5UZJDLVC6IA77V3WTQ5IPANCNFSM6AAAAAAT2SOILY . You are receiving this because you were mentioned.Message ID: @.***>

jsifalda commented 1 year ago

very nice! now, it seems to be working! thanks a lot

chadblack commented 1 year ago

Works now! Thanks!