394 lines
8.9 KiB
YAML
394 lines
8.9 KiB
YAML
|
|
|
|
file: C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\checker.py
|
|
info:
|
|
title:
|
|
line: 24,5,
|
|
type: info,
|
|
text: \nSDI check\n\n
|
|
arg_mode:
|
|
line: 25,5,
|
|
type: info,
|
|
text: "mode: {mode}\n"
|
|
|
|
arg_server:
|
|
line: 27,9,
|
|
type: info,
|
|
text: "metadata catalog CSW URL: {server}"
|
|
|
|
arg_inspire:
|
|
line: 28,9,
|
|
type: info,
|
|
text: "INSPIRE mode: {inspire}"
|
|
|
|
wxs_url:
|
|
line: 30,9,
|
|
type: info,
|
|
text: "WxS service URL: {server}"
|
|
|
|
arg_output:
|
|
line: 31,5,
|
|
type: info,
|
|
text: "output mode: {log}"
|
|
|
|
time_start:
|
|
line: 32,5,
|
|
type: info,
|
|
text: '\nstart time: %s', strftime("%Y-%m-%d %H:%M:%S", localtime())
|
|
|
|
breakline:
|
|
line: 33,5,
|
|
type: info,
|
|
text: "\n\n"
|
|
|
|
layer_ok:
|
|
line: 44,17,
|
|
type: info,
|
|
text: "#{curr_idx}\n Layer: {layers[curr_idx]} OK\n"
|
|
|
|
layer_error:
|
|
line: 46,9,
|
|
type: error,
|
|
text: "#{layer_index}\n Layer: {layer_name}"
|
|
|
|
error:
|
|
line: 47,9,
|
|
type: error,
|
|
text: "\tError: {error}\n"
|
|
|
|
layer_inconsistencies_found:
|
|
line: 101,5,
|
|
type: info,
|
|
text: \n\n%d layers parsed, %d inconsistencies found (%d %%)", total_layers,
|
|
|
|
time_end:
|
|
line: 103,5,
|
|
type: info,
|
|
text: end time: %s", strftime("%Y-%m-%d %H:%M:%S", localtime()),
|
|
|
|
md_inconsistencies_found:
|
|
line: 109,5,
|
|
type: info,
|
|
text: \n\n%d metadata parsed, %d inconsistencies found, %d unique metadatas in error (%d %%)",
|
|
|
|
time_end_2:
|
|
line: 111,5,
|
|
type: info,
|
|
text: end time: %s", strftime("%Y-%m-%d %H:%M:%S", localtime()),
|
|
|
|
querying_server:
|
|
line: 163,9,
|
|
type: debug,
|
|
text: "Querying %s ..." % args.server,
|
|
|
|
|
|
line: 169,13,
|
|
type: debug,
|
|
text: "Finished integrity check against %s GetCapabilities", args.mode,
|
|
|
|
line: 176,13,
|
|
type: debug,
|
|
text: e, exc_info=True,
|
|
|
|
line: 177,13,
|
|
type: info,
|
|
text: Unable to parse the remote OWS server: %s", str(e),
|
|
|
|
line: 187,13,
|
|
type: debug,
|
|
text: e, exc_info=True,
|
|
|
|
line: 188,13,
|
|
type: info,
|
|
text: logger.fatal("Unable to query the remote CSW:\nError: %s\nPlease check the CSW url", e,
|
|
|
|
line: 233,25,
|
|
type: debug,
|
|
text: e, exc_info=True,
|
|
|
|
line: 234,25,
|
|
type: error,
|
|
text: e,
|
|
|
|
line: 251,21,
|
|
type: info,
|
|
text: #%d\n UUID : %s\n %s", global_idx, uuid, current_md.title,
|
|
|
|
line: 264,33,
|
|
type: debug,
|
|
text: "\tURI OK : %s %s %s", uri["protocol"], uri['url'], uri['name'],
|
|
|
|
line: 265,33,
|
|
type: info,
|
|
text: WMS url: OK",
|
|
|
|
line: 270,33,
|
|
type: debug,
|
|
text: "\tURI OK : %s %s %s", uri["protocol"], uri['url'], uri['name'],
|
|
|
|
line: 271,33,
|
|
type: info,
|
|
text: WFS url: OK",
|
|
|
|
line: 273,33,
|
|
type: debug,
|
|
text: "\tSkipping URI : %s %s %s", uri["protocol"], uri['url'], uri['name'],
|
|
|
|
line: 285,29,
|
|
type: debug,
|
|
text: "\t /!\\ ---> Cannot find Layer ON GS : %s %s %s %s %s"
|
|
|
|
line: 287,29,
|
|
type: info,
|
|
text: %s url: KO: %s: %s" % ("WMS" if from_wms else "WFS"
|
|
|
|
line: 295,25,
|
|
type: info,
|
|
code: no_wms_url_found,
|
|
text: "\tWMS url: KO: No wms url found in the metadata"
|
|
|
|
line: 302,25,
|
|
type: info,
|
|
code: no_wfs_url_found,
|
|
text: "\tWFS url: KO: No wfs url found in the metadata"
|
|
|
|
line: 311,21,
|
|
type: info,
|
|
text: ")"
|
|
|
|
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\credentials.py
|
|
|
|
line: 24,17,
|
|
type: info,
|
|
text: No ~/.sdichecker file found, skipping credentials definition.",
|
|
|
|
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\cswquerier.py
|
|
|
|
line: 53,14,
|
|
type: debug,
|
|
text: "CSWQuerier.get_records() results : %s (start=%s, max=%s)"
|
|
|
|
line: 119,14,
|
|
type: info,
|
|
text: \nData metadata: uuid %s \"%s\"", mdd.identifier, mdd.identification.title,
|
|
|
|
line: 120,14,
|
|
type: info,
|
|
text: Service metadata: uuid %s \"%s\"", mds.identifier, mds.identification.title,
|
|
|
|
line: 134,18,
|
|
type: info,
|
|
text: \tSkipping : geoserver : %s not in authorized list (%s)" % (url_parsed.hostname, url),
|
|
|
|
line: 142,18,
|
|
type: error,
|
|
code_error: invalid_protocol,
|
|
text: "Invalid protocol : %s " % protocol
|
|
|
|
line: 148,14,
|
|
type: debug,
|
|
text: "Server Type: %s Version: %s URL: %s" % (type, version, url),
|
|
|
|
line: 163,22,
|
|
type: debug,
|
|
text: "\tcoupledRessources:",
|
|
|
|
line: 164,22,
|
|
type: debug,
|
|
text: "\tOperation : %s" % operation_name
|
|
|
|
line: 165,22,
|
|
type: debug,
|
|
text: "\tidentifier : %s" % identifier
|
|
|
|
line: 166,22,
|
|
type: debug,
|
|
text: "\tLayer Name: %s" % layer_name
|
|
|
|
blank_line:
|
|
line: 167,22,
|
|
type: debug,
|
|
text: ""
|
|
|
|
file: C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\GeonetworkToGeoserverUpdater.py
|
|
|
|
|
|
line: 89,9,
|
|
type: info,
|
|
text: \"%s:%s\": layer / resource info updated\n", resource.workspace.name, resource.name,
|
|
|
|
line: 91,9,
|
|
type: info,
|
|
text: dry-run mode: not updating the resource for layer \"%s\"" % resource.title,
|
|
|
|
line: 93,13,
|
|
type: info,
|
|
text: \t- the title of the resource should have been updated",
|
|
|
|
line: 95,13,
|
|
type: info,
|
|
text: \t- the abstract of the resource should have been updated",
|
|
|
|
line: 97,13,
|
|
type: info,
|
|
text: \t- the attribution of the layer should have been updated",
|
|
|
|
line: 99,13,
|
|
type: info,
|
|
text: \t- an HTML metadata URL should have been added",
|
|
|
|
line: 130,17,
|
|
type: debug,
|
|
text: "Unable to extract attribution from \"%s\" ", val,
|
|
|
|
line: 143,9,
|
|
type: debug,
|
|
text: "Unable to parse the metadata attribution: %s", str(e), exc_info=1,
|
|
|
|
line: 148,5,
|
|
type: info,
|
|
text: \nGeoNetwork To Geoserver Updater\n\n",
|
|
|
|
line: 149,5,
|
|
type: info,
|
|
text: mode: %s\n", args.mode,
|
|
|
|
line: 151,9,
|
|
type: info,
|
|
text: item to query: %s", args.item,
|
|
|
|
line: 152,5,
|
|
type: info,
|
|
text: GeoServer: %s", args.geoserver,
|
|
|
|
line: 153,5,
|
|
type: info,
|
|
text: dry-run: %s", args.dry_run,
|
|
|
|
line: 154,5,
|
|
type: info,
|
|
text: \nstart time: %s", strftime("%Y-%m-%d %H:%M:%S", localtime()),
|
|
|
|
line: 155,5,
|
|
type: info,
|
|
text: \n\n",
|
|
|
|
line: 189,13,
|
|
type: debug,
|
|
text: "Inspecting workspace : %s" % ws,
|
|
|
|
line: 194,21,
|
|
type: debug,
|
|
text: "Inspecting layer : %s:%s" % (res.workspace.name, res.name),
|
|
|
|
line: 197,21,
|
|
type: debug,
|
|
text: "Inconsistency found : %s" % e,
|
|
|
|
line: 212,13,
|
|
type: error,
|
|
text: "workspace \"%s\" not found" % args.item,
|
|
|
|
line: 253,13,
|
|
type: error,
|
|
text: "Ressource \"%s\" not found." % args.item,
|
|
|
|
line: 257,13,
|
|
type: debug,
|
|
text: "Resource \"%s\" found, processing ..." % resource_found.name,
|
|
|
|
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\GeoserverToGeonetworkUpdater.py
|
|
|
|
line: 76,5,
|
|
type: info,
|
|
text: \nGeoserver To Geonetwork Updater\n\n",
|
|
|
|
line: 77,5,
|
|
type: info,
|
|
text: Workspace to query: %s", args.workspace,
|
|
|
|
line: 78,5,
|
|
type: info,
|
|
text: GeoServer: %s", args.geoserver,
|
|
|
|
line: 79,5,
|
|
type: info,
|
|
text: GeoNetwork where to insert created metadata: %s", args.geonetwork,
|
|
|
|
line: 80,5,
|
|
type: info,
|
|
text: Dry-run: %s", args.dry_run,
|
|
|
|
line: 81,5,
|
|
type: info,
|
|
text: \nStart time: %s", strftime("%Y-%m-%d %H:%M:%S", localtime()),
|
|
|
|
line: 82,5,
|
|
type: info,
|
|
text: \n\n",
|
|
|
|
line: 154,9,
|
|
type: error,
|
|
text: e,
|
|
|
|
line: 173,9,
|
|
type: error,
|
|
text: e,
|
|
|
|
line: 220,9,
|
|
type: error,
|
|
text: "Unable to load the mapping file for title/abstract.", e,
|
|
|
|
line: 228,9,
|
|
type: error,
|
|
text: "Unable to connect: SSL error (hint: use --disable-ssl-verification option)",
|
|
|
|
line: 232,9,
|
|
type: error,
|
|
text: "Workspace \"%s\" not found" % args.workspace,
|
|
|
|
line: 246,21,
|
|
type: info,
|
|
text: No service metadata found for %s, creating one", args.workspace,
|
|
|
|
line: 254,25,
|
|
type: error,
|
|
text: "Unable to get a title or an abstract for created metadata, using default values",
|
|
|
|
line: 278,29,
|
|
type: error,
|
|
text: "Unable to find all the data metadata for some layers on workspace '%s',"
|
|
|
|
line: 280,29,
|
|
type: error,
|
|
text: "Layer with missing data metadata URL: '%s:%s'", args.workspace,
|
|
|
|
line: 286,25,
|
|
type: info,
|
|
text: Dry-run: would have created a service metadata for workspace '%s'"
|
|
|
|
line: 298,25,
|
|
type: info,
|
|
text: MDD '%s' is not referenced into the service MD '%s' (on server '%s'). "
|
|
|
|
line: 304,29,
|
|
type: info,
|
|
text: Dry-run: would have updated md %s [adding operatesOn on data md %s]",
|
|
|
|
C:\Users\ryckelynckg\Documents\data\git\sdi-consistence-check\sdi-consistence-check\utils.py
|
|
|
|
line: 64,5,
|
|
type: info,
|
|
text: \nProcessing ended, here is a summary of the collected errors:",
|
|
|
|
line: 66,9,
|
|
type: info,
|
|
text: No error",
|
|
|
|
line: 69,13,
|
|
type: info,
|
|
text: * %s", err,
|
|
|
|
line: 70,5,
|
|
type: info,
|
|
text: \nEnd time: %s", strftime("%Y-%m-%d %H:%M:%S", localtime()), |