John Murray · Sep 30, 2024 go to post

Setting this up on a 2024.2 Windows instance hasn't been easy, and even now I'm only getting a blank page like @Jeffrey.Drummreported elsewhere on this thread. His IRIS was 2024.2 but not on Windows.

Hurdles were:

  • zpm 0.7.2 was failing because 2024.2 on Windows doesn't bundle pip. I got a bit further by upgrading to 0.7.3 which shipped last week.
  • zpm 0.7.3 wouldn't install iterm until I'd gone through the Flexible Python Runtime setup steps and also worked out for myself the extra zpm steps (did I overlook documentation for these?):
zpm:%SYS>config set UseStandalonePip 1

zpm:%SYS>config set PipCaller "C:\Program Files\Python312\Scripts\pip.exe"

So now I have it installed in %SYS (thanks to the tip from @Evgeny.Shvarovin this thread):

zpm:%SYS>list
zpm   0.7.3
iterm 0.1.0
zpm:%SYS>

But still the blank page. And I'm wondering why the iterm contest entry mentions WSGI but the /iterm app set up by the installer is a REST one rather than a WSGI one.

So far, no gain in return for the pain, and I'll continue to get along with Lite Terminal that's built in to the VS Code ObjectScript extension. It requires zero config and works on 2023.2+

John Murray · Sep 30, 2024 go to post

The missing `set` was because I had copied the wrong line from my shell session. I have edited the post to correct this.

I get the same as Jeff, so it seems the zpm install installed the requirements OK.

Thanks for adding the BYOP doc to the wiki.

John Murray · Oct 1, 2024 go to post

Since the Cody people talk about "the repository" I'm guessing they mean a local Git repository. When you're using ISFS you're using the server-side editing paradigm, so no local Git repository is involved.

John Murray · Oct 1, 2024 go to post

It seems that sometimes the first command you issue after opening the tab doesn't run. Please try `version` twice. After you get the version response try using other commands.

John Murray · Oct 1, 2024 go to post

Disappointed that you have picked such a US-centric time for this, so I won't be able to participate.

Thank you for rescheduling the meeting. 

John Murray · Oct 2, 2024 go to post

Has anyone here succeeded in making this work with 2024.1 or 2024.2 on Windows? I've tried two separate IRIS instances, and in both cases I only get a blank black page after IRIS authentication.

John Murray · Oct 2, 2024 go to post

Browser devtools network trace shows this repeatedly:

oops: <PYTHON EXCEPTION> 246 <class 'ModuleNotFoundError'>: No module named 'termios'

John Murray · Oct 2, 2024 go to post

@Jeffrey.Drummdoes this also happen if you launch iterm from a private browser session?

John Murray · Oct 2, 2024 go to post

Are you able to launch an IRIS Lite Terminal onto this server from inside VS Code? Testing  this could rule out it being an issue with websockets.

John Murray · Oct 2, 2024 go to post

@Jeffrey.DrummI think your issue is likely to be that the app apparently assumes this OS-level command will lead directly to an IRIS shell prompt without requiring credentials. On Linux this means the %Service_Terminal service is accepting Operating System authentication. There must also be an IRIS user definition that matches the OS username under which IRIS runs, and that user must have sufficient rights. Enabling login-related audit messages may help you diagnose failures in this area:

/path/to/iris/bin/irisdb -s/path/to/iris/mgr
John Murray · Oct 3, 2024 go to post

What about if you are logged into Linux as the userid which your IRIS runs as? On a default install it's typically irisusr, and on the containerized IRIS instances @Dmitry.Maslennikovprobably uses it's typically irisowner.

Here's what I find when I successfully connect to a Docker container created from a DC registry image, authenticating as SuperUser/SYS

Node: d2ba2ec8dbce, Instance: IRIS

USER>w $zv
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2024.1 (Build 262U) Thu Mar 7 2024 15:36:40 EST
USER>w $username
SuperUser
USER>!whoami
irisowner

USER>
John Murray · Oct 5, 2024 go to post

I hope you will do me the honour of reviewing my IPM VS Code extension, and of taking a look at the new extensions I added to the 2024 edition of the DX Jetpack extension pack that you reviewed last year. 

John Murray · Oct 7, 2024 go to post

Yes, maybe the Management Portal login on the server allows Unauthenticated.

John Murray · Oct 10, 2024 go to post

With the release of VS Code 1.94.2 today this problem has been resolved unless you are using a multi-root workspace that has one or more file:// root folders in addition to your isfs:// one(s).

A side effect of the 1.94.2 fix is that people using our beta VSIX with proposed APIs enabled will no longer get the benefit of the new 1.94 Explorer Find functionality, despite the beta being capable of participating in this. We hope the VS Code team will resolve this in 1.95 next month.

John Murray · Oct 21, 2024 go to post

David, if you point your Edge to edge://policy/ does it report an AuthSchemes policy value?