Giter Club home page Giter Club logo

Comments (4)

noxiouz avatar noxiouz commented on September 18, 2024

Let's check it, please! =)

from cocaine-framework-python.

mwf avatar mwf commented on September 18, 2024

Let's check it, please! =)

You almost did it =)
Here is log:

In [1]: from cocaine.logging import Logger

In [2]: log = Logger()

In [3]: log.debug(u"Ололо")
---------------------------------------------------------------------------
UnicodeEncodeError                        Traceback (most recent call last)
<ipython-input-3-7ceec2f459dd> in <module>()
----> 1 log.debug(u"Ололо")

/usr/local/lib/python2.7/dist-packages/cocaine/logging/logger.pyc in func(data)
     64                 with cls._lock:
     65                     cls._counter += 1
---> 66                     cls._logger._writableStream.write(Message("Message", cls._counter, _lvl,  cls.target, str(data)).pack())
     67             return func
     68         else:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)

from cocaine-framework-python.

mwf avatar mwf commented on September 18, 2024

Oops, sorry, I have failed with package update. Wait for a while

from cocaine-framework-python.

mwf avatar mwf commented on September 18, 2024

Yeah, it's fixed =)

from cocaine-framework-python.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.