-
Notifications
You must be signed in to change notification settings - Fork 1
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
Local toolkit not found #99
Comments
Verified the same issue with another toolkit. |
in v1.0.1 I get a new error like: |
@joergboe Thanks, will look into this. |
I have a spl application that requires a specific (newer) toolkit version.
The info.xml file requires com.ibm.streamsx.sttgateway 2.2.1
The tookits on build server has com.ibm.streamsx.sttgateway 2.1.1
I add the local toolkit path to the newer toolkit version an refresh the toolkits.
The configuration is now:
[2020-06-10T09:24:58+02:00][DEBUG] The IBM Streams SPL Language Server is starting.
[2020-06-10T09:25:04+02:00][DEBUG] The IBM Streams SPL Language Server is running.
[2020-06-10T09:26:16+02:00][INFO]
Streams toolkits:
Build service toolkits:
com.ibm.streams.cep - 2.1.2
com.ibm.streams.cybersecurity - 2.1.2
com.ibm.streams.geospatial - 3.4.2
com.ibm.streams.pmml - 3.0.1
com.ibm.streams.rproject - 2.1.3
com.ibm.streams.rules - 2.1.3
com.ibm.streams.rulescompiler - 1.2.19
com.ibm.streams.teda - 2.3.1
com.ibm.streams.text - 2.3.3
com.ibm.streams.timeseries - 5.0.3
com.ibm.streamsx.avro - 1.4.2
com.ibm.streamsx.datetime - 1.2.1
com.ibm.streamsx.dps - 4.1.1
com.ibm.streamsx.elasticsearch - 2.1.5
com.ibm.streamsx.eventstore - 2.3.3
com.ibm.streamsx.hbase - 3.8.3
com.ibm.streamsx.hdfs - 5.2.1
com.ibm.streamsx.inet - 3.1.2
com.ibm.streamsx.inetserver - 4.3.2
com.ibm.streamsx.iot - 1.2.0
com.ibm.streamsx.jdbc - 1.7.2
com.ibm.streamsx.jms - 2.0.1
com.ibm.streamsx.json - 1.5.3
com.ibm.streamsx.kafka - 3.0.4
com.ibm.streamsx.mail - 2.0.1
com.ibm.streamsx.messagehub - 3.0.2
com.ibm.streamsx.messaging - 5.4.2
com.ibm.streamsx.mqtt - 1.0.4
com.ibm.streamsx.network - 3.3.1
com.ibm.streamsx.objectstorage - 2.1.3
com.ibm.streamsx.rabbitmq - 1.2.2
com.ibm.streamsx.sparkmllib - 1.3.1
com.ibm.streamsx.sttgateway - 2.1.1
com.ibm.streamsx.topology - 1.14.13
spl - 1.4.0
Local toolkits from /home/joergboe/git/streamsx.sttgateway/com.ibm.streamsx.sttgateway:
com.ibm.streamsx.sttgateway - 2.2.1
[2020-06-10T09:26:58+02:00][INFO] Initializing toolkit index cache...
[2020-06-10T09:27:18+02:00][SUCCESS] Toolkit indexes cached successfully.
But when I try to compile the application only the older build-server version is found:
[2020-06-10T09:28:27+02:00][INFO] Received request to build.
[2020-06-10T09:28:27+02:00][INFO] Selected: /home/joergboe/wscode3/application/STTDemoAppVsCode.spl
[2020-06-10T09:28:27+02:00][INFO] Selected Streams instance: streams.
[2020-06-10T09:28:28+02:00][INFO] Building the application archive for the application application::STTDemoAppVsCode...
[2020-06-10T09:28:34+02:00][INFO] Building the application application::STTDemoAppVsCode using the Streams instance streams...
[2020-06-10T09:28:38+02:00][INFO]
sc -M application::STTDemoAppVsCode -t $STREAMS_INSTALL/toolkits
[2020-06-10T09:28:58+02:00][INFO]
CDISP0384E ERROR: The STTDemoAppVsCode toolkit requires version [2.2.1,3.0.0) of the com.ibm.streamsx.sttgateway toolkit, but version 2.1.1 of the required toolkit is currently installed.
CDISP0884W WARNING: Errors occurred while the toolkits were loading.
CDISP0092E ERROR: Because of previous compilation errors, the compile process cannot continue.
make: *** [main] Error 1
[2020-06-10T09:28:58+02:00][ERROR]
Error: Failed to build the application application::STTDemoAppVsCode using the Streams instance streams. CDISB5052E The 25 build received an error during build processing. Error code is: '2'.
at /home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:1:52099
at c (/home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:8:85118)
at Generator._invoke (/home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:8:84871)
at Generator.forEach.e. [as next] (/home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:8:85475)
at n (/home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:1:131261)
at s (/home/joergboe/.vscode/extensions/ibm.ibm-streams-1.0.1/dist/extension.js:1:131472)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
The text was updated successfully, but these errors were encountered: