All pastes #908953 Raw Edit

Untitled

public text v1 · immutable
·published 2008-02-18 20:45 UTC
rendered paste body
Downloading codelist.zip from http://www.ofcom.org.uk/telecoms/ioi/numbers/numbers_administered/codelist.zip...
Unzipping file s5_code.txt
Unzipping file s3_code.txt
Unzipping file s1_code.txt
Unzipping file sabc.txt
Unzipping file s10_code.txt
Unzipping file s9_code.txt
Unzipping file s8_code.txt
Unzipping file s7_code.txt
Traceback (most recent call last):
  File "/usr/bin/ofcomverter", line 335, in ?
    main()
  File "/usr/bin/ofcomverter", line 315, in main
    dbhandle=connect_to_db(dbtype,dbhostname,dbport,dbname,dbusername,dbpassword)
  File "/usr/bin/ofcomverter", line 244, 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