Closed BlancoConsulting closed 1 year ago
Please share the contents of your Code for IBM i output channel after the list appears locked. Usually this means a CHKOBJ
returned something that indicates you don't have access.
Also, what version of IBM i is this?
@BlancoConsulting Surely there is more than that. You'll need to copy everything in that window, and if it's too big for the issue, stick it into a gist (gist.github.com)
@BlancoConsulting i can see a magnitude of issues here, and this is where it's going wrong and explains why it is locked.
/home/RAMIRO: /QOpenSys/usr/bin/qsh
liblist -d && liblist -c RAMIRO && liblist -a && system "CHKOBJ OBJ(RAMIRO/QCLSRC) OBJTYPE(*FILE) AUT(*UPD)"; if [[ $? -ne 0 ]]; then exit 1; fi
{
"code": 9,
"signal": null,
"stdout": "",
"stderr": ""
}
Can you also share your .profile/.bash_profile here?
Cc @chrjorgensen
Here is the .profile (don't see .bash_profile):
PATH=/QOpenSys/pkgs/bin:$PATH export PATH
LIB=RAMIRO export LIB
if [ -z "$QIBM_USE_DESCRIPTOR_STDIO" ]; then
bash
exit
else
PS1="eradani-connect [$(id -un)]> "
fi
Seems like there is a problem with the library list? Empty liblist -d and liblist -a...??
Why the following command not working?
/home/RAMIRO: /QOpenSys/usr/bin/qsh liblist { "code": 9, "signal": null, "stdout": "", "stderr": "" }
This is the same command on a different machine.
This solved the problem with locked source members.
Source members are locked, or ready only.
Filter "Protected" not checked. Settings "Read only mode" not checked.
👉🏻 Issue text goes here.
Active extensions
``` Beautify (beautify): 1.5.0 CL (vscode-clle): 1.1.2 COBOL (cobol): 9.9.21 Code Spell Checker (code-spell-checker): 3.0.1 Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.2 Comment Anchors (comment-anchors): 1.10.3 Db2 for IBM i (vscode-db2i): 0.4.1 Dev Containers (remote-containers): 0.309.0 ESLint (vscode-eslint): 2.4.2 Emmet (emmet): 1.0.0 Eradani Extension (ec-generators): 0.9.11 Error Lens (errorlens): 3.14.0 Extension Authoring (extension-editing): 1.0.0 Git (git): 1.0.0 Git Base (git-base): 1.0.0 Git Graph (git-graph): 1.30.0 GitHub (github): 0.0.1 GitHub Authentication (github-authentication): 0.0.2 GitHub Copilot (copilot): 1.116.440 GitHub Copilot Chat (copilot-chat): 0.7.1 GitLens — Git supercharged (gitlens): 14.3.0 IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6 JSON Language Features (json-language-features): 1.0.0 Live Server (LiveServer): 5.7.9 Merge Conflict (merge-conflict): 1.0.0 Microsoft Account (microsoft-authentication): 0.0.1 NPM support for VS Code (npm): 1.0.1 Node Debug Auto-attach (debug-auto-launch): 1.0.0 Remote - Tunnels (remote-server): 1.4.3 TODO Highlight (vscode-todo-highlight): 1.0.5 TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0 WSL (remote-wsl): 0.81.4 WSL: Recommender (remote-wsl-recommender): 0.0.19 ```Remote system
|Setting|Value| |-|-| |IBM i OS|n/a| |Tech Refresh|n/a| |CCSID|?| |SQL|Disabled |Source dates|Disabled ### Enabled features |/QOpenSys/pkgs/bin|/usr/bin|/QSYS.lib/ILEDITOR.lib|/QSYS.LIB| |-|-|-|-| |bash|attr|GENCMDXML.PGM|QZDFMDB2.PGM| |git|iconv|GETNEWLIBL.PGM|| |grep|setccsid||| |ls|||| |md5sum|||| |sort|||| |stat|||| |tar||||Shell env
```bash ```Variants
```json { "american": "#@$", "local": "#@$" } ```Errors
```json [ { "command": "system \"CRTLIB LIB(ILEDITOR) TEXT('Code for i temporary objects. May be cleared.')\"", "code": 255, "stderr": "CPF2111: Library ILEDITOR already exists.", "cwd": "/home/JOHN" }, { "command": "ls undefined", "code": 2, "stderr": "undefined not found", "cwd": "/home/JOHN" }, { "command": "export BUILDLIB=\"JOHN\" && export CURLIB=\"JOHN\" && export USERNAME=\"john\" && export HOST=\"IBM\" && export HOME=\"/home/JOHN\" && export LIBLS=\"\" && env", "code": 1, "stderr": "bsh: BUILDLIB=JOHN: is not an identifier", "cwd": "/home/JOHN" } ] ```