I am trying to run a player.py file and have occasionally been getting 
this error.Can someone please help me out here.<br><br><br>Error:::::::::::::::::::::::<br>No
 handlers could be found for logger &quot;ZODB.Connection&quot;<br>
Traceback (most recent call last):<br>  File &quot;C:\Documents and 
Settings\Arpit\workspace\<div id=":50" class="ii gt">IndianPremierLeagu\src\root\Classes\Player.py&quot;,
 line 114, in &lt;module&gt;<br>    if not root.has_key(&quot;Players&quot;):<br>
  File &quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\Connection.py&quot;,
 line 811, in setstate<br>    self._setstate(obj)<br>  File 
&quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\Connection.py&quot;,
 line 879, in _setstate<br>
    self._reader.setGhostState(obj, p)<br>  File 
&quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\serialize.py&quot;,
 line 595, in setGhostState<br>    state = self.getState(pickle)<br>  
File &quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\serialize.py&quot;,
 line 588, in getState<br>
    return unpickler.load()<br>  File &quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\serialize.py&quot;,
 line 479, in _persistent_load<br>    return self.load_oid(reference)<br> 
 File &quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\serialize.py&quot;,
 line 538, in load_oid<br>
    return self._conn.get(oid)<br>  File &quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\Connection.py&quot;,
 line 245, in get<br>    obj = self._reader.getGhost(p)<br>  File 
&quot;D:\python\lib\site-packages\zodb3-3.10.0a1-py2.6-win32.egg\ZODB\serialize.py&quot;,
 line 576, in getGhost<br>
    if issubclass(klass, Broken):<br>TypeError: issubclass() arg 1 must 
be a class<br><br><br>Cheers,<br><font color="#888888">Rohit</font></div><br><br><br>This is the code of player.py<br><br>from persistent import Persistent<br>import transaction<br>from root import ZodbConnection<br>import Club<br>
<br>class Player(Persistent):<br>    def __init__(self,PlayerID,Name,Age,Wage,Batsman,Bowler,Keeper,Height,Weight,Personality,Stamina,Pace,Strength,Fitnessrating,Agility,Reflexes,Jumping,Compusure,Concentration,Influence,HandlingPressure,InnovativeQuotient,Boldness,Adapatability,Determination,Aggression,Loyalty,Flair,HandlingMedia,Decisions,Motivation,FieldPlacement,FrontFoot,BackFoot,StraightDrive,ReverseSweep,Ondrive,BattingTechinique,BowlingSpeed,SlowerDelivery,ReverseSwing,OutSwing,LegBreak,Armball,Flipper,Length,BowlingTechnique,Catching,Thrwoing,BatAwareness,Stumping,BallCollection,FavouredPersonnel,FavouredTeam,Hook,Pull,Defense,CoverDrive,Sweep,LateCut,Cut,Legglance,BowlAwareness,Bouncer,Yorker,Inswing,Offbreak,Doosra,Googly,Line,Chinaman,FieldAwareness,DirectHits,Diving,Glovework,Movement,Communication,Morale,Fitness):<br>
        self.PlayerID=PlayerID<br>        self.Name=Name<br>        self.Age=Age<br>        self.Wage=Wage<br>        self.Batsman=Batsman<br>        self.Bowler=Bowler<br>        self.Keeper=Keeper<br>        self.Height=Height<br>
        self.Weight=Weight<br>        self.Personality=Personality<br>        self.Stamina=Stamina<br>        self.Pace=Pace<br>        self.Strength=Strength<br>        self.Fitnessrating=Fitnessrating<br>        self.Agility=Agility<br>
        self.Reflexes=Reflexes<br>        self.Jumping=Jumping<br>        self.Compusure=Compusure<br>        self.Concentration=Concentration<br>        self.Influence=Influence<br>        self.HandlingPressure=HandlingPressure<br>
        self.InnovativeQuotient=InnovativeQuotient<br>        self.Boldness=Boldness<br>        self.Adapatability=Adapatability<br>        self.Determination=Determination<br>        self.Aggression=Aggression<br>        self.Loyalty=Loyalty<br>
        self.Flair=Flair<br>        self.HandlingMedia=HandlingMedia<br>        self.Decisions=Decisions<br>        self.Motivation=Motivation<br>        self.FieldPlacement=FieldPlacement<br>        self.FrontFoot=FrontFoot<br>
        self.BackFoot=BackFoot<br>        self.StraightDrive=StraightDrive<br>        self.ReverseSweep=ReverseSweep<br>        self.Ondrive=Ondrive<br>        self.BattingTechinique=BattingTechinique<br>        self.BowlingSpeed=BowlingSpeed<br>
        self.SlowerDelivery=SlowerDelivery<br>        self.ReverseSwing=ReverseSwing<br>        self.OutSwing=OutSwing<br>        self.LegBreak=LegBreak<br>        self.Armball=Armball<br>        self.Flipper=Flipper<br>        self.Length=Length<br>
        self.BowlingTechnique=BowlingTechnique<br>        self.Catching=Catching<br>        self.Thrwoing=Thrwoing<br>        self.BatAwareness=BatAwareness<br>        self.Stumping=Stumping<br>        self.BallCollection=BallCollection<br>
        self.FavouredPersonnel=FavouredPersonnel<br>        self.FavouredTeam=FavouredTeam<br>        self.Hook=Hook<br>        self.Pull=Pull<br>        self.Defense=Defense<br>        self.CoverDrive=CoverDrive<br>        self.Sweep=Sweep<br>
        self.LateCut=LateCut<br>        self.Cut=Cut<br>        self.Legglance=Legglance<br>        self.BowlAwareness=BowlAwareness<br>        self.Hook=Hook<br>        self.Pull=Pull<br>        self.Defense=Defense<br>        self.CoverDrive=CoverDrive<br>
        self.Sweep=Sweep<br>        self.LateCut=LateCut<br>        self.Cut=Cut<br>        self.Legglance=Legglance<br>        self.Bouncer=Bouncer<br>        self.Yorker=Yorker<br>        self.Inswing=Inswing<br>        self.Offbreak=Offbreak<br>
        self.Doosra=Doosra<br>        self.Googly=Googly<br>        self.Line=Line<br>        self.Chinaman=Chinaman<br>        self.FieldAwareness=FieldAwareness<br>        self.DirectHits=DirectHits<br>        self.Diving=Diving<br>
        self.Glovework=Glovework<br>        self.Movement=Movement<br>        self.Communication=Communication<br>        self.Morale=Morale<br>        self.Fitness=Fitness<br>       <br><br>        def clubs(self):<br>            result=[]<br>
            for name in self.FavouredTeam:<br>                result.append(Club.findclubsbyname(name))<br>            return result   <br><br>            for team in result:<br>               print &quot;Player&#39;s favourite teams are %s&quot; % team<br>
