xeus-sqlite icon indicating copy to clipboard operation
xeus-sqlite copied to clipboard

Kernel start fails with `unknown option --ip=127.0.0.1`

Open kMutagene opened this issue 2 years ago • 5 comments

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')"
´´´

kMutagene avatar Feb 13 '23 13:02 kMutagene

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?

marimeireles avatar Feb 13 '23 14:02 marimeireles

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)

kMutagene avatar Feb 13 '23 14:02 kMutagene

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?

marimeireles avatar Feb 13 '23 15:02 marimeireles

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?

kMutagene avatar Feb 14 '23 07:02 kMutagene

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!

marimeireles avatar Feb 28 '23 13:02 marimeireles