jeffkit / apnsagent Goto Github PK
View Code? Open in Web Editor NEWA simple apns agent server and client lib in python
A simple apns agent server and client lib in python
运行服务 apnsagent-server.py config apnsagent.conf 报以下错误:
NoSectionError: No section: 'app'
token是那样格式的?要不要去掉< >?要不要去掉空格?
regist后调用了push无任何返回,无任何报错,就是推送不成功,后台里也没有记录。
push的调用那几个参数怎么放,什么类型的完全没说明
坑啊
在访问监控服务时,看到日志文件有io错误,导致浏览器显示500错误。(Internal Server Error)
错误信息如下:
IOError: [Errno 20] Not a directory: '/usr/local/lib/python2.7/site-packages/apnsagent-0.7-py2.7.egg/apnsagent/templates/login.html'
麻烦看看怎么解决这个问题。
发送push失败,查看日志有以下错误信息:
[2012-04-05 15:01:37,035] log_error(notification.py:86)
File "build/bdist.linux-x86_64/egg/apnsagent/notification.py", line 97, in send_message\n', '
File "build/bdist.linux-x86_64/egg/apnsagent/notification.py", line 121, in _send_message\n',
"TypeError: init() got an unexpected keyword argument 'custom'\n"]
请jeff看看怎么解决这个问题。多谢!
Hi,
When browsing the codes, I notice that there is a tail recursion in file notification.py, line 236. Python is not optimized on tail recursion, unlike most functional programming languages such as lisp or erlang. It could cause memory dilation or even program crash.
无效的token,没有记录到非法Token,一直是空值。。
无效的token,总是记录到发送总数,而不是失败总数。
0.8与0.9版本都有这个问题。
请jeff查看。
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.