IBM / vscode-ibmi-projectexplorer

IBM i Project Explorer for VS Code
https://ibm.github.io/vscode-ibmi-projectexplorer/
Apache License 2.0
22 stars 7 forks source link

IBMi-bob - Deploy and build errors with Project Explorer #576

Closed cosentino-smeup closed 2 months ago

cosentino-smeup commented 2 months ago

When I execute the build of a project with IBMi-bob I get this error (build.log):

bsh: LIBL=IBMBOB_C QTEMP SMEUP_DAT SMETAB PER_SRVL SMEDEV QGPL: is not an identifier

If I repeat the build, I get this error (build-2.log):

Starting MD5 synchronization transfer
Deployment failed: TypeError: Cannot read properties of undefined (reading 'trim')

If I tried cleaning the IFS folder but it doesn't change. I also created the following files in my home directory: .profile and .bashrc

I did the same thins on another IBMi and there weren't any issues.

What could be the problem?

build.log build-2.log

SanjulaGanepola commented 2 months ago

Hello @cosentino-smeup. Can you share the content of your iproj.json and .env file? If you prefer to send it privately, please email Sanjula.Ganepola@ibm.com

Also, can you please share the full Code for IBM i log after reproducing the error. This can be downloaded from the Help View:

image

cosentino-smeup commented 2 months ago

Hello @SanjulaGanepola I just shared with you a folder on google drive containing the things you requested.

I used the IBM example repository to reproduce the error.

Thank you

SanjulaGanepola commented 2 months ago

Thanks for sharing that. Looks like your $SHELL is not set to bash. You should see the following notification when this happens:

image

After you do this, reconnect and try building.

cosentino-smeup commented 2 months ago

Thanks for sharing that. Looks like your $SHELL is not set to bash. You should see the following notification when this happens:

image

After you do this, reconnect and try building.

That's it !!! now it works .. thank you!