mapbox / mapbox/osm-bright

Issue during ./make.py

Open
#105 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CartoCSS
Stars
703
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Hi there, when i tried to do ./make.py I have next error:

zhandos@root-osm:/usr/local/share/maps/style/osm-bright-master$ ./make.py
Traceback (most recent call last):
File "./make.py", line 123, in
build()
File "./make.py", line 41, in build
template = loads(templatefile.read())
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting property name: line 8 column 19 (char 298)

line 8 in my osmbright is

from json import loads, dumps

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report points to make.py:41, where JSON is loaded, and make.py:123, the build entry point. Reproduce ./make.py and inspect the template file read at line 41, especially its reported line 8; the issue provides no requested correction or acceptance criterion, so clarify the failing input and expected behavior before coding.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.