Ticket #1470 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

ValueError: Unknown level: 'error' with python 2.7

Reported by: floppymaster Owned by: s0undt3ch
Priority: major Milestone: Future
Component: other Version: 1.3.0_dev
Keywords: Cc:

Description

I'm getting this error on Gentoo Linux with Python 2.7. It works fine with Python 2.6. This is from commit 1f800bf49a4cf5ce93765dc6b7d1b102003f25ec on the master branch.

Traceback (most recent call last):
  File "/usr/bin/deluged-2.7", line 9, in <module>
    load_entry_point('deluge==1.3.900-dev', 'console_scripts', 'deluged')()
  File "/usr/lib64/python2.7/site-packages/deluge/main.py", line 181, in start_daemon
    filemode=logfile_mode)
  File "/usr/lib64/python2.7/site-packages/deluge/log.py", line 165, in setupLogger
    handler.setLevel(level)
  File "/usr/lib64/python2.7/logging/__init__.py", line 706, in setLevel
    self.level = _checkLevel(level)
  File "/usr/lib64/python2.7/logging/__init__.py", line 187, in _checkLevel
    raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'error'

Change History

Changed 2 years ago by s0undt3ch

  • status changed from new to accepted
  • owner set to s0undt3ch

Changed 2 years ago by s0undt3ch

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in master. Thanks for reporting.

Note: See TracTickets for help on using tickets.