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
(yabgp-virl)~/yabgp/bin @host> python yabgpd -h
Traceback (most recent call last):
File "yabgpd", line 38, in
from yabgp.agent.cmd import main
File "/home/solomonyang/yabgp/yabgp/agent/init.py", line 30, in
from yabgp.api.app import app
File "/home/solomonyang/yabgp/yabgp/api/app.py", line 21, in
from yabgp.api import v1
File "/home/solomonyang/yabgp/yabgp/api/v1.py", line 21, in
from flask.ext.httpauth import HTTPBasicAuth
ImportError: No module named ext.httpauth
Sorry I am not that familiar with Github pull request. I created a branch called httpAuthImportFix and committed the fix. But failed when doing git push. Not sure if I missed anything here.
~/yabgp/yabgp/api @host> git status
On branch httpAuthImportFix
nothing to commit, working tree clean
~/yabgp/yabgp/api @host> git push
fatal: The current branch httpAuthImportFix has no upstream branch.
To push the current branch and set the remote as upstream, use
(yabgp-virl)~/yabgp/bin @host> python yabgpd -h
Traceback (most recent call last):
File "yabgpd", line 38, in
from yabgp.agent.cmd import main
File "/home/solomonyang/yabgp/yabgp/agent/init.py", line 30, in
from yabgp.api.app import app
File "/home/solomonyang/yabgp/yabgp/api/app.py", line 21, in
from yabgp.api import v1
File "/home/solomonyang/yabgp/yabgp/api/v1.py", line 21, in
from flask.ext.httpauth import HTTPBasicAuth
ImportError: No module named ext.httpauth
according to https://flask-httpauth.readthedocs.io/en/latest/, changed the following line in yabgp/api/v1.py
from flask.ext.httpauth import HTTPBasicAuth
to
from flask_httpauth import HTTPBasicAuth
then it works well.
The text was updated successfully, but these errors were encountered: