17 Feb 2021
Ardublockly installation problems.
I am a grandparent trying to help my granddaughter learn block programming using an Arduino uno. I have been learning Arduino IDE and can make it work on both mac and window 10. I have done the following to attempt to use Ardublockly / Calosperate.
I am running on an HP EnvyTE01 with Window 10 pro-64-bit operating system x64 base processor build number 19041.746.
I am using an Arduino Uno 1.8.13 (Windows store 1.8.13).
I have Arduino located in the C:user \my name\Documents\Arduino.
\libraries
\tools\ArduBlockTool\tool\ardublock-beta-20140828.jar
\sketch_feb15a // this is a test sketch generated in Arduino IDE and works fine.
I have an icon on my desktop for running the program Arduino IDE. I would like one for ArduBlockly.
I have the following in the Ardublockly directory
C:\user\my name\Documents\ArduBlockly\
\Ardublockly_v0.1.2_windows
\ardublockly //files are ardublockly.log, ardublockly_run.bat, LICENSE, README.md, Servercompilersettings.ini, and start.py
\ardublockly //files are ardublockly.css, .js, ardublockly_blockly.js, _design.js, _lang.js, _toolbox.js, ardublocklyserver_ajax.js, index.html
\classic
\font
\img…
\ardublocklyserver
\configparser…
\ArdublocklySketch\ardublocklySketch.ino
\arduexec\appdata…
\blockly\blocks…
\blocks\grove
\docs\about…
\examples files
\ardublockly_v0.1.2_windows.zip\ardublockly\ardublockly
\ardublockly-0.1.2.zip\ardublockly-0.1.2\ardublockly
\carlosperate-ardublockly-v0.1.2-54-g04fa482.zip\ carlosperate-ardublockly-04fa482\
\ardublockly
\ardublocklyserver
\blockly
\blocks
\closure-library
\examples
\package
Below is the ardublockly.log in Notepad.
2021-02-17T15:33:46.811Z - info: [ArdublocklyElec] Starting Ardublockly version: 0.1.2
2021-02-17T15:33:46.872Z - info: [ArdublocklyElec] Ardublockly root dir: C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
2021-02-17T15:33:46.872Z - info: [ArdublocklyElec] OS detected: win32
2021-02-17T15:33:47.109Z - info: [ServerMgr] Command: C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\arduexec\server\start.exe --findprojectroot --nobrowser
2021-02-17T15:33:50.724Z - info: [ArdublocklySrv] Running Python 3.4.4 (32 bit) on Windows-10-10.0.19041
======= Parsing Command line arguments =======
Parsed "--findprojectroot" flag. The ardublockly project root will be set as the server root directory.
Parsed "--nobrowser" flag. No browser will be opened.
======= Resolving server and project paths =======
Ardublockly root directory: C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
Selected server root: C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
======= Loading Settings =======
Settings file corrupted or not found in:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
Settings will be set to the default values.
Final settings loaded:
Compiler directory: None
Arduino Board Key: Atmel atmega168pb Xplained mini
Arduino Board Value: atmel:avr:atmega168pb_xplained_mini
Serial Port Value: None
Sketch Name: ArdublocklySketch
Sketch Directory: C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
Load IDE option: open
Settings file saved to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
2021-02-17T15:44:30.486Z - info: [ArdublocklySrv]
======= Starting Server =======
Setting HTTP Server Document Root to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
Launching the HTTP service...
IDE options set to:
Compile and Upload sketch
Settings file saved to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
2021-02-17T15:45:33.555Z - info: [ArdublocklySrv]
IDE options set to:
Open sketch in IDE
Settings file saved to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
2021-02-17T15:46:01.049Z - info: [ArdublocklySrv]
IDE options set to:
Verify sketch
Settings file saved to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
2021-02-17T15:46:22.432Z - info: [ArdublocklySrv]
IDE options set to:
Compile and Upload sketch
Settings file saved to:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly\ServerCompilerSettings.ini
When I test to verify if the code is good, I get the message below. If you notice, “Sketch_Name “ is not the file name (feb172021.ino).
Unable to find Arduino IDE
The compiler directory has not been set.
Please set it in the Settings.
When I test to see if I can save the file, I get the message below
"Unable to find Arduino IDE
The complier directory has not been set
Please set it in the Settings."
When I go to program preferences, I get the box below. How do I set the complier location. It will not let me edit. And Where is it.
The shot below is located - This PC> Documents> ArduBlockly > ardublockly_v0.1.2_windows > ardublockly
ServerCompilerSettings.ini
[Arduino_IDE]
arduino_exec_path - None
arduino_board - Atmel atmega168pb Xplained mini
arduino_serial_port - Com3
[Arduino_Sketch}
sketch_name -ArdublocklySketch
sketch_directory - C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
[Ardublockly]
ide_load - open
The settings screen has "
compiler locations
Please select a valid Arduino compiler directory
Sketch Folder:
C:\Users\Tom Hutchison 2020\Documents\ArduBlockly\ardublockly_v0.1.2_windows\ardublockly
Arduino Board:
Atmel atmega168pb Xplained mini
Com Port:
There are no available Serial Ports.
Default IDE button:
Open sketch in IDE
Language:
English
. I have to go to the file command in the upper left of the screen. Then “Save Ardunio sketch as”
Locate the directory in Arduino to save the file.
Documents > Arduino
\feb172021\feb172021\feb172021.ino
I have to create the directory first before I can save the file.
I have to run the sketch in Arduino. It will not run in Ardublockly.
I have a granddaughter trying to learn block coding for Arduino. This is cumbersome at best to use. It is the better of what I have seen and I can make it work, but for an elementary age person, it is confusing
What settings do I need to change and what else am I doing incorrectly?
Finally, I would really like to use this on my MAC PRO as well because it is mobile for some of the projects she is wanting to do.
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/34921e54-3923-4867-ba53-8732371cc678n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/449d47f4-752d-4d01-8552-87fe52372228n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/246ccf6a-6f76-4446-bb6e-7be0a7a66a8dn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/CAOk7GcQ8AexW%3DY7Y-1ko45o4AB2hZLdWk1N5bef1SafU0UeSnA%40mail.gmail.com.