tamamcglinn / adabots Goto Github PK
View Code? Open in Web Editor NEWLearn Ada by programming Minecraft robots!
License: MIT License
Learn Ada by programming Minecraft robots!
License: MIT License
Trying out this cool project I hit a bump
Crash - env-var WORKSPACE_ID not defined.
looking into the code - I cannot see what values it would like.
bnl@tp:~/git/AdaBots_examples/bin$ ./build_house
raised CONSTRAINT_ERROR : a-envvar.adb:208 explicit raise
[./build_house]
0x514196 Ada.Environment_Variables.Value at a-envvar.adb:208
0x425f5a Adabots.Create_Dispatcher at adabots.adb:16
0x426016 Adabots.Create_Turtle at adabots.adb:27
0x426260 Adabots.Create_Turtle at adabots.adb:24
0x40c72f Build_House at build_house.adb:7
0x40d694 Main at b__build_house.adb:772
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f99e0409248
0x7f99e0409303
[./build_house]
0x40c5af _start at ???
0xfffffffffffffffe
so - what is a reasonable value for WORKSPACE_ID?
And what is is?
I try to the build_wall program working.
I run locally with the docker installation
I export port 30_000/30_000/udp
and inject workspace via
docker run -e WORKSPACE_ID=bnl
bnl@tp:~/git/AdaBots_examples/bin$ export WORKSPACE_ID=bnl
bnl@tp:~/git/AdaBots_examples/bin$ ./build_wall
Scheduled turtle.down()
raised PROGRAM_ERROR
[./build_wall]
0x40e42a Adabots_Lua_Dispatcher.Boolean_Function at adabots_lua_dispatcher.adb:39
0x4166c6 Adabots.Down at adabots.adb:56
0x40c746 Build_Wall at build_wall.adb:9
0x40d58a Main at b__build_wall.adb:772
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f4c754bc248
0x7f4c754bc303
[./build_wall]
0x40c5af _start at ???
0xfffffffffffffffe
I wonder if I have missed some vital config instructions somewhere
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.