ibid TypeError: Invalid argument(s)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
~/BOT$ ibid-setup
INFO:core.config:Loaded configuration from /usr/share/ibid/config.ini

What would you like to call your bot? MYBOT
Loading plugins...

Database configuration:
If you want to use the default SQLite database, just press Enter.
Otherwise please enter a SQLAlchemy database URL.
Supported databases:
* mysql://user:pass@host/database
* postgres://user:pass@host/database (load the CITEXT contrib module first)
* sqlite:///filename
Database URL [Default: sqlite:///ibid.db]: mysql://MYBOT:##ho31Kv$CXMtL%KMHO#Re2##@localhost/MYBOT

Source configuration:
Your bot needs to connect to an IM service (in Ibid terminology, a source) like
an IRC server or jabber account. Please enter the details for the primary
source.
Note: This setup script currently only supports IRC and jabber. You can set up
other sources manually in ibid.ini.

The source name should be the IRC network name or a generic description for the
source like 'jabber'.

Source name (e.g. freenode, jabber): freenode
Source type (irc, jabber) [Default: irc]: irc
IRC Server: irc.freenode.net
Port [Default: 6667]: 
Channels to join (comma separated) [Default: none]: #MYBOTCHANNEL
Traceback (most recent call last):
  File "/usr/bin/ibid-setup", line 134, in <module>
    db = DatabaseManager(check_schema_versions=False)
  File "/usr/lib/python2.7/dist-packages/ibid/core.py", line 311, in __init__
    self.load(database)
  File "/usr/lib/python2.7/dist-packages/ibid/core.py", line 351, in load
    pool_recycle=3600)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 332, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 141, in create
    engineclass.__name__))
TypeError: Invalid argument(s) 'assert_unicode','use_native_unicode' sent to create_engine(), using configuration MySQLDialect_mysqldb/QueuePool/Engine.  Please check that the keyword arguments are appropriate for this combination of components.