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

Intermittent "toolkit out of date" error #69

Open
natashadsilva opened this issue Oct 7, 2019 · 0 comments
Open

Intermittent "toolkit out of date" error #69

natashadsilva opened this issue Oct 7, 2019 · 0 comments

Comments

@natashadsilva
Copy link
Member

natashadsilva commented Oct 7, 2019

I’m using VSCode and getting this error at times when building an SPL file from a folder that doesn’t have a info.xml file defined:

2019-10-03T17:00:14.970+0000 sc -M HeadsTails -t $STREAMS_INSTALL/toolkits:../toolkits
2019-10-03T17:00:19.141+0000 CDISP0127E ERROR:The following toolkit file is out of date:../toolkits/undefined/toolkit.xml. This file is newer: ../toolkits/undefined/com.ibm.streamsx.slack/SendSlackMessage/SendSlackMessage.xml..

I’m not sure what happened but it goes away if I try again, or if I trigger a refresh of the toolkits directory by changing it to a different folder and then changing it back.

I have these toolkits in my toolkit directory, not sure if it matters.
com.ibm.streamsx.nlp
com.ibm.streamsx.objectstorage
com.ibm.streamsx.inet
com.ibm.streamsx.slack

Sample app

public composite SubscribeToBusLocations
{
    type
    /** @exclude */
        JsonS = rstring jsonString ;
        NextBusData =  rstring bus_id, float32 lat, float32 lon, float32 speed, rstring last_seen, int64 last_seen_ms;
    graph
        stream<JsonS> JsonData = com.ibm.streamsx.topology.topic::Subscribe()
        {
            param
                topic : "bus_locations";
                streamType : JsonS ;
        }

        @view(name = "ParsedJSONFromMicroservice", port = ParsedData, sampleSize = 20, bufferSize = 50,
            activateOption = firstAccess)
        @parallel(width = 3)
		stream<NextBusData> ParsedData = com.ibm.streamsx.json::JSONToTuple(JsonData)
		{
  		param
  			inputAttribute: jsonString;
		}

        () as  Sink2  = Custom (ParsedData as in0){
                        logic
                                    onTuple in0: {
                                        printStringLn (" Incoming: "
                                         + ((rstring)in0));
                                    }
         }
		 
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant