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

TypeError: <lambda>() missing 1 required positional argument: 'strike' #19

Open
abitrolly opened this issue Oct 13, 2021 · 2 comments · May be fixed by #22
Open

TypeError: <lambda>() missing 1 required positional argument: 'strike' #19

abitrolly opened this issue Oct 13, 2021 · 2 comments · May be fixed by #22

Comments

@abitrolly
Copy link

$  pip install pypager
Collecting pypager
  Downloading pypager-3.0.0-py3-none-any.whl (18 kB)
Requirement already satisfied: pygments in /usr/local/lib/python3.9/site-packages (from pypager) (2.10.0)
Collecting prompt-toolkit<3.1.0,>=3.0.0
  Downloading prompt_toolkit-3.0.20-py3-none-any.whl (370 kB)
     |████████████████████████████████| 370 kB 2.1 MB/s 
Requirement already satisfied: wcwidth in /usr/local/lib/python3.9/site-packages (from prompt-toolkit<3.1.0,>=3.0.0->pypager) (0.2.5)
Installing collected packages: prompt-toolkit, pypager
Successfully installed prompt-toolkit-3.0.20 pypager-3.0.0
$ pypager 1
Traceback (most recent call last):
  File "/usr/local/bin/pypager", line 8, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.9/site-packages/pypager/entry_points/run_pypager.py", line 49, in run
    pager.add_source(FileSource(filename, lexer=lexer))
  File "/usr/local/lib/python3.9/site-packages/pypager/source.py", line 327, in __init__
    super().__init__(self.fp.fileno(), lexer=lexer, name=filename)
  File "/usr/local/lib/python3.9/site-packages/pypager/source.py", line 86, in __init__
    self._attrs = Attrs(
TypeError: <lambda>() missing 1 required positional argument: 'strike'
@wasi-master
Copy link

wasi-master commented Nov 5, 2021

I am also getting a simillar error with the same traceback

TypeError: __new__() missing 1 required positional argument: 'strike'

Edit after switching to Windows 11 I'm now getting the exact same error

@MrMino MrMino linked a pull request May 2, 2022 that will close this issue
@TechWiz-3
Copy link

Same

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

Successfully merging a pull request may close this issue.

3 participants