New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enum module conflicting with enum34 #93

farirat opened this Issue Feb 6, 2015 · 1 comment


None yet
1 participant

farirat commented Feb 6, 2015

enum as a jasmin install requirement and enum34 as a cryptography install requirement provide the same module name _enum_, this will lead to errors:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/trial/", line 498, in loadPackage
module = modinfo.load()
File "/usr/local/lib/python2.7/dist-packages/twisted/python/", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(
File "/usr/local/lib/python2.7/dist-packages/twisted/python/", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/", line 242, in _importAndCheckStack
return import(importName)
File "/home/travis/build/jookies/jasmin/jasmin/managers/test/", line 13, in
from jasmin.managers.clients import SMPPClientManagerPB
File "/home/travis/build/jookies/jasmin/jasmin/managers/", line 8, in
from import SMPPClientService
File "/home/travis/build/jookies/jasmin/jasmin/protocols/smpp/", line 2, in
from jasmin.protocols.smpp.factory import SMPPClientFactory
File "/home/travis/build/jookies/jasmin/jasmin/protocols/smpp/", line 7, in
from jasmin.protocols.smpp.protocol import SMPPClientProtocol, SMPPServerProtocol
File "/home/travis/build/jookies/jasmin/jasmin/protocols/smpp/", line 6, in
from jasmin.vendor.smpp.twisted.protocol import SMPPClientProtocol as twistedSMPPClientProtocol
File "/usr/local/lib/python2.7/dist-packages/jasmin/vendor/smpp/twisted/", line 21, in
from jasmin.vendor.smpp.pdu.operations import *
File "/usr/local/lib/python2.7/dist-packages/jasmin/vendor/smpp/pdu/", line 16, in
from jasmin.vendor.smpp.pdu.pdu_types import CommandId, PDU, PDURequest, PDUResponse, PDUDataRequest
File "/usr/local/lib/python2.7/dist-packages/jasmin/vendor/smpp/pdu/", line 23, in
CommandId = Enum(*constants.command_id_name_map.keys())
exceptions.TypeError: call() takes at most 5 arguments (28 given)

@farirat farirat added the bug label Feb 6, 2015

@farirat farirat self-assigned this Feb 6, 2015

@farirat farirat added this to the v0.6 milestone Feb 6, 2015


This comment has been minimized.

Show comment
Hide comment

farirat Feb 6, 2015


A proposed solution is to venodrize enum module and remove it as an external requirement.


farirat commented Feb 6, 2015

A proposed solution is to venodrize enum module and remove it as an external requirement.

@farirat farirat closed this in 5771b4b Feb 24, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment