AttributeError: 'sql_connector' object has no attribute 'pwd'

Bug #506941 reported by Nhomar - Vauxoo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenETL
New
Undecided
Unassigned

Bug Description

When you try to connect to a MySQL database this error is shown!

../lib/openetl/tools.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import pickle, md5
Traceback (most recent call last):
  File "./sql_mysql_in_example.py", line 21, in <module>
    job1.run()
  File "../lib/openetl/job.py", line 232, in run
    cProfile.runctx('self.start()', globals(), locals(), path_profile)
  File "/usr/lib/python2.6/cProfile.py", line 49, in runctx
    prof = prof.runctx(statement, globals, locals)
  File "/usr/lib/python2.6/cProfile.py", line 140, in runctx
    exec cmd in globals, locals
  File "<string>", line 1, in <module>
  File "../lib/openetl/job.py", line 177, in start
    for a in c.channel_get():
  File "../lib/openetl/component/component.py", line 177, in channel_get
    data, chan = gen.next()
  File "../lib/openetl/component/transform/logger.py", line 62, in process
    for d in iterator:
  File "../lib/openetl/component/component.py", line 177, in channel_get
    data, chan = gen.next()
  File "../lib/openetl/component/input/sql_in.py", line 81, in process
    self.sql_con = self.connector.open()
  File "../lib/openetl/connector/sql_connector.py", line 92, in open
    connector = MySQLdb.Connection(db=self.db, host=self.host, port=self.port, user=self.uid, passwd=self.pwd)
AttributeError: 'sql_connector' object has no attribute 'pwd'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.