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

Kernel start fails with unknown option --ip=127.0.0.1 #127

Open
kMutagene opened this issue Feb 13, 2023 · 5 comments
Open

Kernel start fails with unknown option --ip=127.0.0.1 #127

kMutagene opened this issue Feb 13, 2023 · 5 comments

Comments

@kMutagene
Copy link

Hi there, cool project and i would love to use it. However, the kernel does not start for me in a fresh conda environment using jupyter with vscode:

image

Any hints on how to solve this?

Here are the jupyter logs:

error 13:48:35.907: Error in execution (get message for cell) [ap [Error]: The kernel died. Error: unknown option --ip=127.0.0.1
usage: /home/csb_admin/anaconda3/envs/xeus-sqlite/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.... View Jupyter [log](command:jupyter.viewOutput) for further details.
	at ChildProcess.<anonymous> (/home/csb_admin/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:102857)
	at ChildProcess.emit (node:events:538:35)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)] {
  category: 'kerneldied',
  kernelConnectionMetadata: Zd {
    kind: 'startUsingPythonInterpreter',
    kernelSpec: id {
      specFile: '/home/csb_admin/anaconda3/envs/xeus-sqlite/share/jupyter/kernels/xsqlite/kernel.json',
      interpreterPath: '/home/csb_admin/anaconda3/envs/xeus-sqlite/bin/python',
      isRegisteredByVSC: 'registeredByNewVersionOfExtForCustomKernelSpec',
      name: 'pythonjvsc74a57bd05e91d0f63ce49382f18b9e612cdf94dd5611a3d00a569b3cf5de0f12d01f01e4',
      argv: [Array],
      language: 'sqlite',
      executable: '/home/csb_admin/anaconda3/envs/xeus-sqlite/bin/xsqlite',
      display_name: 'xsqlite',
      metadata: [Object],
      env: undefined,
      interrupt_mode: undefined
    },
    interpreter: {
      id: '/home/csb_admin/anaconda3/envs/xeus-sqlite/bin/python',
      sysPrefix: '/home/csb_admin/anaconda3/envs/xeus-sqlite',
      envPath: [f],
      displayPath: [f],
      envName: 'xeus-sqlite',
      uri: [f],
      displayName: 'xeus-sqlite',
      envType: 'Conda',
      version: [Object]
    },
    id: '.jvsc74a57bd05e91d0f63ce49382f18b9e612cdf94dd5611a3d00a569b3cf5de0f12d01f01e4#xsqlite./home/csb_admin/anaconda3/envs/xeus-sqlite/python././home/csb_admin/anaconda3/envs/xeus-sqlite/bin/xsqlite#-f#{connection_file}'
  },
  exitCode: 2,
  stdErr: 'unknown option --ip=127.0.0.1\n' +
    'usage: /home/csb_admin/anaconda3/envs/xeus-sqlite/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...\n' +
    "Try `python -h' for more information.\n"
}
info 13:48:35.921: Process Execution: > ~/anaconda3/envs/xeus-sqlite/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
> ~/anaconda3/envs/xeus-sqlite/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
´´´
@marimeireles
Copy link
Member

Error: unknown option --ip=127.0.0.1
Never saw this error before... I guess I'd have to test it myself on a vscode instance.
Did it use to work before?

@kMutagene
Copy link
Author

Did it use to work before?

Nope, this is the first message that i got from the kernel after following the install steps.
I also tried to test it locally with my windows machine, but there i can't install it with a fresh miniconda env (PackagesNotFoundError: The following packages are not available from current channels:- xeus-sqlite)

@marimeireles
Copy link
Member

Unfortunately, I don't think it's available on windows.
Sorry, I wasn't clear enough with my question, what I meant was did it use to work with previous versions of xeus-sqlite?

@kMutagene
Copy link
Author

This is the first time i tried it (never have used it before), but i can try pinning previous versions, any recommendations on which version to try?

@marimeireles
Copy link
Member

No, sorry.
I don't think other versions will work... I'd have to invest some time looking for this bug, or if you're up to it and want to investigate.
I'm around if you want to ask questions!

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

No branches or pull requests

2 participants