mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.49k stars 2.07k forks source link

newblocks: MIT NewBlocks Companion does not like to connect anymore #21

Closed puravidaapps closed 11 years ago

puravidaapps commented 11 years ago

MIT NewBlocks Companion doesn't like to connect anymore with my project (project name=couch_nb2)... I could successfully connect to a very simple project.

As you probably can see from the log, the backup of the project (couch_nb1) will be displayed correctly, but not the new version (couch_nb2)... I will restart from the backup of that project now...

Btw: a reset button in the Companion app would be nice (similar to the classic version). I currently have to go to Settings - Applications - Manage applications on the device, then select the MIT NewBlocks Companion app and click "Clear data" and "Force stop" in case there is an issue..

Taifun


[INFO] DesignToolbar: switching to existing project couch_nb1 with id 5348024557502464 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] YaFormEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"5348024557502464"},"SimpleSettings":{}} [INFO] Adding blocks editor as a listener for Screen1 [INFO] AssetManager: Loading assets for 5348024557502464 [INFO] initBlocksArea: killed running timer. [INFO] BlocklyPanel: Got initBlocksArea call for 5348024557502464_Screen1 [INFO] Restoring 20 previous blockly components for form 5348024557502464_Screen1 [INFO] Replaying 0 ops waiting in queue [INFO] Loading blocks area content for 5348024557502464_Screen1 [INFO] Adding asset fileId = assets/icon.png [INFO] Got blocks area changed for 5348024557502464_Screen1 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] YaFormEditor: got onHide() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Setting current file editor to null [INFO] YaBlocksEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"5348024557502464"},"SimpleSettings":{}} [INFO] showDifferentForm changing from 5348024557502464_Screen1 to 5348024557502464_Screen1 [INFO] Starting timer for 5348024557502464_Screen1 [INFO] Got blocks area changed for 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] ViewerBox: switching the content in the viewer box [INFO] YaProjectEditor: got onUnload [INFO] ProjectEditor: got onUnload for project 5348024557502464 [INFO] YaProjectEditor: got onHide [INFO] AssetList: switching projects from 5348024557502464 to 0 [INFO] AssetList: refreshing for project 0 [INFO] YaBlocksEditor: got onHide() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Setting current file editor to null [INFO] BlocklyEditor: prepared for reinit for form 5348024557502464_Screen1 [INFO] ProjectEditor: got onLoad for project 6473924464345088 [INFO] YaProjectEditor got onShow() for project 6473924464345088 [INFO] AssetList: switching projects from 0 to 6473924464345088 [INFO] AssetList: refreshing for project 6473924464345088 [INFO] DesignToolbar: switching to existing project couch_nb2 with id 6473924464345088 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] YaBlocksEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"6473924464345088"},"SimpleSettings":{}} [INFO] showDifferentForm changing from 6473924464345088_Screen1 to 6473924464345088_Screen1 [INFO] timerForm changed, killing running timer. [INFO] Starting timer for 6473924464345088_Screen1 [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] AssetManager: Loading assets for 6473924464345088 [INFO] initBlocksArea: killed running timer. [INFO] BlocklyPanel: Got initBlocksArea call for 6473924464345088_Screen1 [INFO] Restoring 24 previous blockly components for form 6473924464345088_Screen1 [INFO] Replaying 0 ops waiting in queue [INFO] Loading blocks area content for 6473924464345088_Screen1 [INFO] Adding asset fileId = assets/icon.png [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] Starting timer for 6473924464345088_Screen1 [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] AssetManager: formName = 6473924464345088_Screen1

josmas commented 11 years ago

Thanks for the report, Taifun. cc/ @jisqyv

clauswobbe commented 11 years ago

Taifun, how do you get the log info? I'm aware it's the Java Console log, but once that opens, what do you do in order to see logged content?

Best regards / Med venlig hilsen Claus Wøbbe

2013/5/10 Taifun notifications@github.com

MIT NewBlocks Companion doesn't like to connect anymore with my project (project name=couch_nb2)... I could successfully connect to a very simple project.

As you probably can see from the log, the backup of the project (couch_nb1) will be displayed correctly, but not the new version (couch_nb2)... I will restart from the backup of that project now...

Btw: a reset button in the Companion app would be nice (similar to the classic version). I currently have to go to Settings - Applications - Manage applications on the device, then select the MIT NewBlocks Companion app and click "Clear data" and "Force stop" in case there is an issue..

Taifun

_[INFO] DesignToolbar: switching to existing project couchnb1 with id 5348024557502464 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] YaFormEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"5348024557502464"},"SimpleSettings":{}} [INFO] Adding blocks editor as a listener for Screen1 [INFO] AssetManager: Loading assets for 5348024557502464 [INFO] initBlocksArea: killed running timer. [INFO] BlocklyPanel: Got initBlocksArea call for 5348024557502464_Screen1 [INFO] Restoring 20 previous blockly components for form 5348024557502464_Screen1 [INFO] Replaying 0 ops waiting in queue [INFO] Loading blocks area content for 5348024557502464_Screen1 [INFO] Adding asset fileId = assets/icon.png [INFO] Got blocks area changed for 5348024557502464_Screen1 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] YaFormEditor: got onHide() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.scm [INFO] Setting current file editor to null [INFO] YaBlocksEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"5348024557502464"},"SimpleSettings":{}} [INFO] showDifferentForm changing from 5348024557502464_Screen1 to 5348024557502464_Screen1 [INFO] Starting timer for 5348024557502464_Screen1 [INFO] Got blocks area changed for 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] AssetManager: formName = 5348024557502464_Screen1 [INFO] ViewerBox: switching the content in the viewer box [INFO] YaProjectEditor: got onUnload [INFO] ProjectEditor: got onUnload for project 5348024557502464 [INFO] YaProjectEditor: got onHide [INFO] AssetList: switching projects from 5348024557502464 to 0 [INFO] AssetList: refreshing for project 0 [INFO] YaBlocksEditor: got onHide() for src/appinventor/ai_taifunbaer/couch_nb1/Screen1.bky [INFO] Setting current file editor to null [INFO] BlocklyEditor: prepared for reinit for form 5348024557502464Screen1 [INFO] ProjectEditor: got onLoad for project 6473924464345088 [INFO] YaProjectEditor got onShow() for project 6473924464345088 [INFO] AssetList: switching projects from 0 to 6473924464345088 [INFO] AssetList: refreshing for project 6473924464345088 [INFO] DesignToolbar: switching to existing project couchnb2 with id 6473924464345088 [INFO] Setting currentScreen to Screen1 [INFO] ProjectEditor: got selectFileEditor for src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky selectedFileEditor is src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] YaBlocksEditor: got onShow() for src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] Ode: Setting current file editor to src/appinventor/ai_taifunbaer/couch_nb2/Screen1.bky [INFO] Saving global settings: {"GeneralSettings":{"CurrentProjectId":"6473924464345088"},"SimpleSettings":{}} [INFO] showDifferentForm changing from 6473924464345088_Screen1 to 6473924464345088_Screen1 [INFO] timerForm changed, killing running timer. [INFO] Starting timer for 6473924464345088_Screen1 [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] AssetManager: Loading assets for 6473924464345088 [INFO] initBlocksArea: killed running timer. [INFO] BlocklyPanel: Got initBlocksArea call for 6473924464345088_Screen1 [INFO] Restoring 24 previous blockly components for form 6473924464345088_Screen1 [INFO] Replaying 0 ops waiting in queue [INFO] Loading blocks area content for 6473924464345088_Screen1 [INFO] Adding asset fileId = assets/icon.png [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] Starting timer for 6473924464345088_Screen1 [INFO] Got blocks area changed for 6473924464345088_Screen1 [INFO] AssetManager: formName = 6473924464345088_Screen1

— Reply to this email directly or view it on GitHubhttps://github.com/mit-cml/appinventor-sources/issues/21 .

josmas commented 11 years ago

@clauswobbe That is the output in the Debug tab in the Designer. The Java console is 'connected' to the classic Blocks Editor (which is a Java Web Start application), but it won't be of much help in newblocks.

jisqyv commented 11 years ago

Can you send me a copy of the project that causes this problem?

Btw. The "Back" button is supposed to cause the companion to exit.

puravidaapps commented 11 years ago

I just loaded the project again and I'm not able to reproduce the error... sorry... connects fine now... will add the project next time...

josmas commented 11 years ago

Closing this for now; feel free to reopen