Project Zomboid

Project Zomboid

[VFE] VANILLA FIREARMS EXPANSION (B41)
Seggr 15 Jan, 2022 @ 8:07pm
Ubuntu FileNotFoundException when loading action xmls
I am running an Ubuntu server and when starting up with this mod I get the following error, I believe it is due to the fact your assuming the OS is not case sensitive...
loadHandgun2.xml != LoadHandgun2.xml

Caused by: java.io.FileNotFoundException: steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
... 16 more
^Csrc/tier1/fileio.cpp (5086) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5086) : m_vecRegisteredWriters.Count() == 0
*********@****-*****-host01:~/Steam/steamapps/common/Project Zomboid Dedicated Server$ ls steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/
LoadHandgun2.xml LoadMP5.xml RackHandgun2.xml RackLeverAim.xml RackMP5Aim.xml UnloadMP5.xml
LoadLever.xml LoadRifleNoMag.xml RackLever.xml RackMP5.xml UnloadHandgun2.xml
< >
Showing 1-7 of 7 comments
STENDO_CLIP  [developer] 16 Jan, 2022 @ 11:31am 
Originally posted by Seggr:
I am running an Ubuntu server and when starting up with this mod I get the following error, I believe it is due to the fact your assuming the OS is not case sensitive...
loadHandgun2.xml != LoadHandgun2.xml

Caused by: java.io.FileNotFoundException: steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
... 16 more
^Csrc/tier1/fileio.cpp (5086) : m_vecRegisteredWriters.Count() == 0
src/tier1/fileio.cpp (5086) : m_vecRegisteredWriters.Count() == 0
*********@****-*****-host01:~/Steam/steamapps/common/Project Zomboid Dedicated Server$ ls steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/
LoadHandgun2.xml LoadMP5.xml RackHandgun2.xml RackLeverAim.xml RackMP5Aim.xml UnloadMP5.xml
LoadLever.xml LoadRifleNoMag.xml RackLever.xml RackMP5.xml UnloadHandgun2.xml

Should hopefully be fixed for next update, I can't really test it because I use and only have access to windows.
GusmaN 22 Jan, 2022 @ 6:14am 
Hey! When is an update with a bug fix planned?
STENDO_CLIP  [developer] 24 Jan, 2022 @ 5:04pm 
Originally posted by GusmaN:
Hey! When is an update with a bug fix planned?

It was thought to be fixed already, what is happening now?
Best Lux 25 Jan, 2022 @ 1:53pm 
Originally posted by Stendo_Clip:
Originally posted by GusmaN:
Hey! When is an update with a bug fix planned?

It was thought to be fixed already, what is happening now?
I still get this error on my ubuntu install with this mod:

ERROR: General , 1643147396557> 88,136,136> AnimNode.Parse threw an exception reading file: /home/pzserver/serverfiles/steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/RackHandgun2.xml
ERROR: General , 1643147396558> 88,136,136> ExceptionLogger.logException> Exception thrown zombie.util.PZXmlParserException: Exception thrown while parsing XML file "steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml"
Caused by:
java.io.FileNotFoundException: steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml (No such file or directory) at PZXmlUtil.parseXml line:51.
ERROR: General , 1643147396558> 88,136,136> DebugLogStream.printException> Stack trace:
zombie.util.PZXmlParserException: Exception thrown while parsing XML file "steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml"
Caused by:
java.io.FileNotFoundException: steamapps/workshop/content/108600/2667899942/mods/VFE/media/AnimSets/player/actions/loadHandgun2.xml (No such file or directory)

I have tried deleting my steamapps folder in the server to force a reinstall of all workshop mods, and validating the game as well as updated linuxgsm.
Last edited by Best Lux; 25 Jan, 2022 @ 1:54pm
arnada 26 Mar, 2022 @ 2:45am 
Originally posted by AJ:
RackHandgun2.xml line2 references "loadHandgun2.xml" (but should be LoadHandgun2.xml)

Changing this and restarting my server solved the crash on boot for me

Thanks, this should be a easy fix. Windows dosen't care about filenames but in linux you can have two files named like this: file1.xml and File1.xml.
NovaXeros 5 Jul, 2022 @ 11:54am 
Just to confirm, this still seems to be an issue with the currently-live version.

Easy enough to fix on-site by editing the second line of "RackHandgun2.xml" from this:

<animNode x_extends="loadHandgun2.xml">

To this:

<animNode x_extends="LoadHandgun2.xml">
Crius 2 Aug, 2022 @ 5:07pm 
Can we have this one fixed? We shouldn't have to edit files that are automatically downloaded by the server. Seems like an obvious bug due to a typo.
< >
Showing 1-7 of 7 comments
Per page: 1530 50