Comments (2)
To add context, this is a warning that appears in the logs when performing an action in Hypothesis that encrypts a password.
Steps to reproduce in development:
- Go to http://localhost:5000/account/settings
- Change your password (the new one can be the same as the old)
The following appears in the logs:
web (stderr) | 2024-03-04 09:37:56,520 [48366] [passlib.handlers.bcrypt:WARNING] (trapped) error reading bcrypt version
web (stderr) | Traceback (most recent call last):
web (stderr) | File "/Users/robert/hypothesis/h/.tox/dev/lib/python3.11/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
web (stderr) | version = _bcrypt.__about__.__version__
web (stderr) | ^^^^^^^^^^^^^^^^^
web (stderr) | AttributeError: module 'bcrypt' has no attribute '__about__'
The warning on its own is harmless since the version
variable here is only used to write a message to debug logs. See upstream code:
try:
version = _bcrypt.__about__.__version__
except:
log.warning("(trapped) error reading bcrypt version", exc_info=True)
version = '<unknown>'
log.debug("detected 'bcrypt' backend, version %r", version)
return mixin_cls._finalize_backend_mixin(name, dryrun)
from h.
Upstream issue: https://foss.heptapod.net/python-libs/passlib/-/issues/190. See also https://foss.heptapod.net/python-libs/passlib/-/issues/187 for general updates on passlib.
from h.
Related Issues (20)
- [API] `GET /groups` : Unexpected private groups for an URI HOT 1
- In
- Erratic WebSocket messages delivery HOT 14
- Tune AUTOVACUUM settings for big tables HOT 3
- Identify active H users that are possiblty edu prospects HOT 1
- Metrics on usage of the udell dashboards HOT 1
- New
- Self service delete user HOT 1
- Self service rename user
- Identify snapshots on archiving websites with their source HOT 2
- ClinGen issue with tags HOT 9
- Import / Export - Role based permission HOT 4
- Handled deleted users in annotation_slim sync
- Add a limit to purging deleted annotations
- Index limitations with the `annotation` and `document_uri` tables HOT 3
- Complete a UX design for the new self-service user deletion experience HOT 1
- Delete API tokens when deleting users
- Find a way to prevent coupling future migrations with business domain code by mistake HOT 2
- Migration `8e3417e3713b_back_fill_the_token_user_id_column.py` fails with `AttributeError: 'Token' object has no attribute 'userid'. Did you mean: 'user_id'`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h.