bttscut / pysproto Goto Github PK
View Code? Open in Web Editor NEWpython binding ( use Cython ) for cloudwu‘s sproto with rpc support
License: Other
python binding ( use Cython ) for cloudwu‘s sproto with rpc support
License: Other
不能使用了
改了 协议后就这样了,但是在项目里的lua版本跑的好好的
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: Traceback (most recent call last):
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: File "/usr/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: result = self._run(*self.args, **self.kwargs)
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: File "/usr/local/lib/python2.7/site-packages/locust/runners.py", line 115, in start_locust
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: locust().run()
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: File "/Users/lidashuang/3pj/sproto-perf/locustfile_caocao.py", line 172, in __init__
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: timeout=timeout
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: File "/Users/lidashuang/3pj/sproto-perf/sproto_rpc_locust.py", line 45, in __init__
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: self.agent = SprotoRPC(c2s, s2c)
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: File "/Users/lidashuang/3pj/sproto-perf/sproto_rpc.py", line 10, in __init__
[2017-06-23 18:17:28,355] 3pj/ERROR/stderr: self._c2s = SprotoObj(c2s)
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: File "/usr/local/lib/python2.7/site-packages/pysproto/sproto.py", line 7, in __init__
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: self.sp = core.newproto(chunk)
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: File "pysproto/core.pyx", line 245, in pysproto.core.newproto (pysproto/core.c:3746)
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: ValueError: PyCapsule_New called with null pointer
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: Fri Jun 23 18:17:28 2017
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr:
[2017-06-23 18:17:28,356] 3pj/ERROR/stderr: <Greenlet at 0x10efd12d0: start_locust(<class 'locustfile_caocao.CaoCaoLocust'>)> failed with ValueError
[2017-06-23 18:17:29,353] 3pj/INFO/locust.runners: All locusts hatched: CaoCaoLocust: 1
[2017-06-23 18:17:29,353] 3pj/INFO/locust.runners: Resetting stats
[2017-06-23 18:17:29,353] 3pj/INFO/locust.runners: All locusts dead
ValueError: PyCapsule_New called with null pointer
这个是什么意思?“
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.