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

Error in Line 8 #9

Open
apmunch opened this issue Jan 16, 2024 · 2 comments
Open

Error in Line 8 #9

apmunch opened this issue Jan 16, 2024 · 2 comments

Comments

@apmunch
Copy link

apmunch commented Jan 16, 2024

Hi there. Running into the following error after executing:

rmc -t markdown ffb3a170-cf8e-49f0-a4a9-ba4e8b52c840.rm

Error is:

Traceback (most recent call last): File "/home/parallels/.local/bin/rmc", line 8, in <module> sys.exit(cli()) TypeError: command.<locals>.decorator() missing 1 required positional argument: 'f'

I'm running Ubuntu 20.04.2 LTS. As I'm running a VM on an M1 MacBook, it's ARM architecture (shouldn't matter, but figured I would mention it).

Thank you for the open source work!

@ricklupton
Copy link
Owner

Hi, thanks for reporting.

Can you tell me what version of click you have installed in the same python environment as rmc? (run pip freeze or conda list)

@PascalNoisette
Copy link

Hi,

I also got the error with python 3.10, click 8.0.3 and rmc 0.1.1

It is related to pallets/click#1359
@click.command() should have parentheses like any function call (in /usr/local/lib/python3.10/dist-packages/rmc/cli.py).

Regards,
Pascal Noisette

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

No branches or pull requests

3 participants