mirror of
https://github.com/jeffknupp/sandman2.git
synced 2026-04-26 09:05:55 +03:00
[GH-ISSUE #100] AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params' #56
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
pull-request
question
refactoring
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sandman2-jeffknupp#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ibstelix on GitHub (May 12, 2019).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/100
Originally assigned to: @jeffknupp on GitHub.
Hi,
this is a new installation (previously i had no problem).
I ran sandman2ctl mysql+pymysql://user:pwd@localhost/foo
and got :
Traceback (most recent call last): File "$HOME/.local/bin/sandman2ctl", line 7, in <module> from sandman2.scripts.sandman2ctl import main File "$HOME/.local/lib/python3.6/site-packages/sandman2/__init__.py", line 2, in <module> from sandman2.app import get_app, db, AutomapModel File "$HOME/.local/lib/python3.6/site-packages/sandman2/app.py", line 5, in <module> from sqlalchemy.sql import sqltypes File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/__init__.py", line 9, in <module> from .sql import ( File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/sql/__init__.py", line 101, in <module> __go(locals()) File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/sql/__init__.py", line 99, in __go from . import naming File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/sql/naming.py", line 15, in <module> from .. import event, events File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/events.py", line 11, in <module> from .pool import Pool File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/pool/__init__.py", line 20, in <module> from .base import _ConnectionFairy # noqa File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 57, in <module> class Pool(log.Identified): File "$HOME/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 63, in Pool @util.deprecated_params( AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params'Version issue ?
@jeffknupp commented on GitHub (May 29, 2019):
Looking at this now. Thanks for reporting.
@jeffknupp commented on GitHub (May 29, 2019):
@ibstelix This works for me with the most recent version of
sandman2(1.2.0) andpymysql(0.9.3)Can you check which versions of each you're using?
@ibstelix commented on GitHub (Jul 20, 2019):
Sorry for this sooo late reply, it is working when i retested, so maybe it was related to my environment.
Best regards,