[pypy-commit] [OPEN] Pull request #2 for pypy/jitviewer: Makes jitviewer compatible with Flask v0.8

Bitbucket pullrequests-noreply at bitbucket.org
Thu Dec 1 11:20:49 CET 2011

A new pull request has been opened by Gabriel Hege.

gabriel_h/pypy-jitviewer has changes to be pulled into pypy/jitviewer.


Title: Makes jitviewer compatible with Flask v0.8

Used to give the following error message:

Traceback (most recent call last):
  File "app_main.py", line 51, in run_toplevel
  File "/home/gabriel/tmpfs/pypy/bin/jitviewer.py", line 7, in <module>
  File "/home/gabriel/src/pypy-jitviewer/bin/jitviewer.py", line 238, in <module>
  File "/home/gabriel/src/pypy-jitviewer/bin/jitviewer.py", line 195, in main
    app = OverrideFlask('__name__', root_path=PATH)
  File "/home/gabriel/src/pypy-jitviewer/bin/jitviewer.py", line 157, in __init__
    flask.Flask.__init__(self, *args, **kwargs)
  File "/home/gabriel/tmpfs/pypy/site-packages/flask/app.py", line 277, in __init__
  File "/home/gabriel/tmpfs/pypy/site-packages/flask/helpers.py", line 572, in __init__
    self.root_path = get_root_path(self.import_name)
  File "/home/gabriel/tmpfs/pypy/site-packages/flask/helpers.py", line 482, in get_root_path
ImportError: No module named __name__

Changes to be pulled:

This is an issue notification from bitbucket.org.
You are receiving this either because you are the participating
in a pull request, or you are following it.

More information about the pypy-commit mailing list