Opened 7 years ago

Closed 7 years ago

#1470 closed defect (Fixed)

ValueError: Unknown level: 'error' with python 2.7

Reported by: floppymaster Owned by: s0undt3ch
Priority: major Milestone: Future
Component: Unknown 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 (2)

comment:1 Changed 7 years ago by s0undt3ch

  • Owner set to s0undt3ch
  • Status changed from new to accepted

comment:2 Changed 7 years ago by s0undt3ch

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in master. Thanks for reporting.

Note: See TracTickets for help on using tickets.