cascrape and missing modules

5 views
Skip to first unread message

Clearscience

unread,
Jan 17, 2011, 2:30:57 PM1/17/11
to CCC GISTEMP discussion
Hey all,
Still running into issues with the cascrape tool whereby it indicates
i'm missing a json module. I am running it on python 2.7 and I'm not
sure if that is the problem?

Cheers.

Clearscience

unread,
Jan 17, 2011, 2:56:48 PM1/17/11
to CCC GISTEMP discussion
Also note I tried downloading json.py and I put it in pythons library
and I still got the same issue. Any suggestions?

I read up a bit on the module here:
http://docs.python.org/library/json.html

I have searched all through my library and cannot find the Json
module.

Clearscience

unread,
Jan 24, 2011, 12:56:40 PM1/24/11
to CCC GISTEMP discussion
Hey all, after dealing with that issue mentioned above I ran into the
following:

File “C:\Python27\lib\json\decoder.py”, line 378, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded

Clearscience

unread,
Feb 9, 2011, 6:32:23 PM2/9/11
to CCC GISTEMP discussion
Any ideas on this?

David Jones

unread,
Feb 10, 2011, 4:34:32 AM2/10/11
to ccc-giste...@googlegroups.com
On 9 February 2011 23:32, Clearscience <clearsc...@gmail.com> wrote:
> Any ideas on this?

I tried it recently, and... it just works for me. I suspect it is
some windows thing, and i suspect it will be annoyingly simple when we
work out what it is (for example, I suspect that the JSON library on
windows might think there is an extra character at the end of the
input, due to line ending issues or something like that.

The way the script behaves is not very friendly: any error causes it
to throw away all of its data. I'll make the script more robust so
that it saves all the data it downloads. Then it will be easier to:
a) analyse the problem; and, b) try and fix any problems without
having to download all the data again.

Cheers,
drj

> --
> You received this message because you are subscribed to the Google Groups "CCC GISTEMP discussion" group.
> To post to this group, send email to ccc-giste...@googlegroups.com.
> To unsubscribe from this group, send email to ccc-gistemp-dis...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ccc-gistemp-discuss?hl=en.
>
>

Clearscience

unread,
Mar 9, 2011, 3:16:34 PM3/9/11
to CCC GISTEMP discussion
Hey David,
Given that it is likely some windows thing that is keeping me from
having the JSON issue worked out, is there any chance you could email
me the most recent data that you have downloaded for the canadian
stuff?

On Feb 10, 6:34 am, David Jones <d...@climatecode.org> wrote:
Reply all
Reply to author
Forward
0 new messages