wizbots / labtab

0 stars 0 forks source link

Uploading of videos never ends #95

Open internetmosquito opened 6 years ago

internetmosquito commented 6 years ago

Many mentors complain that they can't upload videos because they're kept uploading forever

From Fredy Lopez in program 36342

1528991960699_logs.zip

From Robin Signorellu in program 36337

1529025102213_logs.zip

From unknown mentor in Union Church of Cupertino, Cupertino, SKU: 36344

1528990367817_logs.zip

We need to know why this happens, from Joshua, only 2 out of 20 videos were uploaded

internetmosquito commented 6 years ago

More occurences, based on Joshua's email

I have taken the labtab from Los Altos to help upload week one videos. Fredy was only working week one. Ryan worked week two and that is when I retrieved the labtab after his week was over to catch up. I noticed when I went into the Gallery folder that there were no videos at all stored. I logged in with his account and saw the videos in his "video list" but only 3 were showing a green 100%, all other videos (about 50 or so) were still in the red "uploading."

I connected the tablet to a laptop and asked to see all hidden files but there were no videos to be found.

In the video list on the tablet, videos marked 100% did not show a thumbnail in the video display as if there were no videos in the tablet to pull images from. Do you think they were erased and that is why I cannot find any in gallery as well as the reason why the thumbnail is not showing for 100% uploaded videos?

Adding logs, @kapoorutd please let me know what you see wrong here. it was mentor Fredy in Los Altos lab. 1530816687159_logs.zip

kapoorutd commented 6 years ago

Hi @internetmosquito, Please find below the error logs found in log file "1530816687159_logs.zip" -

[ 06-13 15:40:01.226 19257:21412 W/art ] Throwing OutOfMemoryError "Failed to allocate a 4147212 byte allocation with 2704376 free bytes and 2MB until OOM"

[ 06-13 15:40:01.961 19257:22090 W/System.err ] java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference

[ 06-13 15:40:02.207 19257:22519 E/MediaMetadataRetrieverJNI ] getFrameAtTime: create Bitmap failed!

[ 06-13 15:40:02.961 19257:22519 D/skia ] --- SkAndroidCodec::NewFromStream returned null

java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 4147212 byte allocation with 2984040 free bytes and 2MB until OOM Caused by: java.lang.OutOfMemoryError: Failed to allocate a 4147212 byte allocation with 2984040 free bytes and 2MB until OOM


However, last time as per our diagnosis in android app I found below mentioned reason regarding this issue - The Category and Knowledge Nuggets criteria corresponding to Category and components criteria in wizbots api doc are not available like Theme option in Category and Brace Strength option in components are not available in wizbots api doc, similarly Planning option in components is not available in Knowledge Nuggets in android application. Please find below the url response which represents if we put criteria which are available in api doc the request goes successful otherwise we are getting 400 status code(Bad request). Successful case : Response{protocol=http/1.1, code=201, message=CREATED, url=http://test.wizbots.com/api/projects/?category=challenge&sku=34705&description=sdfsdf&title=sdfgsdfgd&notes=Fffff&components=Planning&creators=58ec37d00d12a96cec49dccc}

Unsuccessful cases : Base on Category Response{protocol=http/1.1, code=400, message=BAD REQUEST, url=http://test.wizbots.com/api/projects/?category=Theme&sku=34705&description=Fffffvvg&title=fhfhfjgjg&notes=Nfhfhfhfhf&components=Advanced%20Data%20Structures&creators=58ec37d00d12a96cec49dccc}

[size=140 text={"message": "Input payload validation failed", "errors": {"categ…]

Unsuccessful cases : Base on Components (knowledge Nuggets). Response{protocol=http/1.1, code=400, message=BAD REQUEST, url=http://test.wizbots.com/api/projects/?category=challenge&sku=34987&description=Jjjkjkkkk&title=huuuuuuu&notes=Hhjjnkmj&components=Brace%20Strength&creators=5a4d0a8b0d12a9270ac99acf&creators=56e750870d12a902e35c56b7}

[size=92 text={"message": "Input payload validation failed", "errors": {"compo…]

Please find below API name, Request URL, request code and response body to get Knowledge Nuggets (Components) -

API name - getProjectMetaData();

Request Url : http://test.wizbots.com/api/programs/metadata

Response Code : 200

Response Body : [{"color1":"white","color2":"lightsteelblue","projects":["Tick Tock","Hypnotizer","Chariot","Obstacle Course","Build Strong","Castles and Catapults","The Wizbots Way","MadLib"],"name":"Lab Certified","nuggets":["Motor Control","NXT Button Control","Touch Sensor Control","Loop Command","Troubleshoot","Castor Wheel","Decrease Friction","Decorations","PVC Pipe","Zoob","String","Rubber Band","Brace Strength","Rigid Extended Beams","Plan On Paper"],"index":1,"wiz_chips":10},{"color1":"purple","color2":"lightsteelblue","projects":["Windscreen Wiper","Bumper Car","Hello World!","Sound and Music","Plastic Fabtastic","Tallest Robot","LED Wand","Dancing Puppets","Parallerl Programming","Diff Drive Control","Wizball"],"name":"Explorer","nuggets":["NXT Screen Display","Sound Files","Speaker Control","Wait Command","Parallel Programming","If-Else Statement","Decrease Motor Percentage","Clear Screen Display","Recording Sound","Balance","Measuring","LED Wand","Differential Drive Control","Remote Control"],"index":2,"wiz_chips":10},{"color1":"#324596","color2":"lightsteelblue","projects":["Troubleshooting","Wheel Free Racing","Distance Sensor","Table Top Survival","Sound Sensor","Barking Dog","Light Sensor","Sun Flower","Color Sensor","Red Light Green Light","Random Numbers","Floor Sweeper"],"name":"Apprentice","nuggets":["Reverse Engineering","NXT Info","Clean Memory","Writing Log File","Import Log File","Print Command","Calibration","Distance Sensor Control","Sound Sensor Control","Light Sensor Control","Color Sensor Control","Random Programming"],"index":3,"wiz_chips":15},{"color1":"#C84239","color2":"lightsteelblue","projects":["Line Following","Line Racing","Using The Force","Drag Racing","Hoist","Elevator","Screw Gear","Slow Poke"],"name":"Maker","nuggets":["Line Following","Velocity","Plot Graph","Rotational Velocity","Centrifuge","Torque","Weights","Levers","Drive Trains","Gears","Gear For Speed","Gear For Power","Hoist","Pulley","Screw Gear","Switch"],"index":4,"wiz_chips":15},{"color1":"#1B7BA4","color2":"lightsteelblue","projects":["Counting","Boolean Logic","Rotation Sensor","Etch-A-Sketch","Compass Sensor","North Pole Express","Slider Crank","Magnetic Sensor","Shell Game","Ackerman","Steering"],"name":"Imagineer","nuggets":["Counting","Integers","Variables","Arithmetic Relations","Doubles","Delta","Boolean Logic","Truth Table","AND Operator (\u0026\u0026)","OR Operator ( II )","XOR Operator ( ^ )","NOT Operator","Compass Sensor Control","Setting A Start Point","Slider Crank","Magnetic Sensor Control","Ackerman Steering","Rotation Sensor Control","Mechanical Limit","Gripper"],"index":5,"wiz_chips":15},{"color1":"green","color2":"lightsteelblue","projects":["Algorithms","Gyroscope","Data Structures","Accelerometer","Camera"],"name":"Wizard","nuggets":["Flow Control - 3","Boolean Operators","Accelerometer Sensor Control","Camera Sensor Control","File Input and Output","Math Functions","String manipulation"],"index":6,"wiz_chips":15},{"color1":"orange","color2":"lightsteelblue","projects":["Objects","Networking","Behaviors","PID Control","Segway"],"name":"Master","nuggets":["Advanced Data Structures","Basic Object Oriented Progamming","Behavior-based Control","PID Control"],"index":7,"wiz_chips":15}]

and Category option from String-array which is mentioned in string.xml file in res/value folder -

"Select Category challenge contraption game Theme Mad Lib Players Choice Mentors Choice Skill Drill"

internetmosquito commented 6 years ago

@kapoorutd Thanks for reseach, but still unsure what's going on here:

1.- Not enough memory issue? Do we have a memory leak? 2.- So whenever you choose any other category than Challenge, creating a video fails? 3.- How is metadata endpoint related with category? I get this calling that endpoint

 [{
    "color1": "white",
    "color2": "lightsteelblue",
    "projects": ["Tick Tock", "Hypnotizer", "Chariot", "Obstacle Course", "Build Strong", "Castles and Catapults", "The Wizbots Way", "MadLib"],
    "name": "Lab Certified",
    "nuggets": ["Motor Control", "NXT Button Control", "Touch Sensor Control", "Loop Command", "Troubleshoot", "Castor Wheel", "Decrease Friction", "Decorations", "PVC Pipe", "Zoob", "String", "Rubber Band", "Brace Strength", "Rigid Extended Beams", "Plan On Paper"],
    "index": 1,
    "wiz_chips": 10
 }, {
    "color1": "purple",
    "color2": "lightsteelblue",
    "projects": ["Windscreen Wiper", "Bumper Car", "Hello World!", "Sound and Music", "Plastic Fabtastic", "Tallest Robot", "LED Wand", "Dancing Puppets", "Parallerl Programming", "Diff Drive Control", "Wizball"],
    "name": "Explorer",
    "nuggets": ["NXT Screen Display", "Sound Files", "Speaker Control", "Wait Command", "Parallel Programming", "If-Else Statement", "Decrease Motor Percentage", "Clear Screen Display", "Recording Sound", "Balance", "Measuring", "LED Wand", "Differential Drive Control", "Remote Control"],
    "index": 2,
    "wiz_chips": 10
 }, {
    "color1": "#324596",
    "color2": "lightsteelblue",
    "projects": ["Troubleshooting", "Wheel Free Racing", "Distance Sensor", "Table Top Survival", "Sound Sensor", "Barking Dog", "Light Sensor", "Sun Flower", "Color Sensor", "Red Light Green Light", "Random Numbers", "Floor Sweeper"],
    "name": "Apprentice",
    "nuggets": ["Reverse Engineering", "NXT Info", "Clean Memory", "Writing Log File", "Import Log File", "Print Command", "Calibration", "Distance Sensor Control", "Sound Sensor Control", "Light Sensor Control", "Color Sensor Control", "Random Programming"],
    "index": 3,
    "wiz_chips": 15
 }, {
    "color1": "#C84239",
    "color2": "lightsteelblue",
    "projects": ["Line Following", "Line Racing", "Using The Force", "Drag Racing", "Hoist", "Elevator", "Screw Gear", "Slow Poke"],
    "name": "Maker",
    "nuggets": ["Line Following", "Velocity", "Plot Graph", "Rotational Velocity", "Centrifuge", "Torque", "Weights", "Levers", "Drive Trains", "Gears", "Gear For Speed", "Gear For Power", "Hoist", "Pulley", "Screw Gear", "Switch"],
    "index": 4,
    "wiz_chips": 15
 }, {
    "color1": "#1B7BA4",
    "color2": "lightsteelblue",
    "projects": ["Counting", "Boolean Logic", "Rotation Sensor", "Etch-A-Sketch", "Compass Sensor", "North Pole Express", "Slider Crank", "Magnetic Sensor", "Shell Game", "Ackerman", "Steering"],
    "name": "Imagineer",
    "nuggets": ["Counting", "Integers", "Variables", "Arithmetic Relations", "Doubles", "Delta", "Boolean Logic", "Truth Table", "AND Operator (\u0026\u0026)", "OR Operator ( II )", "XOR Operator ( ^ )", "NOT Operator", "Compass Sensor Control", "Setting A Start Point", "Slider Crank", "Magnetic Sensor Control", "Ackerman Steering", "Rotation Sensor Control", "Mechanical Limit", "Gripper"],
    "index": 5,
    "wiz_chips": 15
 }, {
    "color1": "green",
    "color2": "lightsteelblue",
    "projects": ["Algorithms", "Gyroscope", "Data Structures", "Accelerometer", "Camera"],
    "name": "Wizard",
    "nuggets": ["Flow Control - 3", "Boolean Operators", "Accelerometer Sensor Control", "Camera Sensor Control", "File Input and Output", "Math Functions", "String manipulation"],
    "index": 6,
    "wiz_chips": 15
 }, {
    "color1": "orange",
    "color2": "lightsteelblue",
    "projects": ["Objects", "Networking", "Behaviors", "PID Control", "Segway"],
    "name": "Master",
    "nuggets": ["Advanced Data Structures", "Basic Object Oriented Progamming", "Behavior-based Control", "PID Control"],
    "index": 7,
    "wiz_chips": 15
 }]

I see no categories anywhere? Not sure what you're trying to say here

alexey-ku77 commented 6 years ago

There is still used old categories, being added to app assets as string array. I already have told to trim it for now to version that is supported by server.

internetmosquito commented 6 years ago

@alexey-ku77 and what version would that be? What is the list of supported categories as of today?

alexey-ku77 commented 6 years ago

@internetmosquito Production now supports - challenge, contraption, game. It can be checked at https://wizbots.com/api/doc#!/projects/post_project_collection image

alexey-ku77 commented 6 years ago

@internetmosquito I think we should probably extend metadata endpoint to include categories too. Also I have thoughts on server/client app compability: As we can see - app and server releases are out of sync. This why we have a mess with nuggets and categories. To get rid of that - app should not be storing categories and nuggets in static assets. Only fetched from server and stored in local database. I am not familiar with the features app provides. But once it have special behavior for some categories or nuggets - app should provide feature based functionality. I.e. if category or nugget is missing - feature module is disabled and vice versa.

internetmosquito commented 6 years ago

@alexey-ku77 agreed, and I always assumed all this data was obtained from API

@alexey-ku77 please extend metadata to include categories in the response

@kapoorutd Please use this endpoint to get categories available. Store it in database and update whenever we have FCM working

alexey-ku77 commented 6 years ago

@internetmosquito ok, I will make an issue for api change.

alexey-ku77 commented 6 years ago

@kapoorutd Regarding https://github.com/wizbots/labtab/issues/95#issuecomment-403378322 As I understand - 400 responses caused OOM to happen. Does it correct?

alexey-ku77 commented 6 years ago

If so, can you give more details(I.e. the chain of events) of the issue? But please don't simplify anything. Hope this way it will be easier to explain the problem.

kapoorutd commented 6 years ago

@alexey-ku77 OOM will be solved on our end by compressing the video, It doesnt mean App has memory leak but maybe device has low memory..We can compress the video but that may impact the quality of video.

Also,400 bad request is because client and Server are not sync with categories and Components. Which API we need to call to get this info? Please share one example as right now we are using metadata for the same.

alexey-ku77 commented 6 years ago

It doesnt mean App has memory leak but maybe device has low memory.

It is possible to record video directly to disk? Or record in chunks measured by free ram for concrete device. Or maybe add ram guard to restrict or limit recording by memory parameters?

We can compress the video but that may impact the quality of video.

I don't like that idea. Need to know what thinks @internetmosquito

@alexey-ku77 OOM will be solved on our end by compressing the video,

But what the mechanism of getting OOM caused by 400 bad request?

Which API we need to call to get this info? Please share one example as right now we are using metadata for the same.

The same that is used to get level and nuggets metadata. It will be extended to include categories.

Schema:

{
  "levels": [
    {
      "index": 0, 
      "name": "string", 
      "color1": "string", 
      "color2": "string", 
      "nuggets": [
        "string"
      ], 
      "projects": [
        "string"
      ], 
      "wiz_chips": 0
    }
  ], 
  "categories": [
    "string"
  ]
}

Full example:

{
  "categories": [
    "challenge",
    "contraption",
    "game"
  ],
  "levels": [
    {
      "index": 1,
      "name": "Lab Certified",
      "color1": "white",
      "color2": "lightsteelblue",
      "nuggets": [
        "Motor Control",
        "NXT Button Control",
        "Touch Sensor Control",
        "Loop Command",
        "Troubleshoot",
        "Castor Wheel",
        "Decrease Friction",
        "Decorations",
        "PVC Pipe",
        "Zoob",
        "String",
        "Rubber Band",
        "Brace Strength",
        "Rigid Extended Beams",
        "Plan On Paper"
      ],
      "projects": [
        "Tick Tock",
        "Hypnotizer",
        "Chariot",
        "Obstacle Course",
        "Build Strong",
        "Castles and Catapults",
        "The Wizbots Way",
        "MadLib"
      ],
      "wiz_chips": 10
    },
    {
      "index": 2,
      "name": "Explorer",
      "color1": "purple",
      "color2": "lightsteelblue",
      "nuggets": [
        "NXT Screen Display",
        "Sound Files",
        "Speaker Control",
        "Wait Command",
        "Parallel Programming",
        "If-Else Statement",
        "Decrease Motor Percentage",
        "Clear Screen Display",
        "Recording Sound",
        "Balance",
        "Measuring",
        "LED Wand",
        "Differential Drive Control",
        "Remote Control"
      ],
      "projects": [
        "Windscreen Wiper",
        "Bumper Car",
        "Hello World!",
        "Sound and Music",
        "Plastic Fabtastic",
        "Tallest Robot",
        "LED Wand",
        "Dancing Puppets",
        "Parallerl Programming",
        "Diff Drive Control",
        "Wizball"
      ],
      "wiz_chips": 10
    },
    {
      "index": 3,
      "name": "Apprentice",
      "color1": "#324596",
      "color2": "lightsteelblue",
      "nuggets": [
        "Reverse Engineering",
        "NXT Info",
        "Clean Memory",
        "Writing Log File",
        "Import Log File",
        "Print Command",
        "Calibration",
        "Distance Sensor Control",
        "Sound Sensor Control",
        "Light Sensor Control",
        "Color Sensor Control",
        "Random Programming"
      ],
      "projects": [
        "Troubleshooting",
        "Wheel Free Racing",
        "Distance Sensor",
        "Table Top Survival",
        "Sound Sensor",
        "Barking Dog",
        "Light Sensor",
        "Sun Flower",
        "Color Sensor",
        "Red Light Green Light",
        "Random Numbers",
        "Floor Sweeper"
      ],
      "wiz_chips": 15
    },
    {
      "index": 4,
      "name": "Maker",
      "color1": "#C84239",
      "color2": "lightsteelblue",
      "nuggets": [
        "Line Following",
        "Velocity",
        "Plot Graph",
        "Rotational Velocity",
        "Centrifuge",
        "Torque",
        "Weights",
        "Levers",
        "Drive Trains",
        "Gears",
        "Gear For Speed",
        "Gear For Power",
        "Hoist",
        "Pulley",
        "Screw Gear",
        "Switch"
      ],
      "projects": [
        "Line Following",
        "Line Racing",
        "Using The Force",
        "Drag Racing",
        "Hoist",
        "Elevator",
        "Screw Gear",
        "Slow Poke"
      ],
      "wiz_chips": 15
    },
    {
      "index": 5,
      "name": "Imagineer",
      "color1": "#1B7BA4",
      "color2": "lightsteelblue",
      "nuggets": [
        "Counting",
        "Integers",
        "Variables",
        "Arithmetic Relations",
        "Doubles",
        "Delta",
        "Boolean Logic",
        "Truth Table",
        "AND Operator (&&)",
        "OR Operator ( II )",
        "XOR Operator ( ^ )",
        "NOT Operator",
        "Compass Sensor Control",
        "Setting A Start Point",
        "Slider Crank",
        "Magnetic Sensor Control",
        "Ackerman Steering",
        "Rotation Sensor Control",
        "Mechanical Limit",
        "Gripper"
      ],
      "projects": [
        "Counting",
        "Boolean Logic",
        "Rotation Sensor",
        "Etch-A-Sketch",
        "Compass Sensor",
        "North Pole Express",
        "Slider Crank",
        "Magnetic Sensor",
        "Shell Game",
        "Ackerman",
        "Steering"
      ],
      "wiz_chips": 15
    },
    {
      "index": 6,
      "name": "Wizard",
      "color1": "green",
      "color2": "lightsteelblue",
      "nuggets": [
        "Flow Control - 3",
        "Boolean Operators",
        "Accelerometer Sensor Control",
        "Camera Sensor Control",
        "File Input and Output",
        "Math Functions",
        "String manipulation"
      ],
      "projects": [
        "Algorithms",
        "Gyroscope",
        "Data Structures",
        "Accelerometer",
        "Camera"
      ],
      "wiz_chips": 15
    },
    {
      "index": 7,
      "name": "Master",
      "color1": "orange",
      "color2": "lightsteelblue",
      "nuggets": [
        "Advanced Data Structures",
        "Basic Object Oriented Progamming",
        "Behavior-based Control",
        "PID Control"
      ],
      "projects": [
        "Objects",
        "Networking",
        "Behaviors",
        "PID Control",
        "Segway"
      ],
      "wiz_chips": 15
    }
  ]
}
kapoorutd commented 6 years ago

@internetmosquito Video Uploading is being failed for some case as there is some inconsistency with matadata at staging side

response from matadata : "levels": [ { "index": 1, "lab_time": 11, "name": "Lab Certified", "color1": "white", "color2": "lightsteelblue", "nuggets": [ "Motor Control", "NXT Button Control", "Touch Sensor Control", "Loop Command", "Troubleshoot", "Castor Wheel", "Decrease Friction", "Decorations", "PVC Pipe", "Zoob", "String", "Rubber Band", "Brace Strength", "Rigid Extended Beams", "Plan On Paper" ], "wiz_chips": 10, "projects": [ "Tick Tock", "Hypnotizer", "Chariot", "Obstacle Course", "Build Strong", "Castles and Catapults", "The Wizbots Way", "MadLib" ], "description": "The student is productive in the lab after being introduced to the basic equipment, ideas, and ways of working." }, { "index": 2, "lab_time": 13, "name": "Explorer", "color1": "purple", "color2": "lightsteelblue", "nuggets": [ "NXT Screen Display", "Sound Files", "Speaker Control", "Wait Command", "Parallel Programming", "If-Else Statement", "Decrease Motor Percentage", "Clear Screen Display", "Recording Sound", "Balance", "Measuring", "LED Wand", "Differential Drive Control", "Remote Control" ], "wiz_chips": 10, "projects": [ "Windscreen Wiper", "Bumper Car", "Hello World!", "Sound and Music", "Plastic Fabtastic", "Tallest Robot", "LED Wand", "Dancing Puppets", "Parallerl Programming", "Diff Drive Control", "Wizball" ], "description": "The student has been exposed to a wide variety of materials and types of projects. Can build fundamental structures, incorporate core sensors, and successfully program working robots. Has a track record of completing projects." }, { "index": 3, "lab_time": 17, "name": "Apprentice", "color1": "#324596", "color2": "lightsteelblue", "nuggets": [ "Reverse Engineering", "NXT Info", "Clean Memory", "Writing Log File", "Import Log File", "Print Command", "Calibration", "Distance Sensor Control", "Sound Sensor Control", "Light Sensor Control", "Color Sensor Control", "Random Programming" ], "wiz_chips": 15, "projects": [ "Troubleshooting", "Wheel Free Racing", "Distance Sensor", "Table Top Survival", "Sound Sensor", "Barking Dog", "Light Sensor", "Sun Flower", "Color Sensor", "Red Light Green Light", "Random Numbers", "Floor Sweeper" ], "description": "For students who wish to go deeper, this level focuses on more sophisticated mechanisms. New subject areas are introduced." }, { "index": 4, "lab_time": 19, "name": "Maker", "color1": "#C84239", "color2": "lightsteelblue", "nuggets": [ "Line Following", "Velocity", "Plot Graph", "Rotational Velocity", "Centrifuge", "Torque", "Weights", "Levers", "Drive Trains", "Gears", "Gear For Speed", "Gear For Power", "Hoist", "Pulley", "Screw Gear", "Switch" ], "wiz_chips": 15, "projects": [ "Line Following", "Line Racing", "Using The Force", "Drag Racing", "Hoist", "Elevator", "Screw Gear", "Slow Poke" ], "description": "This level emphasizes programming and advanced mechanisms to build more intelligent and capable robots" }, { "index": 5, "lab_time": 23, "name": "Imagineer", "color1": "#1B7BA4", "color2": "lightsteelblue", "nuggets": [ "Counting", "Integers", "Variables", "Arithmetic Relations", "Doubles", "Delta", "Boolean Logic", "Truth Table", "AND Operator (&&)", "OR Operator ( II )", "XOR Operator ( ^ )", "NOT Operator", "Compass Sensor Control", "Setting A Start Point", "Slider Crank", "Magnetic Sensor Control", "Ackerman Steering", "Rotation Sensor Control", "Mechanical Limit", "Gripper" ], "wiz_chips": 15, "projects": [ "Counting", "Boolean Logic", "Rotation Sensor", "Etch-A-Sketch", "Compass Sensor", "North Pole Express", "Slider Crank", "Magnetic Sensor", "Shell Game", "Ackerman", "Steering" ], "description": "This level emphasizes programming and advanced mechanisms to build more intelligent and capable robots" }, { "index": 6, "lab_time": 37, "name": "Wizard", "color1": "green", "color2": "lightsteelblue", "nuggets": [ "Flow Control - 3", "Boolean Operators", "Accelerometer Sensor Control", "Camera Sensor Control", "File Input and Output", "Math Functions", "String manipulation" ], "wiz_chips": 15, "projects": [ "Algorithms", "Gyroscope", "Data Structures", "Accelerometer", "Camera" ], "description": "This level emphasizes programming and advanced mechanisms to build more intelligent and capable robots." }, { "index": 7, "lab_time": 43, "name": "Master", "color1": "orange", "color2": "lightsteelblue", "nuggets": [ "Advanced Data Structures", "Basic Object Oriented Progamming", "Behavior-based Control", "PID Control" ], "wiz_chips": 15, "projects": [ "Objects", "Networking", "Behaviors", "PID Control", "Segway" ], "description": "This level introduces a number of sophisticated programming elements that require greater fluency in math. Advanced sensors are introduced which drive growth in programming skill in an engaging manner. The Wizbots Master has developed fluency in all subject areas and has a track record in applying this knowledge in creative and inventive ways to challenging projects." } ],

Accepted component name according to Api doc :

For Example you can refer that Calibration is a nugget according to matadata response from api, but we are unable to find it in api doc and it is not listed in component list for creating a video project api

@internetmosquito The new api matadata response is matching with the createProject production api doc, that means this new changes may work for productions credential. As we don't have any production credential, please test and confirm.

alexey-ku77 commented 6 years ago

@kapoorutd can this be considered as solved in respect to recent update on staging server?

kapoorutd commented 5 years ago

@alexey-ku77 If you think its working well, please mark it as fixed .