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

Aperta
#337 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
332
Fork
61
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di etesync/etesync-dav

Tutte le issue di etesync/etesync-dav

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.