sebastien / cuisine

Chef-like functionality for Fabric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module has no attribute "trace"

eduardBM opened this issue · comments

With Cuisine 0.7.3 i get following error every time i use "run_local":

[2014-12-02 13:07:12,361: WARNING/Worker-1] Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/cuisine.py", line 322, in stdout_reader
if line: logging.trace(line.rstrip("\n").rstrip("\r"))
AttributeError: 'module' object has no attribute 'trace'

I looked in the code, import reporter raises ImportError, so logging is default python module:
{code}
In [6]: logging
Out[6]: <module 'logging' from '/usr/lib/python2.7/logging/init.pyc'>

In [7]: logging.trace

AttributeError Traceback (most recent call last)
in ()
----> 1 logging.trace

AttributeError: 'module' object has no attribute 'trace'
{code}

Oops, sorry about that. It's fixed in 0.7.4, thanks!