question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't install oppia

See original GitHub issue

When I run start.sh it give me this output and there is a 500 Internal Server Error at localhost:8181

gurungrahul2@gurungrahul2:~/open/oppia$ sudo bash scripts/start.sh
Checking if node.js is installed in /home/gurungrahul2/open/oppia_tools
Generating list of installed node modules...
Generation completed.
Checking whether Google App Engine is installed in /home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine
Checking whether google-cloud-sdk is installed in /home/gurungrahul2/open/oppia_tools/google-cloud-sdk-222.0.0/google-cloud-sdk
Environment setup completed.
Installing third-party JS libraries and zip files.
Checking whether ajv is installed
Checking whether browserstack-local is installed
Checking whether dotenv is installed
Checking whether eslint is installed
Checking whether eslint-plugin-angular is installed
Checking whether eslint-plugin-html is installed
Checking whether gulp is installed
Checking whether gulp-clean-css is installed
Checking whether gulp-concat is installed
Checking whether gulp-sourcemaps is installed
Checking whether gulp-uglify is installed
Checking whether gulp-util is installed
Checking whether htmllint is installed
Checking whether htmllint-cli is installed
Checking whether @mapbox/stylelint-processor-arbitrary-tags is installed
Checking whether postcss-syntax is installed
Checking whether stylelint is installed
Checking whether stylelint-config-standard is installed
Checking whether through2 is installed
Checking whether uglify-js is installed
Checking whether yargs is installed
Checking whether Skulpt is installed in third_party
Checking if pip is installed on the local machine
Checking if pylint is installed in /home/gurungrahul2/open/oppia_tools
Checking if pylint-quotes is installed in /home/gurungrahul2/open/oppia_tools
Checking if webtest is installed in third_party
Checking if isort is installed in third_party
Checking if pycodestyle is installed in third_party
Checking if pyjsparser is installed in third_party
Checking if browsermob-proxy is installed in /home/gurungrahul2/open/oppia_tools
Checking if selenium is installed in /home/gurungrahul2/open/oppia_tools
Checking if PIL is installed in /home/gurungrahul2/open/oppia_tools
Installing pre-push hook for git
Symlink already exists
Building third party libs at third_party/generated/
Starting GAE development server
[10:49:44] Using gulpfile ~/open/oppia/gulpfile.js
INFO     2018-11-25 05:19:44,568 devappserver2.py:105] Skipping SDK update check.
INFO     2018-11-25 05:19:44,657 api_server.py:265] Starting API server at: http://localhost:42933
INFO     2018-11-25 05:19:45,197 dispatcher.py:255] Starting module "default" running at: http://0.0.0.0:8181
INFO     2018-11-25 05:19:45,198 admin_server.py:152] Starting admin server at: http://0.0.0.0:8000

  INFORMATION
  Setting up a local development server at localhost:8181. Opening a
  default browser window pointing to this server.

Done!
INFO     2018-11-25 05:19:50,440 module.py:835] default: "GET /_ah/warmup HTTP/1.1" 200 -
[5166:5166:1125/104950.904140:ERROR:zygote_host_impl_linux.cc(88)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
[5176:5176:1125/104951.006391:ERROR:zygote_host_impl_linux.cc(88)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Running Firefox as root in a regular user's session is not supported.  ($HOME is /home/gurungrahul2 which is owned by gurungrahul2.)
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: konqueror: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium-browser: not found
[5206:5206:1125/104951.199782:ERROR:zygote_host_impl_linux.cc(88)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'http://localhost:8181/'
INFO     2018-11-25 05:19:59,854 module.py:835] default: "GET / HTTP/1.1" 302 -
INFO     2018-11-25 05:20:00,676 base.py:479] Traceback (most recent call last):
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch
    return method(*args, **kwargs)
  File "/home/gurungrahul2/open/oppia/core/domain/acl_decorators.py", line 59, in test_can_access
    return handler(self, *args, **kwargs)
  File "/home/gurungrahul2/open/oppia/core/controllers/pages.py", line 52, in get
    self.render_template('pages/splash/splash.html')
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 403, in render_template
    self.jinja2_env.get_template(filepath).render(**values))
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/environment.py", line 719, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/environment.py", line 693, in _load_template
    template = self.loader.load(self, name, globals)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/loaders.py", line 115, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/loaders.py", line 180, in get_source
    raise TemplateNotFound(template)
TemplateNotFound: pages/splash/splash.html

ERROR    2018-11-25 05:20:00,682 base.py:489] Exception raised: pages/splash/splash.html
ERROR    2018-11-25 05:20:00,837 webapp2.py:1552] pages/error/error.html
Traceback (most recent call last):
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1535, in __call__
    rv = self.handle_exception(request, response, e)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1529, in __call__
    rv = self.router.dispatch(request, response)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
    return route.handler_adapter(request, response)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1102, in __call__
    return handler.dispatch()
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 249, in dispatch
    super(BaseHandler, self).dispatch()
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 572, in dispatch
    return self.handle_exception(e, self.app.debug)
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 507, in handle_exception
    self._render_exception(500, {'error': unicode(exception)})
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 441, in _render_exception
    self.GET_HANDLER_ERROR_RETURN_TYPE, values)
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 421, in _render_exception_json_or_html
    self.render_template('pages/error/error.html')
  File "/home/gurungrahul2/open/oppia/core/controllers/base.py", line 403, in render_template
    self.jinja2_env.get_template(filepath).render(**values))
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/environment.py", line 719, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/environment.py", line 693, in _load_template
    template = self.loader.load(self, name, globals)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/loaders.py", line 115, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/home/gurungrahul2/open/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/loaders.py", line 180, in get_source
    raise TemplateNotFound(template)
TemplateNotFound: pages/error/error.html
INFO     2018-11-25 05:20:01,377 module.py:835] default: "GET /splash HTTP/1.1" 500 228
INFO     2018-11-25 05:20:03,481 module.py:835] default: "GET /_ah/warmup HTTP/1.1" 200 -

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
seanlipcommented, Nov 26, 2018

Yep, probably. Try deleting your existing directory and re-cloning.

0reactions
rahgurungcommented, Nov 26, 2018

It worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Oppia
A free, online learning platform to make quality education accessible for all. - Installing Oppia · oppia/oppia Wiki.
Read more >
java - Cannot install Oppia
When I try to do the install process of Oppia, an error message is thrown: Building languages list. Compiling repl.coffee. minifying ...
Read more >
Troubleshooting OppiaMobile App — OppiaMobile 0.14.6 ...
Troubleshooting OppiaMobile App . Course doesn't show up in the app course download list . The course is marked as archived...
Read more >
Oppia CI Failures During Python Package Installation
github/actions/install-oppia-dependencies" step on GitHub Actions):. ImportError: cannot import name 'BAR_TYPES' from 'pip.
Read more >
oppia/oppia-chat
Hey, I don't have windows so cannot test. Could you please try this apt-get install dialog apt-utils and let me know if it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found