[virtualcommons-svn] New issue 21 in vcweb: socket.io tornadio issues when logging in twice
Status: Beta
Brought to you by:
alllee
From: Bitbucket <iss...@bi...> - 2011-06-22 15:40:30
|
--- you can reply above this line --- New issue 21: socket.io tornadio issues when logging in twice https://bitbucket.org/virtualcommons/vcweb/issue/21/socketio-tornadio-issues-when-logging-in virtualcommons on Wed, 22 Jun 2011 17:40:23 +0200: Description: Few issues: # Somehow weird HTML is getting inserted as the message # Need to make sure we are untainting the chat messages {{{ #!python DEBUG 2011-06-22 08:25:26,310 [tornadio.vcweb|send_to_experimenter:148] sending to connection <__main__.ExperimenterHandler object at 0x133f8210> DEBUG 2011-06-22 08:25:30,089 [tornadio.vcweb|on_message:227] received message {u'participant_group_relationship_id': 3, u'message': u'<img src="http://c.sme.sk/imgs/pager/ico1.gif" class="ico"/><a href="#" id="smepager_menu1" onMouseOver="smepager_showTime(\'smepager_drop1\');" onMouseOut="smepager_hideTime(\'smepager_drop1\');">Spr\xe1vy</a><img src="http://c.sme.sk/imgs/pager/sipka.gif" alt="+"/>', u'message_type': u'chat', u'participant_experiment_relationship_id': 11} from handler <__main__.ParticipantHandler object at 0x1390c3d0> DEBUG 2011-06-22 08:25:30,090 [tornadio.vcweb|get_participant_group_relationship:76] Looking for ParticipantGroupRelationship with tuple (11, 2) DEBUG 2011-06-22 08:25:30,109 [tornadio.vcweb|send_to_experimenter:145] sending {"participant": "Student 1 (s1...@as...)", "message_type": "chat", "date_created": "08:25:30", "pk": 91, "message": "3: <img src=\"http://c.sme.sk/imgs/pager/ico1.gif\" class=\"ico\"/><a href=\"#\" id=\"smepager_menu1\" onMouseOver=\"smepager_showTime('smepager_drop1');\" onMouseOut=\"smepager_hideTime('smepager_drop1');\">Spr\u00e1vy</a><img src=\"http://c.sme.sk/imgs/pager/sipka.gif\" alt=\"+\"/>", "round_data_pk": 14} to experimenter (3, 2) sending to connection <__main__.ExperimenterHandler object at 0x133f8210> DEBUG 2011-06-22 08:26:22,270 [tornadio.vcweb|on_message:227] received message {u'participant_group_relationship_id': 2, u'message': u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Virtual Commons Web Login</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection" /> <link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print" /> <!--[if lt IE 8]><link rel="stylesheet" href="/static/media/css/blueprint/ie.css" type="text/css" media="screen, projection" /><![endif]--> <link href="/static/css/guarantee/style.css" rel="stylesheet" type="text/css" media="screen" /> <link href="/static/css/style.css" rel="stylesheet" type="text/css" media="screen" /> <!-- vcweb common js --> <script type=\'text/javascript\' src=\'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js\'></script> <script type=\'text/javascript\' src=\'/static/js/common.js\'></script> <script type=\'text/javascript\' src=\'/static/js/jquery.qtip-1.0.0-rc3.min.js\'></script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/pepper-grinder/jquery-ui.css" rel="stylesheet" type="text/css" media="screen" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script> <script type=\'text/javascript\' src=\'/static/js/dajaxice.core.js\' charset=\'utf-8\'></script> <script type=\'text/javascript\'> <!-- sets all external links to open up in new windows and jquery-ui buttonifies all buttons--> $(function() { $(\'a.external\').attr({ target: "_blank" }); $(\'button\').button(); }); </script> <script type=\'text/javascript\' src=\'/static/js/jquery.validate.min.js\'></script> <script type=\'text/javascript\'> $(function() { $(\':input\').addClass(\'required\'); $(\'#vcweb-form\').validate(); $(\'#id_email\').focus(); }); </script> </head> <body> <div id=\'logo\'> <div style=\'clear: none; position:relative;float:right; left:-930px; padding: 5px;\'> <img src=\'/static/images/vcweb-logo.png\' alt=\'vcweb logo\'/> </div> <h1> virtual commons web environment </h1> </div> <div id=\'header\'> <div id=\'menu\'> <ul> \t<li class=\'inactive\' ><a href=\'/\' class=\'first\'>Home</a></li> \t \t<li class=\'inactive\'><a href=\'/about/\'>About</a></li> \t<li class=\'inactive\'><a href=\'/contact/\'>Contact us</a></li> \t<li class=\'active inactive\'><a href=\'/accounts/login/\'>Login/Register</a></li> \t </ul> </div> </div> <div id=\'page\'> <noscript> <div class=\'alert alertIcon ui-corner-all\'> Please <b>enable JavaScript</b> before using this site. <br/>Our experiments are highly interactive and <b>will not function properly</b> without JavaScript. </div> </noscript> <form id=\'vcweb-form\' action=\'\' method=\'post\'> <h3>Returning User</h3> <p> Don't have an account or a first-time user? Please <a href=\'/accounts/register/\'>register first</a>. </p> <div class=\'field\'> <span class=\'label\' ><label for="id_email">Email</label>:</span> <input id="id_email" type="text" class="required email" name="email" /> </div> <div class=\'field\'> <span class=\'label\' ><label for="id_password">Password</label>:</span> <input id="id_password" type="password" class="required" name="password" /> </div> <div><button type=\'submit\' class=\'submit\'>Login</button></div> </form> <div style=\'clear: both;\'> </div> <!-- end #page --> </div> <div id="footer"> <p> <a href=\'http://shesc.asu.edu\'>School of Human Evolution and Social Change</a> <br /> <a href=\'http://csid.asu.edu\'>Center for the Study of Institutional Diversity</a> </p> <p class=\'legal\'> Copyright (c) 2010 Arizona Board of Regents. Design adapted from <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.<br/> This project is funded by the <a href=\'http://nsf.gov\'>National Science Foundation</a> and <a href=\'http://www.asu.edu\'>Arizona State University</a>. <br /> </p> </div> </body> </html> ', u'message_type': u'chat', u'participant_experiment_relationship_id': 15} from handler <__main__.ParticipantHandler object at 0x13b34350> }}} Responsible: alllee -- This is an issue notification from bitbucket.org. You are receiving this either because you are the owner of the issue, or you are following the issue. |