Missing module name(errors) when raise some InterfaceError and ProgrammingError in mysql.py and protocal.py

Bug #576319 reported by felinx.lee@gmail.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Undecided
Geert JM Vanderkelen

Bug Description

1. protocal.py
line: 383
raise InterfaceError("Failed parsing MySQL Version number.")

2. mysql.py

line: 99-100
raise InterfaceError(
                    "MySQL Version %s is not supported." % version)

line:150
raise ProgrammingError, "Illegal character set information (id=%d)" % self.charset

Those code need fixed as errors.InterfaceError and errors.ProgrammingError because those two modules just import errors.

Related branches

Changed in myconnpy:
assignee: nobody → Geert JM Vanderkelen (geertjmvdk)
status: New → Confirmed
milestone: none → 0.1.4
Revision history for this message
Geert JM Vanderkelen (geertjmvdk) wrote :

Thanks for reporting this. I posted the ProgrammingError one before, but now also fixed the other two.

revno: 238
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-bug-lp576319
timestamp: Thu 2010-05-20 11:43:47 +0200
message:
  Fix raising errors

  o Some errors weren't raised correctly.

Changed in myconnpy:
status: Confirmed → Fix Committed
Changed in myconnpy:
status: Fix Committed → Fix Released
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.