Giter VIP home page Giter VIP logo

Comments (5)

acmgit avatar acmgit commented on May 27, 2024 1

Was my own fault, the program works fine.

from mapserver_mod.

BuckarooBanzay avatar BuckarooBanzay commented on May 27, 2024

panic: invalid character ']' looking for beginning of value

can you post the mapserver.json file here but without the secretkey value?

from mapserver_mod.

acmgit avatar acmgit commented on May 27, 2024

of course

{
	"configversion": 1,
	"port": 8081,
	"enableprometheus": true,
	"enablerendering": true,
	"enablesearch": true,
	"enableinitialrendering": true,
	"enabletransparency": false,
	"enablemediarepository": false,
	"webdev": false,
	"webapi": {
		"enablemapblock": false,
		"secretkey": "xxxxxxxx"
	},
	"layers": [
		{
			"id": 0,
			"name": "Ground",
			"from": -10,
			"to": 100
		},

	],
	"renderingfetchlimit": 500,
	"renderingjobs": 6,
	"renderingqueue": 10,
	"incrementalrenderingtimer": "5s",
	"mapobjects": {
		"areas": true,
		"bones": true,
		"protector": false,
		"xpprotector": true,
		"privprotector": false,
		"technic_quarry": false,
		"technic_switch": false,
		"technic_anchor": false,
		"technic_reactor": false,
		"luacontroller": false,
		"digiterms": false,
		"digilines": false,
		"travelnet": true,
		"mapserver_player": true,
		"mapserver_poi": true,
		"mapserver_label": true,
		"mapserver_trainline": false,
		"mapserver_border": true,
		"tileserverlegacy": true,
		"mission": false,
		"jumpdrive": false,
		"smartshop": true,
		"fancyvend": false,
		"atm": false,
		"train": false,
		"trainsignal": false,
		"minecart": true,
		"locator": false,
		"signs": true,
		"mapserver_airutils": false
	},
	"mapblockaccessor": {
		"expiretime": "10s",
		"purgetime": "15s",
		"maxitems": 50
	},
	"defaultoverlays": [
		"mapserver_poi",
		"mapserver_label",
		"mapserver_player"
	],
	"skins": {
		"enableskinsdb": true,
		"skinspath": "/usr/share/minetest/games/Smalltech_Game/mods/skinsdb/textures"
	},
	"worldpath": "./",
	"datapath": "./",
	"ColorsTxtPath": "./"
}

from mapserver_mod.

acmgit avatar acmgit commented on May 27, 2024

I found it:

It was the , at the end of the section layers.

"layers": [
		{
			"id": 0,
			"name": "Ground",
			"from": -10,
			"to": 100
		},

I removed it and the server restarts again.

from mapserver_mod.

BuckarooBanzay avatar BuckarooBanzay commented on May 27, 2024

I removed it and the server restarts again.

nice, was that your editing on the file or did the program modify it that way?

from mapserver_mod.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.