It could be a problem with the simpleson.dumps options in django 1.5 vs. the included simplejson. I remember there was something.......
Change:
chartit/templatetags/chartit.py
- from django.utils import simplejson
+import simplejson


TypeError at /heating/chart/
__init__() got an unexpected keyword argument 'use_decimal'
Request Method:GET
Request URL:http://127.0.0.1:8000/heating/chart/
Django Version:1.5.1
Exception Type:TypeError
Exception Value:
__init__() got an unexpected keyword argument 'use_decimal'
Exception Location:/usr/lib/python2.7/json/__init__.py in dumps, line 250
Python Executable:/usr/bin/python
Python Version:2.7.4
Python Path:
['/home/tony/django/sh',
 '/usr/local/lib/python2.7/dist-packages/Django-1.5.1-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-i386-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
 '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']

This was my error. What I did was replace the two american city temperature example with my own model data. However my data was different in that the two temperatures were integer and the time axis variable was actually utctime time (unconverted :) ) , the odd thing though is that there seems to be no way to specify the variables going in to the wrapper. e.g. Why is it insisting on a decimal, I cannot see where this is specified in the example!

On Monday, 10 June 2013 08:28:57 UTC, Christian Schulz wrote:

    I installed with python2.7/1.4.5 some weeks ago , but I didn't use a
    BigIntegerField. What is your error message?


    > After trying this I find a problem with the types it can use. For
    > example it does not seem to like BigIntegerField unless there is
    > something else I am doing wrong. Thinking about it, maybe I am
    letting
    > chartit do too much for me but I do like the idea of something
    doing
    > the hard thinking for me :). I am using python 2.7 and django
    1.5, are
    > you using the same ?
    >
    > On Friday, 7 June 2013 11:33:07 UTC+1, Christian Schulz wrote:
    >
    >     When you have some experience with JS/Highcharts django-chartit
    >     might be
    >     interesting.
    >     Easy is relativ but I got it and I'm really not a django/JS
    pro. It's
    >     nice work, but dev progress seems fallen asleep.
    >
    > http://chartit.shutupandship.com/
    <http://chartit.shutupandship.com/>
    <http://chartit.shutupandship.com/
    <http://chartit.shutupandship.com/>>
    >
    >
    >     >
    >     >
    >     > I would like to hear peoples opinions on third party django
    >     charting
    >     > apps, with various considerations. My primary consideration
    >     would ease
    >     > of use by a django noob. Thanks
    >     > --
    >     > You received this message because you are subscribed to
    the Google
    >     > Groups "Django users" group.
    >     > To unsubscribe from this group and stop receiving emails from
    >     it, send
    >     > an email to django-users...@googlegroups.com <javascript:>.
    >     > To post to this group, send email to
    django...@googlegroups.com
    >     <javascript:>.
    >     > Visit this group at
    > http://groups.google.com/group/django-users?hl=en
    <http://groups.google.com/group/django-users?hl=en>
    >     <http://groups.google.com/group/django-users?hl=en
    <http://groups.google.com/group/django-users?hl=en>>.
    >     > For more options, visit
    https://groups.google.com/groups/opt_out
    <https://groups.google.com/groups/opt_out>
    >     <https://groups.google.com/groups/opt_out
    <https://groups.google.com/groups/opt_out>>.
    >     >
    >     >
    >


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to