Installation
cd c:\wbclient
python wbclient.py example-configuration >config.json
python wbclient.py point-to-grid -h
python wbclient.py -v -cconfig.json point-to-grid -I3035 -P1 -Rrg3 -O1 -1 7 -2 7 -z10 -SSEMICOLON -c -q input.csv output.csv
File "C:\wbclient\wbclient.py", line 123, in <module>
sys.exit(main())
^^^^^^
File "C:\wbclient\wbclient.py", line 119, in main
raise exc
File "C:\wbclient\wbclient.py", line 110, in main
client.fromArguments(args)
File "C:\wbclient\ClientTask.py", line 340, in fromArguments
self.execute(args.input, args.output, args.size, args.rings, args.regionCode, args.srid,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\wbclient\ClientTask.py", line 288, in execute
input2 = self.putFile(inputFile)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\wbclient\ClientTask.py", line 182, in putFile
self.putBlock(rc, block, blockNo, fileSize)
File "C:\wbclient\ClientTask.py", line 163, in putBlock
rc = self.request('/put', None, head2 + data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\wbclient\ClientTask.py", line 199, in request
rc = response.json()
^^^^^^^^^^^^^^^
File "C:\Users\wk\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Invalid control character at: line 2 column 16 (char 17)