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
Init fails #46
Comments
Thanks for reporting this. I'll try to replicate this on macOS. Background: |
I wasn't able to reproduce this on macOS 12.3.1, Python version 3.10.4 Could you verify if click is working fine independently of lakshmi? I believe the following should fail as well on your system (in Terminal):
My current hypothesis is that somehow click is trying to open an editor on your system that is not working. Could you try this on your terminal and paste the output here:
Perhaps the following workaround might work for you:
|
Any luck trying those suggestions? |
My $EDITOR was set to `code` (vscode) I switched it to `vim` and it worked
fine
On April 30, 2022 at 11:10:33 AM, Sarvjeet Singh ***@***.***) wrote:
I wasn't able to reproduce this on macOS 12.3.1, Python version 3.10.4
Could you verify if click is working fine independently of lakshmi? I
believe the following should fail as well on your system (in Terminal):
$ python # or python3
>> import click
>> click.edit('Test')
My current hypothesis is that somehow click is trying to open an editor on
your system that is not working. Could you try this on your terminal and
paste the output here:
$ echo $EDITOR
Perhaps the following workaround might work for you:
# Check if your editor is working. vim or nano should be installed on
your system:
$ nano # or vim
# Quit nano
$ export EDITOR=nano
$ lak init # This should open nano to setup your portfolio.
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAER7KC5JSUGKCMVSTR52LVHVSQRANCNFSM5UXKGGTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for the update. I'm glad that it's working. I hope you find Lakshmi useful. Closing this issue for now. |
macOS - M1 Max
installed with pip
Python 3.9.12
lak --help
returns help correctly.lak init
fails after a couple of seconds... printingAborted!
and attempting to open a editor toeditor-{RANDOM}.txt
I'm not a python developer but I have to run a few other python CLI tools from time to time.
The text was updated successfully, but these errors were encountered: