Problem with State Quiz tutorial (uploading Json/ Geojson)

25 views
Skip to first unread message

Rexx

unread,
Dec 5, 2018, 4:23:49 PM12/5/18
to MIT App Inventor Forum
December 5 2018.

Sorry, but I'm having same issue with State Quiz tutorial as was in a thread from a month  ago trying "State Quiz" tutorial. (https://groups.google.com/forum/#!searchin/mitappinventortest/state$20quiz%7Csort:date/mitappinventortest/G38U97yrCtI/h658wplzBgAJ

I get "An internal Error has occurred" when I try to upload or assign the uploaded file to the feature collection.  I've tried uploading both the file that came with the tutorial and also the 'geojson' type file someone kindly attached in that earlier thread. I've tried with chrome. firefox and edge. (Windows 10 OS)  Thanks

SteveJG

unread,
Dec 5, 2018, 4:53:11 PM12/5/18
to MIT App Inventor Forum
Sorry Rexx....    the latest nb172a build of App Inventor broke the FeatureCollection control again.   MIT says they have a fix.  I do not know when it will be deployed.   I might have a work around you can try... busy at the moment.   I hope to post the code that will allow you to do the tutorial later this evening.

Regards,
Steve

SteveJG

unread,
Dec 5, 2018, 7:03:09 PM12/5/18
to mitappinv...@googlegroups.com
Here is a potential and partial work around https://groups.google.com/forum/#!searchin/mitappinventortest/state$20quiz%7Csort:date/mitappinventortest/G38U97yrCtI/h658wplzBgAJ  in my last post in this thread.  Try the aia attached in my last post in that thread.   Let me know if it works for you. You should be able to develop a working version of the original tutorial using this code which uses a modified json file and some additional coding.

This example worked prior to Dec 1st .   I expect it will work despite the current bug in the FeatureCollection but am not sure.  Good luck.

Did it work?

Regards,
Steve

Rexx

unread,
Dec 5, 2018, 11:14:45 PM12/5/18
to MIT App Inventor Forum
Steve
Thanks very much; that file works. 
Reply all
Reply to author
Forward
0 new messages