Opened 6 years ago

Last modified 6 years ago

#26 accepted defect

XMLStarlet 1.0 does not support inplace editing

Reported by: OPK-Desperado Owned by: Alloc
Priority: major Component: Scripts
Keywords: Cc:


If i make a new instance, it doesent save the config.xml correctly. There is only one line: </ServerSettings>

After finished the instance-process, it shows me this

<?xml version="1.0"?>

<property name="AirDropFrequency" value="24"></property>

<?xml version="1.0"?>

<property name="BlockDurabilityModifier" value="100"></property>

<?xml version="1.0"?>

<property name="BuildCreate" value="true"></property>


Ubuntu 10.04.4 LTS

Attachments (1)

sdtd-server.png (24.0 KB) - added by OPK-Desperado 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by OPK-Desperado

comment:1 Changed 6 years ago by Alloc

  • Owner set to Alloc
  • Status changed from new to accepted
  • Summary changed from Malformed XML to XMLStarlet 1.0 does not support inplace editing

Looks like Ubuntu 10.04 ships with a to old version of XMLStarlet (1.0 instead of >1.3 in all newer releases) which does not handle the "-L" (edit inplace) parameter.

Probably the easiest solution would be if you could install a newer XMLstarlet version (e.g. you could try if this one runs on your system: ). Alternatively you could copy the official template from the engine folder and edit it manually. Though you will also run into problems with the extended player-logging (i.e. the player.xml won't work).

Adapting the scripts to handle this special case is out of scope at least for a few days.

comment:2 Changed 6 years ago by Alloc

  • Component set to Scripts
Note: See TracTickets for help on using tickets.