Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplejson required for tw2.browser #3

Open
csmall opened this issue Aug 28, 2013 · 4 comments
Open

simplejson required for tw2.browser #3

csmall opened this issue Aug 28, 2013 · 4 comments

Comments

@csmall
Copy link

csmall commented Aug 28, 2013

File "/home/virtualenv/develop/tw2.d3/tw2/d3/widgets.py", line 5, in
import simplejson
ImportError: No module named simplejson

you get this when going to http://localhost:8001/module?module=tw2.d3

pip install simplejson fixes it
oh, and its gearbox, not paster now

@ralphbean
Copy link
Contributor

Ah, we should just switch over to the json module from simplejson. It's in the stdlib!

w.r.t. gearbox, are you referring to the README?

@ralphbean
Copy link
Contributor

(if so, those are both easier fixes to tw2.d3 if you want to try taking them on)

@csmall
Copy link
Author

csmall commented Aug 29, 2013

On Wed, Aug 28, 2013 at 08:54:33AM -0700, Ralph Bean wrote:

Ah, we should just switch over to the json module from simplejson. It's in
the stdlib!

w.r.t. gearbox, are you referring to the README?
Yes to both, I can make the changes if you want. I looked at the tw.d3
code, its more javascript than python which really isn't my thing.
I'm actually using tw.jqueryui.jqplot now for most of my graphs.

  • Craig

Craig Small VK2XLZ http://enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5

@ralphbean
Copy link
Contributor

Yes to both, I can make the changes if you want.

Yes, please. :)

I looked at the tw.d3 code, its more javascript than python which really isn't my thing.

Aw, bummer. I know what you mean though. I never wanted to write javascript again -- that's how I got into tw2, (but then I think I ended up writing more javascript anyways...).

I'm actually using tw.jqueryui.jqplot now for most of my graphs.

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants