Having problems with final step with Google Course Builder Deployment

363 views
Skip to first unread message

Daniel Geiger

unread,
Nov 17, 2016, 5:14:26 PM11/17/16
to Google App Engine
I have tried to follow the steps for this procedure as outlined here: https://www.google.com/edu/openonline/course-builder/docs/1.11/set-up-course-builder/set-up-course-builder.html as best I can.  I downloaded Python.  I Downloaded and unzipped the course builder folder.  I set up a cloud project.  I installed cygwin64 and ran the appropriate .bat file.  I get to the point where cygwin64 asks "What is the name of the App Engine instance to deploy to?" I put in the project ID and then I get the following error: 

Removing GCB_ALLOW_STATIC_SERV set to ''
Sourced as: './scripts/common.sh'
Windows install; skipping test-related downloads.
Ensuring runtime folder /home/teacher/coursebuilder_resources_1_11_0/runtime
Using GAE SDK 1.9.40 from /home/teacher/coursebuilder_resources_1_11_0/runtime/google_appengine
/usr/bin/bash: Exit 1.
./scripts/common.sh: line 209: /usr/include/python2.7/pyconfig.h.tmp: Permission denied

I get the same error if I try to run course builder locally.  What do I need to do to fix this?  Did I put Python in the wrong directory?  Is it a problem with permissions on the computer? (it's a company computer and there are some directories I can't access).  Please help!

Nick (Cloud Platform Support)

unread,
Nov 18, 2016, 3:37:04 PM11/18/16
to Google App Engine
Hey Daniel,

It appears those instructions were meant for an actual linux box. Cygwin has numerous differences as an environment from an actual linux machine / bash environment, and so sometimes issues like this appear when attempting to follow instructions meant for linux.

You could try to look at the permissions of /usr/include/python2.7. Maybe the user you're logged-in as when running the command doesn't have permissions for that folder? You could try to run chmod -R +r /usr/include/python2.7 to make the folder and its contents readable by all users. 

Other than this, I'm not sure how else to debug the issue. One option you could try is to set up a development linux machine in Compute Engine and run the commands from there. You can turn it off when not in use so that billing is minimized. 

I hope this is helpful! 

Cheers,

Nick
Cloud Platform Community Support

Shannon Lane

unread,
Jan 29, 2017, 8:34:07 PM1/29/17
to Google App Engine
Hi Daniel, I'm getting this same error.  Were you able to resolve it?  If so, what did you do?

Thanks,
Shannon

Natasha Rajore

unread,
Oct 8, 2018, 10:35:29 AM10/8/18
to Google App Engine
I am getting the same error on Windows platform. Can you provide the steps to execute for Windows?

Julie (cloud platform support)

unread,
Oct 8, 2018, 5:36:54 PM10/8/18
to google-a...@googlegroups.com
To clarify, are you referring to the chmod command? This StackExchange post goes over equivalent windows commands that will allow you to modify permissions.


Natasha Rajore

unread,
Oct 11, 2018, 8:52:51 AM10/11/18
to Google App Engine
Hi Julie,

Thanks for your response. I am still facing issues. Getting the following error:

Removing GCB_ALLOW_STATIC_SERV set to ''
Sourced as: './scripts/common.sh'
Ensuring runtime folder /home/user1/coursebuilder_resources_1_11_001/runtime
Using GAE SDK 1.9.73 from /home/user1/coursebuilder_resources_1_11_001/runtime/google_appengine
./scripts/common.sh: line 188: /usr/include/python2.7/pyconfig.h.tmp: Permission denied
/usr/bin/bash: Exit 1.

Can you please provide steps on what should I do post this?

Thanks,
Natasha

Jorge A (Google Cloud Support)

unread,
Oct 11, 2018, 1:03:00 PM10/11/18
to Google App Engine
This seems to be an issue with how cygwin64 manages permissions. Here's a stack exchange thread where one of the answers addresses this cygwin64 issue by changing windows acl for bash. 
Reply all
Reply to author
Forward
0 new messages