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