mozes / smpp.twisted Goto Github PK
View Code? Open in Web Editor NEWSMPP 3.4 client built on Twisted
License: Other
SMPP 3.4 client built on Twisted
License: Other
So I originally posted this as being a bug in the 0.2 package but looking now at the closed issues, this was caught a long time ago and fixed. But it appears that that fix has never been deployed to PyPI. Are there any plans to do this? I am trying to declare install_requires='smpp.twisted' in my setup.py and it finds the busted 0.2 tarbal on PyPI. Kind of frustrating...
Hi,
I just installed the latest Twisted (11.0.0) and the smpp.twisted module (0.2), and tried to run the example described in Github.
I got the following error:
Traceback (most recent call last):
File "example2.py", line 3, in
from smpp.twisted.client import SMPPClientTransceiver, SMPPClientService
File "/Library/Python/2.7/site-packages/smpp.twisted-0.2-py2.7.egg/smpp/twisted/client.py", line 21, in
from smpp.twisted.protocol import SMPPClientProtocol, DataHandlerResponse
File "/Library/Python/2.7/site-packages/smpp.twisted-0.2-py2.7.egg/smpp/twisted/protocol.py", line 18, in
from smpp.pdu.namedtuple import namedtuple
ImportError: No module named pdu.namedtuple
I don't know if the original package is missing some modules... I didn't have time to check the source, so I decided to just write and ask about it. Any help is appreciated.
Machine: MacBook Pro, Lion OSX, Pyhon 2.7
Regards,
If the README.markdown file is to be set as the long description it needs to be included in the package via a MANIFEST.in file or similar.
This issue prevents installation via pip.
In the example to bind as transceiver, there is a function in which I supose there are catched all the MOs received from the SMPP, but there is no example (and I do not know how to do so) on how to send MT messages once bound to the SMPP server.
Could you add an example on how to send and MT message, and then how the DR from this MT is received as an MO?
Thank you very much.
Hello,
For some reason, I can't get past the third line (import from smpp.twisted.client). Here is the stacktrace:
Traceback (most recent call last):
File "test.py", line 3, in <module>
from smpp.twisted.client import SMPPClientTransceiver, SMPPClientService
File "/usr/local/lib/python2.7/site-packages/smpp/twisted/client.py", line 21, in <module>
from smpp.twisted.protocol import SMPPClientProtocol, DataHandlerResponse
File "/usr/local/lib/python2.7/site-packages/smpp/twisted/protocol.py", line 21, in <module>
from smpp.pdu.operations import *
File "/usr/local/lib/python2.7/site-packages/smpp/pdu/operations.py", line 16, in <module>
from smpp.pdu.pdu_types import CommandId, PDU, PDURequest, PDUResponse, PDUDataRequest
File "/usr/local/lib/python2.7/site-packages/smpp/pdu/pdu_types.py", line 20, in <module>
CommandId = Enum(*constants.command_id_name_map.keys())
TypeError: __call__() takes at most 6 arguments (28 given)
I think the issue may come from the enum module? I have pyOpenSSL (v0.13), enum (v0.4.6), Twisted (v16.6.0), smpp.pdu (v0.3), and smpp.twisted (v0.4) installed.
Not sure why it would fail, though?
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.