Locext / screloc combination test - stdin from screloc?

Hi
does it make sense to combine screloc and locext plugin when using the command
screloc -d mysql://sysop:sysop@localhost/seiscomp --ep test.xml --debug ?

as in e.g.
screloc.cfg configuration
plugins=${plugins},locext
reloc.locator = External
reloc.profile= Test
reloc.originIDSuffix = "#relocated"
ExternalLocator.profiles = Test:"/opt/Scripts/eventprocess.sh"

If relevant how can i manage the stdin to the script when i get an error as such
Failed processing ... - could not write complete document to input of script

I have missed something!
thanks a lot

cheers

jerome

The stdin error might be related to the fact that your script does not read the input completely. You can try for testing to redirect the input into a file and check if that works.

1 Like