<br><br><br><br>s=ZodbConnection.open_zodb()<br>root=s[0]<br><br><br><br>if not root.has_key(&quot;Players&quot;):<br>    root[&#39;Players&#39;] = {}<br>PlayerRoot=root[&quot;Players&quot;]<br><br><br>def listplayers():<br>
    if len(PlayerRoot.values())==0:<br>        print &quot;There are no players.&quot;<br>        print<br>        return<br>    for player in PlayerRoot.values():<br>        print &quot;Name: %s&quot; % player.Name<br>        print<br>
        print &quot;Owned by %s&quot; % player.Age<br>        print<br>        print player.FavouredPersonnel<br>        print<br>       <br><br><br><br><br>def addplayers(PlayerID,Name,Age,Wage,Batsman,Bowler,Keeper,Height,Weight,Personality,Stamina,Pace,Strength,Fitnessrating,Agility,Reflexes,Jumping,Compusure,Concentration,Influence,HandlingPressure,InnovativeQuotient,Boldness,Adapatability,Determination,Aggression,Loyalty,Flair,HandlingMedia,Decisions,Motivation,FieldPlacement,FrontFoot,BackFoot,StraightDrive,ReverseSweep,Ondrive,BattingTechinique,BowlingSpeed,SlowerDelivery,ReverseSwing,OutSwing,LegBreak,Armball,Flipper,Length,BowlingTechnique,Catching,Thrwoing,Awareness,Stumping,BallCollection,FavouredPersonnel,FavouredTeam,Hook,Pull,Defense,CoverDrive,Sweep,LateCut,Cut,Legglance,Bouncer,Yorker,Inswing,Offbreak,Doosra,Googly,Line,Chinaman,DirectHits,Driving,Glovework,Movement,Communication,Morale,Fitness):<br>
    if PlayerRoot.has_key(Name):<br>        print &quot;This player is already created&quot;<br>        return<br>   <br>    if Name:<br>        PlayerRoot[Name]=Player(PlayerID,Name,Age,Wage,Batsman,Bowler,Keeper,Height,Weight,Personality,Stamina,Pace,Strength,Fitnessrating,Agility,Reflexes,Jumping,Compusure,Concentration,Influence,HandlingPressure,InnovativeQuotient,Boldness,Adapatability,Determination,Aggression,Loyalty,Flair,HandlingMedia,Decisions,Motivation,FieldPlacement,FrontFoot,BackFoot,StraightDrive,ReverseSweep,Ondrive,BattingTechinique,BowlingSpeed,SlowerDelivery,ReverseSwing,OutSwing,LegBreak,Armball,Flipper,Length,BowlingTechnique,Catching,Thrwoing,Awareness,Stumping,BallCollection,FavouredPersonnel,FavouredTeam,Hook,Pull,Defense,CoverDrive,Sweep,LateCut,Cut,Legglance,Bouncer,Yorker,Inswing,Offbreak,Doosra,Googly,Line,Chinaman,DirectHits,Driving,Glovework,Movement,Communication,Morale,Fitness)<br>
   <br>    root[&#39;Players&#39;]=PlayerRoot<br>    transaction.commit()<br>    print &quot;Player added&quot;<br>    print<br> <br><br><br><br><br><br>if __name__==&quot;__main__&quot;:<br>    while 1:<br>        choice=raw_input(&quot;Press &#39;L&#39; to list players, &#39;A&#39; to add&quot;<br>
                         &quot;an player, or &#39;Q&#39; to quit:&quot;)<br>        choice=choice.lower()<br>        if choice==&quot;l&quot;:<br>            listplayers()<br>        elif choice==&#39;a&#39;:<br>            ID=input(&quot;PlayerID:&quot;)<br>
            name=raw_input(&quot;Name:&quot;)<br>            age=input(&quot;Age:&quot;)<br>            wage=input(&quot;Wage:&quot;)<br>            batsman=input(&quot;Batsman:&quot;)<br>            bowler=input(&quot;Bowler:&quot;)<br>
            keeper=input(&quot;Keeper:&quot;)<br>            height=input(&quot;Height:&quot;)<br>            weight=input(&quot;Weight:&quot;)<br>            personality=raw_input(&quot;Personality:&quot;)<br>            stamina=input(&quot;Stamina:&quot;)<br>
            pace=input(&quot;Pace:&quot;)<br>            strength=input(&quot;Strength:&quot;)<br>            fitnessrating=input(&quot;Fitness:&quot;)<br>            agility=input(&quot;Agility&quot;)<br>            reflexes=input(&quot;Reflexes:&quot;)<br>
            jumping=input(&quot;Jumping:&quot;)<br>            composure=input(&quot;Composure:&quot;)<br>            concentration=input(&quot;Concentration:&quot;)<br>            influence=input(&quot;Influence:&quot;)<br>
            handling_pressure=input(&quot;HandlingPressure:&quot;)<br>            innovative_quotient=input(&quot;InnovativeQuotient:&quot;)<br>            boldness=input(&quot;Boldness:&quot;)<br>            adaptability=input(&quot;Adaptability:&quot;)<br>
            determination=input(&quot;Determination:&quot;)<br>            aggression=input(&quot;Aggression:&quot;)<br>            loyalty=input(&quot;Loyalty:&quot;)<br>            flair=input(&quot;Flair:&quot;)<br>            handling_media=input(&quot;HandlingMedia:&quot;)<br>
            decisions=input(&quot;Decisions:&quot;)<br>            motivation=input(&quot;Motivation:&quot;)<br>            field_placement=input(&quot;FieldPlacement:&quot;)<br>            frontfoot=input(&quot;FrontFoot:&quot;)<br>
            backfoot=input(&quot;Backfoot:&quot;)<br>            straight_drive=input(&quot;StraightDrive:&quot;)<br>            reverse_sweep=input(&quot;ReverseSweep:&quot;)<br>            ondrive=input(&quot;Ondrive:&quot;)<br>
            batting_technique=input(&quot;BattingTechnique:&quot;)<br>            bowling_speed=input(&quot;BowlingSpeed:&quot;)<br>            slower_delivery=input(&quot;Slowerdelivery:&quot;)<br>            reverse_swing=input(&quot;ReverseSwing:&quot;)<br>
            outswing=input(&quot;Outswing:&quot;)<br>            legBreak=input(&quot;LegBreak:&quot;)<br>            armball=input(&quot;Armball:&quot;)<br>            flipper=input(&quot;Flipper:&quot;)<br>            length=input(&quot;Length:&quot;)<br>
            bowling_technique=input(&quot;BowlingTechnique:&quot;)<br>            catching=input(&quot;Catching:&quot;)<br>            throwing=input(&quot;Throwing:&quot;)<br>            batawareness=input(&quot;BatAwareness:&quot;)<br>
            stumping=input(&quot;Stumping:&quot;)<br>            ballcollection=input(&quot;BallCollection:&quot;)<br>            fav_pers=raw_input(&#39;Favoured Personnel: &#39;).split(&#39;,&#39;)<br>            fav_team=raw_input(&quot;Favourite Team:&quot;).split(&#39;,&#39;)<br>
           <br>            hook=input(&quot;Hook:&quot;)<br>            pull=input(&quot;Pull:&quot;)<br>            defense=input(&quot;Defense:&quot;)<br>            cover_drive=input(&quot;CoverDrive:&quot;)<br>            sweep=input(&quot;Sweep:&quot;)<br>
            latecut=input(&quot;Latecut:&quot;)<br>            cut=input(&quot;Cut:&quot;)<br>            legglance=input(&quot;Legglance:&quot;)<br>            bowl_awareness=input(&quot;BowlingAwareness:&quot;)<br>            bouncer=input(&quot;Bouncer:&quot;)<br>
            yorker=input(&quot;Yorker&quot;)<br>            inswing=input(&quot;Inswing:&quot;)<br>            offbreak=input(&quot;Offbreak:&quot;)<br>            doosra=input(&quot;Doosra:&quot;)<br>            googly=input(&quot;Googly:&quot;)<br>
            line=input(&quot;Line:&quot;)<br>            chinaman=input(&quot;Chinaman:&quot;)<br>            field_awareness=input(&quot;FielcAwareness:&quot;)<br>            directhits=input(&quot;DirectHits:&quot;)<br>
            diving=input(&quot;Diving:&quot;)<br>            glovework=input(&quot;Glovework:&quot;)<br>            movement=input(&quot;Movement:&quot;)<br>            communication=input(&quot;Communication:&quot;)<br>            morale=raw_input(&quot;Morale:&quot;)<br>
            fitness=raw_input(&quot;Fitness:&quot;)<br>    <br>           <br>            addplayers(ID,name,age,wage,batsman,bowler,keeper,height,weight,personality,stamina,pace,strength,fitness,agility,reflexes,jumping,composure,concentration,influence,handling_pressure,innovative_quotient,boldness,adaptability,determination,aggression,loyalty,flair,handling_media,decisions,motivation,field_placement,frontfoot,backfoot,straight_drive,reverse_sweep,ondrive,batting_technique,bowling_speed,slower_delivery,reverse_swing,outswing,legBreak,armball,flipper,length,bowling_technique,catching,throwing,batawareness,stumping,ballcollection,fav_pers,hook,pull,defense,cover_drive,sweep,latecut,cut,legglance,bowl_awareness,bouncer,yorker,inswing,offbreak,doosra,googly,line,chinaman,field_awareness,directhits,diving,glovework,movement,communication,morale,fitness)<br>
           <br>           <br>        elif choice==&quot;q&quot;:<br>            break   <br>               <br>           <br>       <br>ZodbConnection.close_zodb(s)   <br><br><br>Its basically a class file.I have tried debugging and have foudn outthat removing this line of code result s in no error.<br>
<br>if not root.has_key(&quot;Players&quot;):<br>    root[&#39;Players&#39;] = {}<br>PlayerRoot=root[&quot;Players&quot;]<br><br><br>But i have the same lines of code in another class file in the same module.So i cant understnd why this error occurs.Any help would be much appreciated.<br>
<br>Thanks,<br>Rohit.<br>