django-gcharts icon indicating copy to clipboard operation
django-gcharts copied to clipboard

No cStringIO in Python 3

Open Bellaby opened this issue 5 years ago • 2 comments

I've chosen this as it seems to be the most promising out of a list of chart modules for Django. However I've run into a couple of issues trying to run it in DJango 2.2.3 with Python 3.7.4

I've commented on an issue opened in Mar last year which didn't seem to get attention and I've also come across this:

ModuleNotFoundError: No module named 'cStringIO'

It looks like cStringIO is not in Python 3 and is now io.StringIO or io.BytesIO

Bellaby avatar Jul 29 '19 10:07 Bellaby

Hello! You're right, this library has not been updated for several years and I'm a bit amazed that anyone still uses it, hehe :)

If you'd be willing to submit a PR with fixes, I'd be happy to push a new release, but I don't really have any spare time to be working on this myself these days.

rhblind avatar Aug 05 '19 11:08 rhblind

I'll see what I can do. However I too don't have much spare time :) I'll let you know.

Bellaby avatar Sep 09 '19 09:09 Bellaby