<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
That's going to help a lot, thanks Dan<br><br>&gt; Date: Thu, 6 Dec 2007 13:52:01 -0500<br>&gt; From: danring@MIT.EDU<br>&gt; To: eggar@hotmail.com; dev-flock@mit.edu<br>&gt; Subject: Re: [Dev-flock] TODO list<br>&gt; <br>&gt; What error was it giving you?  In general, if you're having trouble<br>&gt; adding entries to the database, you'll get better error descriptions<br>&gt; from the shell than from AJAX calls:<br>&gt; ./manage.py shell<br>&gt; from db.models import *<br>&gt; b = Behavior(label="test")<br>&gt; b.save()<br>&gt; # throws an exception:<br>&gt; OperationalError: (1048, "Column 'dimension_id' cannot be null")<br>&gt; <br>&gt; Both dimension_id and node_id must be provided.  Note that the form<br>&gt; field for "dimension" is a text field, but behaviors require a<br>&gt; dimension_id referencing a Dimension object.  (I suspect that was the<br>&gt; problem you were having, Mike?)  We can either create a dimension with<br>&gt; whatever text the user gives, and then use that id, or we can provide a<br>&gt; list of existing dimensions.  We should do the latter for now.<br>&gt; <br>&gt; Anyway, the commit should fix behavior_add for now.<br>&gt; <br>&gt; Dan<br>&gt; <br>&gt; <br>&gt; Mike Eggar wrote:<br>&gt; &gt; I can add the drop-down for dimension when you add a behavior, the code<br>&gt; &gt; won't be pretty but it'll work for friday, and I'll fix it up<br>&gt; &gt; design-wise over the weekend. <br>&gt; &gt; <br>&gt; &gt; Dan, mabye you can help me out with adding a behavior, (add_new_behavior<br>&gt; &gt; in main.py), I've tried messing with the Behavior model, and every<br>&gt; &gt; insert configuration I can think of.<br>&gt; &gt; <br>&gt; &gt; Mike<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt;&gt; Date: Wed, 5 Dec 2007 01:04:59 -0500<br>&gt; &gt;&gt; From: lucy@thoughtandmemory.org<br>&gt; &gt;&gt; To: danring@mit.edu; dev-flock@mit.edu<br>&gt; &gt;&gt; Subject: Re: [Dev-flock] TODO list<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Ok.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; The ratings and evaluations are definitely higher priority than rich<br>&gt; &gt;&gt; text editing. We can remove that feature for the launch until we get<br>&gt; &gt;&gt; the bug fixed.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; ps - revision spam is a beautiful sight indeed<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; On Dec 5, 2007 12:51 AM, Daniel Ring &lt;danring@mit.edu&gt; wrote:<br>&gt; &gt;&gt; &gt; I'm planning to work on ratings (obviously) and evaluations from the<br>&gt; &gt;&gt; &gt; TODO list first.<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; About that Add Argument -&gt; Add Behavior bug - the bug has something to<br>&gt; &gt;&gt; &gt; do with jquery.rte... using FireBug, I can see that jquery.rte.js Line<br>&gt; &gt;&gt; &gt; 44 is failing (designMode something or other). I think the broken pipe<br>&gt; &gt;&gt; &gt; is because there are too many requests (because rte.css gets requested<br>&gt; &gt;&gt; &gt; non stop). It doesn't seem to happen with Firefox 3.0, and I haven't<br>&gt; &gt;&gt; &gt; tried with anything else yet, but maybe it's just Firefox 2?<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Sorry about the spam.<br>&gt; &gt;&gt; &gt; Dan<br>&gt; &gt;&gt; &gt; _______________________________________________<br>&gt; &gt;&gt; &gt; Dev-flock mailing list<br>&gt; &gt;&gt; &gt; Dev-flock@mit.edu<br>&gt; &gt;&gt; &gt; http://mailman.mit.edu/mailman/listinfo/dev-flock<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Dev-flock mailing list<br>&gt; &gt;&gt; Dev-flock@mit.edu<br>&gt; &gt;&gt; http://mailman.mit.edu/mailman/listinfo/dev-flock<br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Get the power of Windows + Web with the new Windows Live. Power up!<br>&gt; &gt; &lt;http://www.windowslive.com?ocid=TXT_TAGLM_Wave2_powerofwindows_112007&gt;<br><br /><hr />Connect and share in new ways with Windows Live. <a href='http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007' target='_new'>Connect now!</a></body>
</html>