When attempting to use the asteroid respawning command it gave an error and resulted in a file that crashed the server on startup. I had previously ran the command to backup the asteroids and the files were in their default location.
Bat file contents:
@echo off
rem Respawn Asteroid script
echo.
echo SEMU Asteroid Saver.
echo.
echo Drag 'n drop the Space Engineers save folder here and press ENTER:
set /p savedir=
echo.
rem Note how there's no quotation around the savedir. If it's been dragged and dropped, it should have them if needed
set command=semu.exe %savedir% --stop-movement --cleanup-items --respawn-asteroids
echo For those interested, you are about to run the command:
echo --------------------
echo %command%
echo --------------------
pause
%command%
pause
Console Output:
SEMU Asteroid Saver.
Drag 'n drop the Space Engineers save folder here and press ENTER:
"F:\Saves\X,Y,Z - PVP - Custom Mods - No Griefing"
semu.exe "F:\Saves\X,Y,Z - PVP - Custom Mods - No Griefing" --stop-movement --cl
eanup-items --respawn-asteroids
Press any key to continue . . .
13:23:40: Saving backups...
13:23:40: Saving smallsave backup...
13:23:40: Saving largesave backup...
13:23:40: Loading Sandbox.sbc...
13:23:40: Loading SANDBOX_0_0_0_.sbs file...
13:23:41: Getting Started...
13:23:41: ===Beginning SectorObject check...===
13:23:41: ===Beginning asteroid respawn...===
13:23:41: Respawning asteroid: junkyard_raceasteroid_256x256x25600.vox
13:23:41: Respawning asteroid: piratebasestaticasteroid_a_5000m_200.vox
13:23:42: Can't respawn asteroid, something is too close: redshipcrashedasteroid
00.vox
13:23:42: Can't respawn asteroid, something is too close: scratchedboulder_128x1
28x12800.vox
13:23:42: Can't respawn asteroid, something is too close: toruswithsmalltunnel_2
56x128x25610.vox
13:23:42: Respawning asteroid: verticalisland_128x256x12800.vox
13:23:42: ===Saving changes...===
13:23:42: Saving largesave...
Traceback (most recent call last):
File "C:\Python34\lib\xml\etree\ElementTree.py", line 1081, in _escape_attrib
if "&" in text:
TypeError: argument of type 'float' is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in <module>
File "semu.py", line 949, in <module>
File "C:\Python34\lib\xml\etree\ElementTree.py", line 778, in write
short_empty_elements=short_empty_elements)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 943, in _serialize_xml
short_empty_elements=short_empty_elements)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 943, in _serialize_xml
short_empty_elements=short_empty_elements)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 943, in _serialize_xml
short_empty_elements=short_empty_elements)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 943, in _serialize_xml
short_empty_elements=short_empty_elements)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 935, in _serialize_xml
v = _escape_attrib(v)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 1093, in _escape_attrib
_raise_serialization_error(text)
File "C:\Python34\lib\xml\etree\ElementTree.py", line 1059, in _raise_serializ
ation_error
"cannot serialize %r (type %s)" % (text, type(text).name)
TypeError: cannot serialize 4630.001 (type float)
Press any key to continue . . .</module></module>
log file:
13:23:40: Saving backups...
13:23:40: Saving smallsave backup...
13:23:40: Saving largesave backup...
13:23:40: Loading Sandbox.sbc...
13:23:40: Loading SANDBOX_0_0_0_.sbs file...
13:23:41: Getting Started...
13:23:41: ===Beginning SectorObject check...===
13:23:41: ===Beginning asteroid respawn...===
13:23:41: Respawning asteroid: junkyard_raceasteroid_256x256x25600.vox
13:23:41: Respawning asteroid: piratebasestaticasteroid_a_5000m_200.vox
13:23:42: Can't respawn asteroid, something is too close: redshipcrashedasteroid00.vox
13:23:42: Can't respawn asteroid, something is too close: scratchedboulder_128x128x12800.vox
13:23:42: Can't respawn asteroid, something is too close: toruswithsmalltunnel_256x128x25610.vox
13:23:42: Respawning asteroid: verticalisland_128x256x12800.vox
13:23:42: ===Saving changes...===
13:23:42: Saving largesave...