Giter VIP home page Giter VIP logo

apnsagent's People

Contributors

jeffkit avatar sharper-than-blade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

apnsagent's Issues

Tail recursion in redis subscriber message comsuming

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.

监控服务报io错误

在访问监控服务时,看到日志文件有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'

麻烦看看怎么解决这个问题。

unexpected keyword argument 'custom'\n"

发送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看看怎么解决这个问题。多谢!

完全无法使用啊

token是那样格式的?要不要去掉< >?要不要去掉空格?
regist后调用了push无任何返回,无任何报错,就是推送不成功,后台里也没有记录。
push的调用那几个参数怎么放,什么类型的完全没说明
坑啊

invalid token没有记录到非法Token里边

无效的token,没有记录到非法Token,一直是空值。。
无效的token,总是记录到发送总数,而不是失败总数。

0.8与0.9版本都有这个问题。

请jeff查看。

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.