Custom TinyWebDB error

139 views
Skip to first unread message

Nico Marikucza

unread,
Jan 1, 2018, 7:03:56 AM1/1/18
to MIT App Inventor Forum
Hello all,

I want to make a TinyWebDB server.
If I want to download and install App Engine, it says, that I need Google Cloud Platform SDK.

I watched a tutorial. There, the App Engine SDK was easy to download.

What do you think?
  • Should I download the Google Cloud SDK?
  • Should I do something else?
Thanks!
Nico

Abraham Getzler

unread,
Jan 1, 2018, 2:25:08 PM1/1/18
to MIT App Inventor Forum
There are a few TinyWebDB posts at that section of this FAQ:

ABG

Kanishka Chakraborty

unread,
Jan 2, 2018, 4:29:15 AM1/2/18
to MIT App Inventor Forum
Download the Cloud SDK, go to the folder where it is installed (it's a hidden folder on my PC), and open Command Prompt. Type in "gcloud init" without the quotes and follow steps to set up. Also, download the *extremely* outdated code for the TinyWebDB provided by MIT. Keep the files in the Cloud SDK folder. You'll need to edit some code for compatibility (the errors will tell you what to change). Also, don't sign up for the Cloud SDK free trial.
Your basic steps to getting the service up and running will be:
$gcloud init
$gcloud app create
- follow instructions -
$gcloud app upload
- 8000+ files will be uploaded -
$gcloud app browse ---> You'll be brought to your web service

P.S. A common problem that's easy to run into is uploading too many files. It occurs if you retry and repeat upload process too many times. Try to do everything in one go, and have patience.

Happy Inventing,
Kanishka

Abraham Getzler

unread,
Jan 2, 2018, 12:01:00 PM1/2/18
to MIT App Inventor Forum

Nico Marikucza

unread,
Jan 3, 2018, 7:15:45 AM1/3/18
to MIT App Inventor Forum
Thank you Kanishka! I will try it!
Nico

Nico Marikucza

unread,
Jan 3, 2018, 8:07:34 AM1/3/18
to MIT App Inventor Forum
ERROR: (gcloud.app) Invalid choice: 'upload'.
Usage: gcloud app [optional flags] <group | command>
  group may be           domain-mappings | firewall-rules | instances | logs |
                         operations | regions | services | ssl-certificates |
                         versions
  command may be         browse | create | deploy | describe | open-console |
                         update

For detailed information on this command and its flags, run:
  gcloud app --help

Nico Marikucza

unread,
Jan 3, 2018, 8:08:37 AM1/3/18
to mitappinv...@googlegroups.com
I become this error when I type 
gcloud app upload
into the Google Cloud SDK.
Nico

Kanishka Chakraborty

unread,
Jan 3, 2018, 12:27:30 PM1/3/18
to MIT App Inventor Forum
The command is:

gcloud app deploy

Happy Inventing,
Kanishka

Kanishka Chakraborty

unread,
Jan 3, 2018, 12:28:32 PM1/3/18
to MIT App Inventor Forum
My bad, I made a mistake.

Nico Marikucza

unread,
Jan 4, 2018, 4:13:07 AM1/4/18
to mitappinv...@googlegroups.com
The command works now, but I get error 400.

Nico Marikucza

unread,
Jan 4, 2018, 5:34:18 AM1/4/18
to MIT App Inventor Forum
ERROR: (gcloud.app.deploy) Error [400] Operation does not satisfy the following requirements: billing-enabled {Billing must be enabled for activation of service '' in project 'costumtinywebdb' to proceed., https://console.developers.google.com/project/costumtinywebdb/settings}
That´s the error.

Kanishka Chakraborty

unread,
Jan 4, 2018, 5:54:38 AM1/4/18
to MIT App Inventor Forum
Woah. Follow the error. Enable billing for your project. Afaik you won't be charged (there's a free tier)

Nico Marikucza

unread,
Jan 10, 2018, 12:49:01 PM1/10/18
to MIT App Inventor Forum
Ok Thank you!
Nico

Kanishka Chakraborty

unread,
Jan 10, 2018, 10:03:59 PM1/10/18
to MIT App Inventor Forum
So Nico, did things work out?

Nico Marikucza

unread,
Jan 13, 2018, 12:47:44 PM1/13/18
to MIT App Inventor Forum
Yes, it works. Thank you!

Kanishka

unread,
Jan 13, 2018, 12:50:51 PM1/13/18
to MIT App Inventor Forum
You're welcome. I'm glad I could help you. Feel free to stay in touch via email for any other assistance you might need. :)

Cheers,
Kanishka

Reply all
Reply to author
Forward
0 new messages