Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__call__() got an unexpected keyword argument 'specname' #1575

Closed
simonw opened this issue Dec 20, 2021 · 1 comment
Closed

__call__() got an unexpected keyword argument 'specname' #1575

simonw opened this issue Dec 20, 2021 · 1 comment
Labels

Comments

@simonw
Copy link
Owner

simonw commented Dec 20, 2021

I've installed the alpha version but get an error when starting up Datasette:

Traceback (most recent call last):
  File "/Users/tim/.pyenv/versions/stock-exchange/bin/datasette", line 5, in <module>
    from datasette.cli import cli
  File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/cli.py", line 15, in <module>
    from .app import Datasette, DEFAULT_SETTINGS, SETTINGS, SQLITE_LIMIT_ATTACHED, pm
  File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/app.py", line 31, in <module>
    from .views.database import DatabaseDownload, DatabaseView
  File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/views/database.py", line 25, in <module>
    from datasette.plugins import pm
  File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/plugins.py", line 29, in <module>
    mod = importlib.import_module(plugin)
  File "/Users/tim/.pyenv/versions/3.8.5/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/Users/tim/.pyenv/versions/3.8.5/envs/stock-exchange/lib/python3.8/site-packages/datasette/filters.py", line 9, in <module>
    @hookimpl(specname="filters_from_request")
TypeError: __call__() got an unexpected keyword argument 'specname'

Originally posted by @wragge in #1547 (comment)

@simonw simonw added the bug label Dec 20, 2021
@simonw
Copy link
Owner Author

simonw commented Dec 20, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant