You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In EarthReader-Web 2.0, deploying by wsgi (as documented in README.rst) causes following error.
File "/home/hodduc/.virtualenvs/earthreader/local/lib/python2.7/site-packages/earthreader/web/app.py", line 246, in feeds
cursor = Cursor(category_id)
File "/home/hodduc/.virtualenvs/earthreader/local/lib/python2.7/site-packages/earthreader/web/app.py", line 129, in __init__
with get_stage() as stage:
File "/home/hodduc/.virtualenvs/earthreader/local/lib/python2.7/site-packages/earthreader/web/app.py", line 224, in get_stage
repository = from_url(app.config['REPOSITORY'])
File "/home/hodduc/.virtualenvs/earthreader/local/lib/python2.7/site-packages/libearth/repository.py", line 104, in from_url
raise lookup_error
LookupError: cannot find the corresponding repository to :// scheme
When I attached file:// prefix to REPOSITORY argument, It works well.
IMO, get_stage() should automatically choose and add suitable prefix, or simply document should be changed. (First option is more consistent with CLI... maybe?)
The text was updated successfully, but these errors were encountered:
In EarthReader-Web 2.0, deploying by wsgi (as documented in README.rst) causes following error.
When I attached file:// prefix to REPOSITORY argument, It works well.
IMO, get_stage() should automatically choose and add suitable prefix, or simply document should be changed. (First option is more consistent with CLI... maybe?)
The text was updated successfully, but these errors were encountered: