mapbox / carto

fast CSS-like map stylesheets
https://cartocss.readthedocs.io/
Apache License 2.0
652 stars 129 forks source link

Fails in almost current `osm-carto` #486

Closed StyXman closed 7 years ago

StyXman commented 7 years ago

Trying to help with #483, I have recently updated carto to the latest commit:

mdione@diablo:~/src/system/osm/carto$ git log -n 1
commit 93a556822b643b2075a2c6f51bef80d3d6b2fc2d (HEAD -> master, origin/master, origin/HEAD, moi/master)
Author: nebulon42 <nebulon42@mailbox.org>
Date:   Sat Jul 22 22:33:16 2017 +0200

    update docs after mapnik-reference update

I also updates osm-carto to the last 3.x version:

mdione@diablo:~/src/projects/osm/osm-carto$ git log -n 1
commit 217ff8ae9044d5be15fc3eaadde353a0a06f5dd3 (HEAD, tag: v3.3.1)
Author: Paul Norman <penorman@mac.com>
Date:   Mon May 22 10:32:15 2017 -0700

    Update changelog for v3.3.1

When I run carto against it, I get plenty of errors:

mdione@diablo:~/src/system/osm/carto$ ./bin/carto -a 2.1.1 ~/src/projects/osm/osm-carto/project.mml      
Error: water-features.mss:60:21 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: water-features.mss:59:6 Invalid value for marker-width, the type expression is expected. 8 (of type float) was given.
Error: water-features.mss:45:21 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: water-features.mss:44:6 Invalid value for marker-width, the type expression is expected. 8 (of type float) was given.
Error: water-features.mss:28:21 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: water-features.mss:27:6 Invalid value for marker-width, the type expression is expected. 8 (of type float) was given.
Error: roads.mss:2175:6 Invalid value for marker-height, the type expression is expected. 10.4 (of type float) was given.
Error: roads.mss:2174:6 Invalid value for marker-width, the type expression is expected. 10.4 (of type float) was given.
Error: roads.mss:2172:4 Invalid value for marker-height, the type expression is expected. 9.200000000000001 (of type float) was given.
Error: roads.mss:2171:4 Invalid value for marker-width, the type expression is expected. 9.200000000000001 (of type float) was given.
Error: roads.mss:2162:6 Invalid value for marker-height, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2161:6 Invalid value for marker-width, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2158:6 Invalid value for marker-height, the type expression is expected. 15.200000000000001 (of type float) was given.
Error: roads.mss:2157:6 Invalid value for marker-width, the type expression is expected. 15.200000000000001 (of type float) was given.
Error: roads.mss:2154:6 Invalid value for marker-height, the type expression is expected. 12.8 (of type float) was given.
Error: roads.mss:2153:6 Invalid value for marker-width, the type expression is expected. 12.8 (of type float) was given.
Error: roads.mss:2151:4 Invalid value for marker-height, the type expression is expected. 6.800000000000001 (of type float) was given.
Error: roads.mss:2150:4 Invalid value for marker-width, the type expression is expected. 6.800000000000001 (of type float) was given.
Error: roads.mss:2141:6 Invalid value for marker-height, the type expression is expected. 28.800000000000004 (of type float) was given.
Error: roads.mss:2140:6 Invalid value for marker-width, the type expression is expected. 28.800000000000004 (of type float) was given.
Error: roads.mss:2137:6 Invalid value for marker-height, the type expression is expected. 22.400000000000002 (of type float) was given.
Error: roads.mss:2136:6 Invalid value for marker-width, the type expression is expected. 22.400000000000002 (of type float) was given.
Error: roads.mss:2133:6 Invalid value for marker-height, the type expression is expected. 20.800000000000004 (of type float) was given.
Error: roads.mss:2132:6 Invalid value for marker-width, the type expression is expected. 20.800000000000004 (of type float) was given.
Error: roads.mss:2129:6 Invalid value for marker-height, the type expression is expected. 10.8 (of type float) was given.
Error: roads.mss:2128:6 Invalid value for marker-width, the type expression is expected. 10.8 (of type float) was given.
Error: roads.mss:2126:4 Invalid value for marker-height, the type expression is expected. 9.2 (of type float) was given.
Error: roads.mss:2125:4 Invalid value for marker-width, the type expression is expected. 9.2 (of type float) was given.
Error: roads.mss:2116:6 Invalid value for marker-height, the type expression is expected. 28.800000000000004 (of type float) was given.
Error: roads.mss:2115:6 Invalid value for marker-width, the type expression is expected. 28.800000000000004 (of type float) was given.
Error: roads.mss:2112:6 Invalid value for marker-height, the type expression is expected. 22.400000000000002 (of type float) was given.
Error: roads.mss:2111:6 Invalid value for marker-width, the type expression is expected. 22.400000000000002 (of type float) was given.
Error: roads.mss:2108:6 Invalid value for marker-height, the type expression is expected. 20.800000000000004 (of type float) was given.
Error: roads.mss:2107:6 Invalid value for marker-width, the type expression is expected. 20.800000000000004 (of type float) was given.
Error: roads.mss:2104:6 Invalid value for marker-height, the type expression is expected. 10.8 (of type float) was given.
Error: roads.mss:2103:6 Invalid value for marker-width, the type expression is expected. 10.8 (of type float) was given.
Error: roads.mss:2101:4 Invalid value for marker-height, the type expression is expected. 9.2 (of type float) was given.
Error: roads.mss:2100:4 Invalid value for marker-width, the type expression is expected. 9.2 (of type float) was given.
Error: roads.mss:2090:6 Invalid value for marker-height, the type expression is expected. 44.800000000000004 (of type float) was given.
Error: roads.mss:2089:6 Invalid value for marker-width, the type expression is expected. 44.800000000000004 (of type float) was given.
Error: roads.mss:2086:6 Invalid value for marker-height, the type expression is expected. 35.2 (of type float) was given.
Error: roads.mss:2085:6 Invalid value for marker-width, the type expression is expected. 35.2 (of type float) was given.
Error: roads.mss:2082:6 Invalid value for marker-height, the type expression is expected. 30.400000000000002 (of type float) was given.
Error: roads.mss:2081:6 Invalid value for marker-width, the type expression is expected. 30.400000000000002 (of type float) was given.
Error: roads.mss:2078:6 Invalid value for marker-height, the type expression is expected. 17.2 (of type float) was given.
Error: roads.mss:2077:6 Invalid value for marker-width, the type expression is expected. 17.2 (of type float) was given.
Error: roads.mss:2075:4 Invalid value for marker-height, the type expression is expected. 15.6 (of type float) was given.
Error: roads.mss:2074:4 Invalid value for marker-width, the type expression is expected. 15.6 (of type float) was given.
Error: roads.mss:2289:6 Invalid value for marker-height, the type expression is expected. 8.8 (of type float) was given.
Error: roads.mss:2288:6 Invalid value for marker-width, the type expression is expected. 8.8 (of type float) was given.
Error: roads.mss:2286:4 Invalid value for marker-height, the type expression is expected. 7.6000000000000005 (of type float) was given.
Error: roads.mss:2285:4 Invalid value for marker-width, the type expression is expected. 7.6000000000000005 (of type float) was given.
Error: roads.mss:2276:6 Invalid value for marker-height, the type expression is expected. 17.6 (of type float) was given.
Error: roads.mss:2275:6 Invalid value for marker-width, the type expression is expected. 17.6 (of type float) was given.
Error: roads.mss:2272:6 Invalid value for marker-height, the type expression is expected. 13.600000000000001 (of type float) was given.
Error: roads.mss:2271:6 Invalid value for marker-width, the type expression is expected. 13.600000000000001 (of type float) was given.
Error: roads.mss:2268:6 Invalid value for marker-height, the type expression is expected. 11.200000000000001 (of type float) was given.
Error: roads.mss:2267:6 Invalid value for marker-width, the type expression is expected. 11.200000000000001 (of type float) was given.
Error: roads.mss:2265:4 Invalid value for marker-height, the type expression is expected. 5.6000000000000005 (of type float) was given.
Error: roads.mss:2264:4 Invalid value for marker-width, the type expression is expected. 5.6000000000000005 (of type float) was given.
Error: roads.mss:2302:6 Invalid value for marker-height, the type expression is expected. 10 (of type float) was given.
Error: roads.mss:2301:6 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: roads.mss:2299:4 Invalid value for marker-height, the type expression is expected. 6 (of type float) was given.
Error: roads.mss:2298:4 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: roads.mss:2255:6 Invalid value for marker-height, the type expression is expected. 27.200000000000003 (of type float) was given.
Error: roads.mss:2254:6 Invalid value for marker-width, the type expression is expected. 27.200000000000003 (of type float) was given.
Error: roads.mss:2251:6 Invalid value for marker-height, the type expression is expected. 20.8 (of type float) was given.
Error: roads.mss:2250:6 Invalid value for marker-width, the type expression is expected. 20.8 (of type float) was given.
Error: roads.mss:2247:6 Invalid value for marker-height, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2246:6 Invalid value for marker-width, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2243:6 Invalid value for marker-height, the type expression is expected. 9.600000000000001 (of type float) was given.
Error: roads.mss:2242:6 Invalid value for marker-width, the type expression is expected. 9.600000000000001 (of type float) was given.
Error: roads.mss:2240:4 Invalid value for marker-height, the type expression is expected. 8 (of type float) was given.
Error: roads.mss:2239:4 Invalid value for marker-width, the type expression is expected. 8 (of type float) was given.
Error: roads.mss:2229:8 Invalid value for marker-height, the type expression is expected. 27.200000000000003 (of type float) was given.
Error: roads.mss:2228:8 Invalid value for marker-width, the type expression is expected. 27.200000000000003 (of type float) was given.
Error: roads.mss:2225:8 Invalid value for marker-height, the type expression is expected. 20.8 (of type float) was given.
Error: roads.mss:2224:8 Invalid value for marker-width, the type expression is expected. 20.8 (of type float) was given.
Error: roads.mss:2221:8 Invalid value for marker-height, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2220:8 Invalid value for marker-width, the type expression is expected. 19.200000000000003 (of type float) was given.
Error: roads.mss:2217:8 Invalid value for marker-height, the type expression is expected. 9.600000000000001 (of type float) was given.
Error: roads.mss:2216:8 Invalid value for marker-width, the type expression is expected. 9.600000000000001 (of type float) was given.
Error: roads.mss:2214:6 Invalid value for marker-height, the type expression is expected. 8 (of type float) was given.
Error: roads.mss:2213:6 Invalid value for marker-width, the type expression is expected. 8 (of type float) was given.
Error: roads.mss:2202:6 Invalid value for marker-height, the type expression is expected. 43.2 (of type float) was given.
Error: roads.mss:2201:6 Invalid value for marker-width, the type expression is expected. 43.2 (of type float) was given.
Error: roads.mss:2198:6 Invalid value for marker-height, the type expression is expected. 33.6 (of type float) was given.
Error: roads.mss:2197:6 Invalid value for marker-width, the type expression is expected. 33.6 (of type float) was given.
Error: roads.mss:2194:6 Invalid value for marker-height, the type expression is expected. 28.8 (of type float) was given.
Error: roads.mss:2193:6 Invalid value for marker-width, the type expression is expected. 28.8 (of type float) was given.
Error: roads.mss:2190:6 Invalid value for marker-height, the type expression is expected. 16 (of type float) was given.
Error: roads.mss:2189:6 Invalid value for marker-width, the type expression is expected. 16 (of type float) was given.
Error: roads.mss:2187:4 Invalid value for marker-height, the type expression is expected. 14.4 (of type float) was given.
Error: roads.mss:2186:4 Invalid value for marker-width, the type expression is expected. 14.4 (of type float) was given.
Error: amenity-points.mss:2143:6 Invalid value for marker-height, the type expression is expected. 6 (of type float) was given.
Error: amenity-points.mss:2142:6 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: amenity-points.mss:2139:6 Invalid value for marker-height, the type expression is expected. 3 (of type float) was given.
Error: amenity-points.mss:2138:6 Invalid value for marker-width, the type expression is expected. 3 (of type float) was given.
Error: amenity-points.mss:2134:6 Invalid value for marker-height, the type expression is expected. 2 (of type float) was given.
Error: amenity-points.mss:2133:6 Invalid value for marker-width, the type expression is expected. 2 (of type float) was given.
Error: amenity-points.mss:2124:8 Invalid value for marker-height, the type expression is expected. 30 (of type float) was given.
Error: amenity-points.mss:2123:8 Invalid value for marker-width, the type expression is expected. 30 (of type float) was given.
Error: amenity-points.mss:2120:8 Invalid value for marker-height, the type expression is expected. 15 (of type float) was given.
Error: amenity-points.mss:2119:8 Invalid value for marker-width, the type expression is expected. 15 (of type float) was given.
Error: amenity-points.mss:2116:8 Invalid value for marker-height, the type expression is expected. 10 (of type float) was given.
Error: amenity-points.mss:2115:8 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: amenity-points.mss:2112:8 Invalid value for marker-height, the type expression is expected. 5 (of type float) was given.
Error: amenity-points.mss:2111:8 Invalid value for marker-width, the type expression is expected. 5 (of type float) was given.
Error: amenity-points.mss:2108:6 Invalid value for marker-height, the type expression is expected. 2.5 (of type float) was given.
Error: amenity-points.mss:2107:6 Invalid value for marker-width, the type expression is expected. 2.5 (of type float) was given.
Error: placenames.mss:8:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:29:6 Unrecognized rule: text-margin.
Error: placenames.mss:23:6 Unrecognized rule: text-margin.
Error: placenames.mss:17:6 Unrecognized rule: text-margin.
Error: placenames.mss:12:4 Unrecognized rule: text-margin.
Error: placenames.mss:72:4 Invalid value for shield-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:96:6 Unrecognized rule: shield-margin.
Error: placenames.mss:81:4 Unrecognized rule: shield-placement-type.
Error: placenames.mss:84:6 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:78:4 Unrecognized rule: shield-margin.
Error: placenames.mss:105:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:125:6 Unrecognized rule: text-margin.
Error: placenames.mss:119:6 Unrecognized rule: text-margin.
Error: placenames.mss:111:4 Unrecognized rule: text-margin.
Error: placenames.mss:82:4 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:47:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:61:6 Unrecognized rule: text-margin.
Error: placenames.mss:51:4 Unrecognized rule: text-margin.
Error: placenames.mss:265:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:290:8 Unrecognized rule: text-margin.
Error: placenames.mss:284:8 Unrecognized rule: text-margin.
Error: placenames.mss:278:8 Unrecognized rule: text-margin.
Error: placenames.mss:273:6 Unrecognized rule: text-margin.
Error: placenames.mss:205:6 Invalid value for shield-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:213:6 Unrecognized rule: shield-margin.
Error: placenames.mss:214:6 Unrecognized rule: shield-placement-type.
Error: placenames.mss:217:8 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:225:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:256:8 Unrecognized rule: text-margin.
Error: placenames.mss:250:8 Unrecognized rule: text-margin.
Error: placenames.mss:244:8 Unrecognized rule: text-margin.
Error: placenames.mss:238:8 Unrecognized rule: text-margin.
Error: placenames.mss:233:6 Unrecognized rule: text-margin.
Error: placenames.mss:215:6 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:137:6 Invalid value for shield-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:161:8 Unrecognized rule: shield-margin.
Error: placenames.mss:146:6 Unrecognized rule: shield-placement-type.
Error: placenames.mss:149:8 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:143:6 Unrecognized rule: shield-margin.
Error: placenames.mss:172:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:192:8 Unrecognized rule: text-margin.
Error: placenames.mss:186:8 Unrecognized rule: text-margin.
Error: placenames.mss:178:6 Unrecognized rule: text-margin.
Error: placenames.mss:147:6 Unrecognized rule: shield-placements. Did you mean shield-placement?
Error: placenames.mss:379:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:393:6 Unrecognized rule: text-margin.
Error: placenames.mss:387:6 Unrecognized rule: text-margin.
Error: placenames.mss:333:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:366:8 Unrecognized rule: text-margin.
Error: placenames.mss:360:8 Unrecognized rule: text-margin.
Error: placenames.mss:354:8 Unrecognized rule: text-margin.
Error: placenames.mss:346:8 Unrecognized rule: text-margin.
Error: placenames.mss:298:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: placenames.mss:325:6 Unrecognized rule: text-margin.
Error: placenames.mss:317:6 Unrecognized rule: text-margin.
Error: placenames.mss:311:6 Unrecognized rule: text-margin.
Error: placenames.mss:306:4 Unrecognized rule: text-margin.
Error: stations.mss:83:6 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: stations.mss:86:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: stations.mss:79:6 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: stations.mss:106:8 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: stations.mss:110:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: stations.mss:103:6 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: stations.mss:58:8 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: stations.mss:62:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: stations.mss:55:6 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: stations.mss:44:6 Invalid value for marker-width, the type expression is expected. 9 (of type float) was given.
Error: stations.mss:33:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: stations.mss:30:6 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: stations.mss:27:4 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: stations.mss:11:6 Invalid value for text-name, the type expression is expected. [ref] (of type field) was given.
Error: amenity-points.mss:204:8 Invalid value for marker-height, the type expression is expected. 3 (of type float) was given.
Error: amenity-points.mss:203:8 Invalid value for marker-width, the type expression is expected. 3 (of type float) was given.
Error: amenity-points.mss:195:8 Invalid value for marker-height, the type expression is expected. 10 (of type float) was given.
Error: amenity-points.mss:194:8 Invalid value for marker-width, the type expression is expected. 10 (of type float) was given.
Error: amenity-points.mss:581:6 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: amenity-points.mss:586:6 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: amenity-points.mss:81:6 Invalid value for marker-width, the type expression is expected. 12 (of type float) was given.
Error: amenity-points.mss:76:6 Invalid value for marker-width, the type expression is expected. 6 (of type float) was given.
Error: power.mss:45:4 Invalid value for marker-width, the type expression is expected. 7 (of type float) was given.
Error: power.mss:42:4 Invalid value for marker-width, the type expression is expected. 5 (of type float) was given.
Error: power.mss:38:4 Invalid value for marker-width, the type expression is expected. 3 (of type float) was given.
Error: power.mss:53:4 Invalid value for marker-width, the type expression is expected. 3 (of type float) was given.
Error: roads.mss:2608:4 Invalid value for shield-name, the type expression is expected. [refs] (of type string) was given.
Error: roads.mss:2413:10 Invalid value for text-name, the type expression is expected. [name]+'\n'+[ref] (of type field) was given.
Error: roads.mss:2399:6 Invalid value for text-name, the type expression is expected. [ref] (of type string) was given.
Error: roads.mss:2410:10 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2426:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2451:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2646:6 Invalid value for shield-name, the type expression is expected. [refs] (of type string) was given.
Error: roads.mss:2726:6 Invalid value for text-name, the type expression is expected. [refs] (of type string) was given.
Error: roads.mss:2749:6 Invalid value for text-name, the type expression is expected. [refs] (of type string) was given.
Error: roads.mss:2946:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2845:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2771:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2920:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2899:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2871:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2827:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2801:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2986:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: roads.mss:2958:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:2012:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1937:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1369:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1337:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1059:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:322:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water-features.mss:150:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water-features.mss:124:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1315:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1465:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1146:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1989:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1966:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1912:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1695:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1391:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1290:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1864:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:2068:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:2044:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1757:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1715:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1677:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1631:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1609:6 Invalid value for text-name, the type expression is expected. [operator] (of type string) was given.
Error: amenity-points.mss:1607:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1592:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1275:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1222:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1204:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1174:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1130:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1107:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1081:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:2056:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:2032:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1895:4 Invalid value for text-name, the type expression is expected. [ref] (of type string) was given.
Error: amenity-points.mss:1882:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1788:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1770:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1744:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1731:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1661:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1649:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1259:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1246:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1189:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: landcover.mss:753:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: addressing.mss:45:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: addressing.mss:19:8 Invalid value for text-name, the type expression is expected. [addr_housenumber]+'\n'+[addr_housename] (of type field) was given.
Error: addressing.mss:17:6 Invalid value for text-name, the type expression is expected. [addr_housenumber] (of type field) was given.
Error: addressing.mss:15:4 Invalid value for text-name, the type expression is expected. [addr_housename] (of type string) was given.
Error: water.mss:301:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:254:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:291:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:241:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:279:8 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: water.mss:264:6 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: ferry-routes.mss:22:4 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: admin.mss:169:2 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: admin.mss:181:2 Invalid value for text-name, the type expression is expected. [name] (of type string) was given.
Error: amenity-points.mss:1034:8 Invalid value for marker-width, the type expression is expected. 4 (of type float) was given.
Error: amenity-points.mss:1028:6 Invalid value for marker-width, the type expression is expected. 3 (of type float) was given.

So it seems that atoms are not expressions.

StyXman commented 7 years ago

My fault, I have to use a newer API version:

./bin/carto -a 3.0.6 ~/src/projects/osm/osm-carto/project.mml
[...]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" background-color="#b5d0d0">
[...]

Sorry for the noise.