Skip to content

Unable to import from smpp.twisted.client #11

@sbilly-qmedic

Description

@sbilly-qmedic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions