ricklupton / rmc

Convert to/from v6 .rm files from the reMarkable tablet
MIT License
53 stars 11 forks source link

Error in Line 8 #9

Open apmunch opened 8 months ago

apmunch commented 8 months ago

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 commented 8 months ago

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 commented 2 months ago

Hi,

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

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

Regards, Pascal Noisette