What does your JSON file look like?
-mike.
On May 16, 2013, at 1:58 PM, Max Demars wrote:
> Hi,
>
> Im still trying to get familiar with TileStache so I do some tests with a Spatialite DB on a windows 7 64 bit with python 2.7. So far, nothing is working because of an error with json and simplejson libraries.
>
> I got an error: "Unable to find vcvarsall.bat" during the install of tilestache but the library have been installed anyway.
> I got also a warning during the installation of simplejson: "The C extension could not be compiled, speedups are not enableds. Plain-python installation succeeded.'
>
> Now when I launch tilestache-server.py with the default tilestache.cfg i got this error related to json python library.
>
> Error loading Tilestache config:
> Traceback (most recent call last):
> File "C:\Python27\Scripts\tilestache-server.py", line 55, in <module>
> app = TileStache.WSGITileServer(config=options.file, autoreload=True)
> File "C:\Python27\lib\site-packages\TileStache\__init__.py", line 302, in __in
> it__
> self.config = parseConfigfile(config)
> File "C:\Python27\lib\site-packages\TileStache\__init__.py", line 77, in parse
> Configfile
> config_dict = json_load(urlopen(configpath))
> File "C:\Python27\lib\json\__init__.py", line 278, in load
> **kw)
> File "C:\Python27\lib\json\__init__.py", line 326, in loads
> return _default_decoder.decode(s)
> File "C:\Python27\lib\json\decoder.py", line 366, in decode
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode
> raise ValueError("No JSON object could be decoded")
> ValueError: No JSON object could be decoded
>
> Is it related to the errors I got during the installation?
>
> Thanks for advices
>
> Max Demars
>
> --
> You received this message because you are subscribed to the Google Groups "Tilestache" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
tilestache+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
----------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca
http://mike.teczno.com/contact.html