i got this error when launching setup.py idk what to do
CRITICAL | Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 501, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1475, in gotResult
_inlineCallbacks(r, g, status)
--- <exception caught here> ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/sources/Timeline/Timeline/Server/Music.py", line 46, in setup
tracks = yield MusicTrack.find(where = ['deleted = 0'])
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twistar/dbconfig/mysql.py", line 26, in _runInteraction
return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 460, in _runInteraction
conn = self.connectionFactory(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 36, in __init__
self.reconnect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 76, in reconnect
self._connection = self._pool.connect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 427, in connect
conn = self.dbapi.connect(*self.connargs, **self.connkw)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
exceptions.TypeError: an integer is required
CRITICAL |
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 512, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/sources/Timeline/Timeline/Server/Music.py", line 46, in setup
tracks = yield MusicTrack.find(where = ['deleted = 0'])
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/local/lib/python2.7/dist-packages/twistar/dbconfig/mysql.py", line 26, in _runInteraction
return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 460, in _runInteraction
conn = self.connectionFactory(self)
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 36, in __init__
self.reconnect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 76, in reconnect
self._connection = self._pool.connect()
File "/usr/local/lib/python2.7/dist-packages/twisted/enterprise/adbapi.py", line 427, in connect
conn = self.dbapi.connect(*self.connargs, **self.connkw)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required
if it helps im on ubuntu 16.04 and all the required installs unless i forgot something
Thanks
i got this error when launching setup.py idk what to do
if it helps im on ubuntu 16.04 and all the required installs unless i forgot something Thanks