Comments (4)
Let's check it, please! =)
from cocaine-framework-python.
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.
Oops, sorry, I have failed with package update. Wait for a while
from cocaine-framework-python.
Yeah, it's fixed =)
from cocaine-framework-python.
Related Issues (17)
- Serivice object initialization inside service crashes it HOT 6
- TypeError: unhashable type: 'bytearray' when launching example HOT 3
- Unable to invoke method in default app HOT 3
- My app's traceback HOT 3
- cocaine.logging.Logger warn() method rename HOT 3
- Using msgpack HOT 7
- Asyncio branch: strange behaviour. HOT 4
- Wrong dependance in debian package HOT 4
- No cocaine.decorators HOT 2
- [http] Add a context manager for response object HOT 7
- importing decorators module causes RuntimeError if __context__ is not available HOT 2
- Application development with Cocaine
- Using cocaine-framework-python in Windows environment HOT 1
- Current example of usage cocaine app HOT 1
- Can not install framework into specified dir HOT 1
- Russian docs link is broken in README.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocaine-framework-python.