TypeError: set_level() takes 1 positional argument but 2 were given

Open
#337 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start in etesync_dav/radicale_main/__init__.py at run, line 104, where the traceback reports the set_level() call. Check the function signature and how the bundled macOS executable reaches this code, then reproduce with the v0.33.6 binary if possible. Done means the CLI starts without this TypeError on macOS.

Written by the indexing model from the issue text.

Description

When downloading the pre-built binary for MacOS and trying to execute the CLI, I get the following Python error:

etesync-dav.py:160: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead                                                                                                                                                                                                                                             definelicht/git/master
Traceback (most recent call last):
  File "etesync-dav.py", line 163, in <module>
  File "etesync_dav/radicale_main/__init__.py", line 104, in run
TypeError: set_level() takes 1 positional argument but 2 were given
[PYI-14009:ERROR] Failed to execute script 'etesync-dav' due to unhandled exception: set_level() takes 1 positional argument but 2 were given
[PYI-14009:ERROR] Traceback:
Traceback (most recent call last):
  File "etesync-dav.py", line 163, in <module>
  File "etesync_dav/radicale_main/__init__.py", line 104, in run
TypeError: set_level() takes 1 positional argument but 2 were given

I'm on Sonoma 14.6.1. Happy to provide more information to debug, let me know what is useful!

Dominant language
Python
Stars
332
Forks
61
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from etesync/etesync-dav

All issues in etesync/etesync-dav

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.