linevahe commented on issue #2955: [AIRFLOW-1966] fix PasswordUser.password 
setter
URL: 
https://github.com/apache/incubator-airflow/pull/2955#issuecomment-412324297
 
 
   @eschwartz Hello, I have the same problem as you. Could you tell me how you 
solved it
   
                             ____/ (  (    )   )  \___
                            /( (  (  )   _    ))  )   )\
                          ((     (   )(    )  )   (   )  )
                        ((/  ( _(   )   (   _) ) (  () )  )
                       ( (  ( (_)   ((    (   )  .((_ ) .  )_
                      ( (  )    (      (  )    )   ) . ) (   )
                     (  (   (  (   ) (  _  ( _) ).  ) . ) ) ( )
                     ( (  (   ) (  )   (  ))     ) _)(   )  )  )
                    ( (  ( \ ) (    (_  ( ) ( )  )   ) )  )) ( )
                     (  (   (  (   (_ ( ) ( _    )  ) (  )  )   )
                    ( (  ( (  (  )     (_  )  ) )  _)   ) _( ( )
                     ((  (   )(    (     _    )   _) _(_ (  (_ )
                      (_((__(_(__(( ( ( |  ) ) ) )_))__))_)___)
                      ((__)        \\||lll|l||///          \_))
                               (   /(/ (  )  ) )\   )
                             (    ( ( ( | | ) ) )\   )
                              (   /(| / ( )) ) ) )) )
                            (     ( ((((_(|)_)))))     )
                             (      ||\(|(|)|/||     )
                           (        |(||(||)||||        )
                             (     //|/l|||)|\\ \     )
                           (/ / //  /|//||||\\  \ \  \ _)
   
-------------------------------------------------------------------------------
   Node: #######
   
-------------------------------------------------------------------------------
   Traceback (most recent call last):
     File "/home/helin/.local/lib/python3.6/site-packages/flask/app.py", line 
1988, in wsgi_app
       response = self.full_dispatch_request()
     File "/home/helin/.local/lib/python3.6/site-packages/flask/app.py", line 
1641, in full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/home/helin/.local/lib/python3.6/site-packages/flask/app.py", line 
1544, in handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/home/helin/.local/lib/python3.6/site-packages/flask/_compat.py", 
line 33, in reraise
       raise value
     File "/home/helin/.local/lib/python3.6/site-packages/flask/app.py", line 
1639, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/helin/.local/lib/python3.6/site-packages/flask/app.py", line 
1625, in dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/home/helin/.local/lib/python3.6/site-packages/flask_admin/base.py", 
line 69, in inner
       return self._run_view(f, *args, **kwargs)
     File "/home/helin/.local/lib/python3.6/site-packages/flask_admin/base.py", 
line 368, in _run_view
       return fn(self, *args, **kwargs)
     File 
"/home/helin/.local/lib/python3.6/site-packages/airflow/www/views.py", line 
650, in login
       return airflow.login.login(self, request)
     File 
"/home/helin/.local/lib/python3.6/site-packages/airflow/contrib/auth/backends/password_auth.py",
 line 137, in login
       if not user.authenticate(password):
     File 
"/home/helin/.local/lib/python3.6/site-packages/airflow/contrib/auth/backends/password_auth.py",
 line 68, in authenticate
       return check_password_hash(self._password, plaintext)
     File "/home/helin/.local/lib/python3.6/site-packages/flask_bcrypt.py", 
line 67, in check_password_hash
       return Bcrypt().check_password_hash(pw_hash, password)
     File "/home/helin/.local/lib/python3.6/site-packages/flask_bcrypt.py", 
line 193, in check_password_hash
       return safe_str_cmp(bcrypt.hashpw(password, pw_hash), pw_hash)
     File "/home/helin/.local/lib/python3.6/site-packages/bcrypt/__init__.py", 
line 87, in hashpw
       raise ValueError("Invalid salt")
   ValueError: Invalid salt

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to