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.

Error arises on opening published exploration on local server

See original GitHub issue

Description Error 500 arises on opening published exploration on local server.

To Reproduce Steps to reproduce the behavior:

  1. Create an exploration.
  2. Publish it.
  3. Open the exploration from the library or it’s link.
  4. See error

Observed behavior image

Expected behavior No error should arise. The exploration should play.

Server log

INFO     2019-02-05 20:39:03,571 stubs.py:51] Sandbox prevented access to static file "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/templates/dev/head/pages/exploration_player/feedback_popup_container_directive.html"
INFO     2019-02-05 20:39:03,571 stubs.py:52] Check that `application_readable: true` is set in app.yaml
INFO     2019-02-05 20:39:03,575 base.py:478] Traceback (most recent call last):
  File "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/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 "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/domain/acl_decorators.py", line 97, in test_can_play
    return handler(self, exploration_id, **kwargs)
  File "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/controllers/reader.py", line 237, in get
    'pages/exploration_player/exploration_player.html')
  File "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/controllers/base.py", line 399, in render_template
    self.jinja2_env.get_template(filepath).render(**values))
  File "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia_tools/google_appengine_1.9.67/google_appengine/lib/jinja2-2.6/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/templates/dev/head/pages/exploration_player/exploration_player.html", line 1, in top-level template code
    {% extends 'pages/base.html' %}
IOError: [Errno 13] file not accessible: '/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/templates/dev/head/pages/exploration_player/feedback_popup_container_directive.html'

ERROR    2019-02-05 20:39:03,575 base.py:488] Exception raised: [Errno 13] file not accessible: '/media/hackerpro/871501f2-df6c-4a21-a03c-8b8e22d001d4/PROJECTS/GSOC/oppia/oppia/core/templates/dev/head/pages/exploration_player/feedback_popup_container_directive.html'
INFO     2019-02-05 20:39:03,689 module.py:835] default: "GET /explore/bv6mm4uWaYKq HTTP/1.1" 500 21311

NOTE This error does not arise when server is run with the --prod_env flag.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mighty-phoenixcommented, Feb 6, 2019

Also, thanks @YashJipkate for pointing out the issue. 😃

0reactions
seanlipcommented, Feb 6, 2019

@vojtechjelinek – could you PTAL at this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Job Failures Due to Service Failures - Tableau
Beginning in Tableau Server version 2021.1, a new set of error messages help you understand when jobs fail due to an issue with...
Read more >
[Exploration Editor] Missing buttons after publishing and ... - GitHub
Describe the bug 1) After the user publishes an exploration in the settings tab the Transfer ownership to the community and Unpublish buttons...
Read more >
HTTP Error 403.14 - Forbidden when you open an IIS webpage
This article helps you resolve the "HTTP Error 403.14 - Forbidden - The web server is configured to not list the contents of...
Read more >
RFC 5534 - Failure Detection and Locator Pair Exploration ...
Failure Detection and Locator Pair Exploration Protocol for IPv6 Multihoming (RFC 5534, June 2009)
Read more >
Editorial Policies - Open Exploration Publishing
Authors grant the right of first publication to Open Exploration journals by ... answer any questions arising about the paper, and deal with...
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