Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity Dump broken on Windows #5144

Closed
jdrueckert opened this issue Sep 27, 2023 · 0 comments · Fixed by #5145
Closed

Entity Dump broken on Windows #5144

jdrueckert opened this issue Sep 27, 2023 · 0 comments · Fixed by #5145
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems

Comments

@jdrueckert
Copy link
Member

General Info

Terasology Launcher Version: 4.8.0
Terasology Version: 5.3.0
Operating System: Windows 11
Onboard / Dedicated Graphics: Dedicated
Java Version: Launcher-bundled

What you were trying to do

Dump entities from the in-game console of a Terasology world, running on Windows.

What actually happened

An error occurred while executing command 'dumpEntities': Illegal char <:> at index 13: 2023-09-27T20:52:11.811415100Z-entityDump.json

How to reproduce

  1. Select Terasology version '5.3.0'
  2. Start Terasology
  3. Select gameplay 'CoreGameplay' (any)
  4. Start game
  5. Open in-game console (F1)
  6. Execute dumpEntities
  7. See error

Log details

22:52:11.815 [main] ERROR o.t.engine.logic.console.ConsoleImpl - An error occurred while executing a command
org.terasology.engine.logic.console.commandSystem.exceptions.CommandExecutionException: java.nio.file.InvalidPathException: Illegal char <:> at index 13: 2023-09-27T20:52:11.811415100Z-entityDump.json
	at org.terasology.engine.logic.console.commandSystem.AbstractCommand.execute(AbstractCommand.java:229)
	at org.terasology.engine.logic.console.ConsoleImpl.execute(ConsoleImpl.java:251)
[...]
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 13: 2023-09-27T20:52:11.811415100Z-entityDump.json
	at java.base/sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPathParser.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsPath.parse(Unknown Source)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
	at java.base/java.nio.file.Path.resolve(Unknown Source)
	at org.terasology.engine.logic.console.commands.CoreCommands.dumpEntities(CoreCommands.java:482)

Workaround

Use Linux 🤪

@jdrueckert jdrueckert added Type: Bug Issues reporting and PRs fixing problems Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness labels Sep 27, 2023
@jdrueckert jdrueckert added this to the 2023 Revive - Milestone 2 milestone Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Investigation Requires to be debugged or checked for feasibility, etc. Topic: Stabilization Requests, Issues and Changes related to improving stablity and reducing flakyness Type: Bug Issues reporting and PRs fixing problems
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant