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

Code for IBM i will not function correctly until the temporary library has been corrected in the settings. #2363

Closed
Fdeuabbh opened this issue Nov 25, 2024 · 9 comments
Labels
discussion For questions

Comments

@Fdeuabbh
Copy link

Code for i is connected to the server successfully, but when i've got the message
"Code for IBM i will not function correctly until the temporary library has been corrected in the settings." i could not access to the libraries.

Is there any solution ?

image

@sebjulliand sebjulliand added the discussion For questions label Nov 25, 2024
@sebjulliand
Copy link
Collaborator

Hi @Fdeuabbh ,
click on the Open Settings button and then change these values
image

You must use a library and an IFS folder your IBM i profile can write into.

@Fdeuabbh
Copy link
Author

Hi ,
I changed this value to my library and i've got the same problem

@sebjulliand
Copy link
Collaborator

Please copy/paste your Code for IBM i output after this message appears.
code for i output

@kziem
Copy link

kziem commented Jan 9, 2025

Hi @sebjulliand, im getting same error, but i get no such messages in output like 'RECORD(S) SELECTED.'

i can see that there is a log entry:

Code for IBM i components:
0 (1): Error
1 (1): Error
2 (0): Error
3 (1): Installed

and a few entries like:

/home/myuser: ls -p /QOpenSys/pkgs/bin/
{
    "code": 2,
    "signal": null,
    "stdout": "",
    "stderr": "/QOpenSys/pkgs/bin/ not found"
}

/home/myuser: ls -p /QSYS.lib/myuser.lib/GE*.PGM
{
    "code": 2,
    "signal": null,
    "stdout": "",
    "stderr": "/QSYS.lib/myuser.lib/GE*.PGM not found"
}

I kept the temp lib and ifs path default (ILEDITOR and /tmp) as same settings work somehow on my other iseries system
And when i change them to my lib and ifs folder i get the same error

@sebjulliand
Copy link
Collaborator

Hi @kziem ! /QOpenSys/pkgs/bin being not found sounds very concerning 😅

Could you check if it actually exists or not? If it exists, is it accessible to you?

@kziem
Copy link

kziem commented Jan 9, 2025

There is no folder /QOpenSys/pkgs on this system 😕
I've got access to all subfolders and files in /QOpenSys

@sebjulliand
Copy link
Collaborator

No worries. You won't find its content anywhere else 🥲
This pkgs subfolder contains the open source softwares installed on IBM i. So first, try installing the OSS and yum: https://ibmi-oss-docs.readthedocs.io/en/latest/yum/README.html
Then make sure bash is installed and it's your default shell. (Check the code for i documation as well as the site linked above)
Once you're all set, Code for i should run just fine!

@kziem
Copy link

kziem commented Jan 10, 2025

Thanks for your reply 🙂
Sadly I cannot really install anything on that system, but I found sameish files in /Qopensys/bin folder, can I somehow change config of extension to use that instead?

@sebjulliand
Copy link
Collaborator

No, unfortunately you'll be stuck until you can get a friendly sys admin to install these tools for you.

/QOpensys/bin content is a different set of binaries, don't mess with QOpensys' content in any way 😅

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

No branches or pull requests

4 participants