Hey Jeremy,

Thanks for the input. You are correct: I am running a recent copy of 
django from SVN on the primary machine I am using to develop 
django.contrib.dataplot.

In fact, I ran into the same problem that you did when I tried to port 
django.contrib.dataplot to a different machine -- a machine running Django 
0.95. After realizing the existence of the new backwards-incompatible 
changes, I was able to get the django.contrib.dataplot.bike demo app 
working on my old system by simply adding the max_digits and 
decimal_places arguments to the bike/models.py FloatFields. Another 
solution would have been to upgrade the django libraries to the new trunk 
versions.

Again, thanks for trying out my library. I'm anxious to hear if you're 
able to get it working. Once you are able to get the bike app working on 
your system, it should be straightforward to translate the design 
paradigms to your plotting application.

Sincerely,
Toby Dylan Hocking
http://www.ocf.berkeley.edu/~tdhock

On Wed, 11 Jul 2007, Jeremy Dunck wrote:

>
> On 7/11/07, Toby Dylan Hocking <[EMAIL PROTECTED]> wrote:
>> If you still need help with making data-driven plots, why don't you check
>> out my new Django package --- I'd like some testers and comments.
>
> Initial reaction-- sweet!
>
> After linking dataplot into my contribs dir and adding both dataplot
> and dataplot.bike in my INSTALLED_APPS, I get this:
>
> [EMAIL PROTECTED]:~/work/pegasus/b-schools$ ~/django-admin.py syncdb
> RHOME= /usr/lib/R
> RVERSION= 2.4.1
> RVER= 2041
> RUSER= /home/jdunck
> Loading Rpy version 2041 .. Done.
> Creating the R object 'r' ..  Done
> Error: Couldn't install apps, because there were errors in one or more models:
> bike.ride: "distance": FloatFields require a "decimal_places" attribute.
> ....
>
> A quick check indicates that this is because of a backwards incompat in 
> Django:
> http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#RenamedFloatFieldtoDecimalField
>
> I guess you're running on latest trunk?
>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to