Hello There,
Can you please help me with this issue here.
I am getting below error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\bots\communication.py", line 1703, in outcommunicate
botslib.runscript(self.userscript,self.scriptname,'outcommunicate',channeldict=self.channeldict,dbconnection=self.dbconnection,db_object=db_object)
File "C:\Python27\lib\site-packages\bots\botslib.py", line 492, in runscript
raise ScriptError(_(u'Userscript "%(modulefile)s": "%(txt)s".'),{'modulefile':modulefile,'txt':txt})
ScriptError: Userscript "C:\Python27\lib\site-packages\bots\usersys\communicationscripts\testmysqldbconnection": "Traceback (most recent call last):
File "C:\Python27\lib\site-packages\bots\botslib.py", line 489, in runscript
return functiontorun(**argv)
File "C:\Python27\lib\site-packages\bots\usersys\communicationscripts\testmysqldbconnection.py", line 17, in outcommunicate
cur.execute("""INSERT INTO ccode (ccodeid,leftcode,rightcode) VALUES (%s, %s, $s)""", ( article ) )
File "C:\Python27\lib\site-packages\MySQLdb\cursors.py", line 159, in execute
query = query % db.literal(args)
TypeError: not all arguments converted during string formatting
I have attached both communication script and translation script.
Can you please advice me