Closed timothyleung closed 8 years ago
I'm having the same issue with python3.4
I did some digging and found that get_serieses
in BaseFlowChart
is storing the result of zip
which then gets json serialized.
The problem is that the zip
method in python 2 returns a list of tuples whereas in python 3 a zip
object is returned.
The zip
should be converted to a list
as such.
Yup Thats what I did to fix it as well! Feel like we should create a pull request for this
Pull request https://github.com/agiliq/django-graphos/pull/32 takes care of this.
I've included this pull request in my fork at https://github.com/ModusVivendi/django-graphos and also on pip at django-graphos-3.
@timothyleung @e78908b943c8 @ModusVivendi @sheepeatingtaz PR https://github.com/agiliq/django-graphos/pull/32 has been merged and updated code has been uploaded to Pypi. With recent "pip install django-graphos" this issue should be resolved.
By following the tutorial, I have the following set up
Template
{{ chart.as_html }}
Error