All pastes #945333 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-16 21:11 UTC
rendered paste body
Traceback (most recent call last):
  File "/usr/bin/ofcomverter", line 338, in ?
    main()
  File "/usr/bin/ofcomverter", line 308, in main
    dbhandle=connect_to_db(dbtype,dbhostname,dbport,dbname,dbusername,dbpassword)
  File "/usr/bin/ofcomverter", line 229, in connect_to_db
    return MySQLdb.connect(host=mydbhost,db=mydbname,user=mydbusername,passwd=mydbpassword,port=mydbport)
  File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 75, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 164, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
TypeError: an integer is required