This error happens with latest oxide when server loaded and tries to compile plugins first time. After this any attemt reloa plugin will give:Code:[4/29/2015 8:43:01 PM] [Oxide] 8:42 PM [Debug] at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (System.Byte[] data) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0
Not sure if this is issue with latest oxide or my test server (linux), but maybe this because temp folder was removed? I'll back bit later with trying to downgrade oxide and see if it works.
Fixed Csharp WriteInternal and InvalidTimeZoneException errors
Discussion in 'Rust Discussion' started by AlexALX_[rus-ua], Apr 29, 2015.
-
Wulf Community Admin
The compiler doesn't write to the filesystem anymore, so it's likely you aren't fully updated.
-
-
Wulf Community Admin
-
Ok i download latest https://raw.githubusercontent.com/OxideMod/Snapshots/master/CSharpCompiler.exe and it still not working, but now bit different error:
Code:[4/29/2015 9:38:29 PM] [Oxide] 9:38 PM [Debug] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (BinaryElement element, System.IO.BinaryReader reader) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (BinaryElement elem, System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in <filename unknown>:0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadObject (Int32 len) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadObject () [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadStream () [0x00000] in <filename unknown>:0
[DOUBLEPOST=1430332676][/DOUBLEPOST]Another logs:
Code:[SERVER] Started as service [SERVER] Running as service [SERVER] Error: Exception of type 'System.InvalidTimeZoneException' was thrown. at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.CreateLocal () [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.OnMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamClient`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].OnReceiveMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0 [SERVER] Shutdown
-
Wulf Community Admin
The standalone compiler snapshot is not the right version. It's likely another Linux/Wine issue, so it'll take a bit of digging.
-
hi i got somthing little same:
Code:[SERVER] Started as service [SERVER] Running as service [SERVER] Error: Object reference not set to an instance of an object at System.TimeZoneInfo.TrimSpecial (System.String str) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.CreateLocal () [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.OnMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamClient`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].OnReceiveMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0 [SERVER] Shutdown
Last edited by a moderator: May 1, 2015 -
@fingerdu26
just intresting - on what os you got this error? Because for now it seems only happens on linux, but idk. Also i'm stuck at https://github.com/OxideMod/Oxide/commit/e0c2b2448cdd4d6a4852a1ba07bc5bce5b8402dd with own patched Assembly-CSharp.dll (but can be downloaded separatery from https://raw.githubusercontent.com/OxideMod/Oxide/master/Oxide.Ext.Rust/Patched/Assembly-CSharp.dll may not work with outdated oxide) i successfully use the server with the latest rust update. But still waiting for linux fixes (also with lua x64 dependence). -
hi i'm on win XP64 i know it's not supported but i see forgot somewhere as short times old it's interpreter as win server 2003.
got that too with your file same as the other that launch but only .cs file are not managed:/
Code:[Oxide] 4:14 AM [Error] Compilation error: (IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\Jeux\Rust-server s\[Unknown]) [Oxide] 4:14 AM [Debug] at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObj ect (System.Byte[] data) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObj ect (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStr eam () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0
Last edited by a moderator: May 1, 2015 -
me too
Code:[Oxide] 10:53 AM [Error] Compilation error: (IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: D:\Rust\[Unknown]) [Oxide] 10:53 AM [Debug] at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (System.Byte[] data) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0
Code:[SERVER] Started as service [SERVER] Running as service [SERVER] Error: Object reference not set to an instance of an object at System.TimeZoneInfo.TrimSpecial (System.String str) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.CreateLocal () [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.OnMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamClient`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].OnReceiveMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0 [SERVER] Shutdown
Last edited by a moderator: May 1, 2015 -
Screens:
http://prntscr.com/706brs
http://prntscr.com/706cp2
compiler_log:
Code:[SERVER] Started as service [SERVER] Running as service [SERVER] Error: Exception of type 'System.InvalidTimeZoneException' was thrown. at System.TimeZoneInfo.FromRegistryKey (System.String id, Microsoft.Win32.RegistryKey key) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.CreateLocal () [0x00000] in <filename unknown>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000] in <filename unknown>:0 at System.TimeZone.GetLocalTimeDiff (DateTime time) [0x00000] in <filename unknown>:0 at System.DateTime.get_Now () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.OnMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamClient`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].OnReceiveMessage (ObjectStream.ObjectStreamConnection`2 connection, ObjectStream.Data.CompilerMessage message) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].ReadStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0 [SERVER] Shutdown
HuntPlugin.cs
StackSizes.cs
Any idea ? -
Wulf Community Admin
Please post your server operating system version along with full Oxide logs.
-
win server 2003 X64 only .cs plugin error
V 2.0.800 is OK
But the new error occurred
Sorry, my English level is very low -
SO: Windows Web Server 2008 R2
Server:
Code:12:00 AM [Info] [Notifier v2.7.4] :: Type /map for the server map link. 12:02 AM [Info] [Notifier v2.7.4] :: Symbol joined the server, from Mexico. 12:05 AM [Info] [Notifier v2.7.4] :: This server is running Oxide 2. 12:06 AM [Info] [Notifier v2.7.4] :: DRK-fx joined the server, from Unknown. 12:07 AM [Debug] Plugin compilation is already queued: CraftingController (545.479 ago) 12:07 AM [Info] Loading Oxide core v2.0.826... 12:07 AM [Info] Loading extensions... 12:07 AM [Info] Loaded extension CSharp v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension JavaScript v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension Lua v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension MySql v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension Python v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension Rust v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension Rust:IO for Oxide v2.2.7 by playrust.io / dcode 12:07 AM [Info] Loaded extension SQLite v1.0.826 by Oxide Team 12:07 AM [Info] Loaded extension Unity v1.0.826 by Oxide Team 12:07 AM [Info] Loading plugins... 12:07 AM [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team 12:07 AM [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team 12:07 AM [Info] Loaded plugin Enhanced Ban System v2.3.0 by #Domestos 12:07 AM [Info] Loaded plugin Helptext v1.4.0 by #Domestos 12:07 AM [Info] Loaded plugin Increased Gathering Rate v1.1.2 by Mughisi 12:07 AM [Info] Resources from gathering is set to: x10. 12:07 AM [Info] Loaded plugin Teleportation System v1.4.15 by Mughisi 12:07 AM [Info] Loaded plugin Private Messaging v1.2.3 by #Domestos 12:07 AM [Info] Loaded plugin Death Notes v2.4.7 by SkinN 12:07 AM [Info] Loaded plugin Notifier v2.7.4 by SkinN 12:07 AM [Info] [Notifier v2.7.4] :: Loading Plugin 12:07 AM [Info] [Notifier v2.7.4] :: -------------------------------------------------- 12:07 AM [Info] [Notifier v2.7.4] :: * Updating countries database 12:07 AM [Info] [Notifier v2.7.4] :: * Caching active players 12:07 AM [Info] [Notifier v2.7.4] :: * Starting Adverts loop, set to 5 minute/s 12:07 AM [Info] [Notifier v2.7.4] :: * Enabling commands: 12:07 AM [Info] [Notifier v2.7.4] :: - /rules, /regras, /regles (Server Rules) 12:07 AM [Info] [Notifier v2.7.4] :: - /admins (Admins List) 12:07 AM [Info] [Notifier v2.7.4] :: - /players (Players List) 12:07 AM [Info] [Notifier v2.7.4] :: -------------------------------------------------- 12:07 AM [Info] Loaded plugin Rust:IO for Oxide v2.2.7 by playrust.io / dcode 12:07 AM [Error] Compilation error: (IOException: Win32 IO returned ERROR_BROKEN_PIPE. Path: C:\Users\rust\Desktop\Server Original\[Unknown]) 12:07 AM [Debug] at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (System.Byte[] data) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0 12:09 AM [Info] m-Teleportation: To limit Homes to only be set on foundations owned by the player the plugin `Building Owners` is required! 12:09 AM [Info] This plugin can be downloaded at http://forum.rustoxide.com/plugins/building-owners.682/ 12:09 AM [Info] The owner check has temporarily been disabled to prevent problems. 12:09 AM [Info] m-Teleportation: To allow Homes to be set on foundations owned by friends of the player the plugin `Friends API` is required! 12:09 AM [Info] This plugin can be downloaded at http://forum.rustoxide.com/plugins/friends-api.686/ 12:09 AM [Info] The friends check has temporarily been disabled to prevent problems. 12:09 AM [Warning] CallHook 'OnTick' on plugin 'Rust:IO for Oxide' took: 3666.428ms 12:11 AM [Info] [Notifier v2.7.4] :: DRK-fx joined the server, from Unknown. 12:12 AM [Info] [Notifier v2.7.4] :: Type /map for the server map link. 12:13 AM [Debug] Plugin compilation is already queued: CraftingController (333.791 ago) 12:15 AM [Info] [Notifier v2.7.4] :: Faker joined the server, from Mexico. 12:17 AM [Info] [Notifier v2.7.4] :: Want to know the available commands? Type /help. 12:21 AM [Info] [Notifier v2.7.4] :: Symbol joined the server, from Mexico. 12:22 AM [Info] [Notifier v2.7.4] :: Players Online: 3 / 500 Sleepers: 1 12:24 AM [Debug] Reload requested for plugin which is already reloading: CraftingController 12:26 AM [Info] [Death Notes v2.4.7] :: Symbol killed Faker with an arrow on the Eye from 3.79m 12:26 AM [Info] [Death Notes v2.4.7] :: DRK-fx killed a Deer. (In the Thigh with Hunting Bow, from 43.40m) 12:27 AM [Info] [Notifier v2.7.4] :: Cheating is strictly prohibited. 12:29 AM [Info] [Death Notes v2.4.7] :: DRK-fx killed a Horse. (In the Ear with Hunting Bow, from 27.46m) 12:32 AM [Info] [Notifier v2.7.4] :: Respect the server /rules. 12:33 AM [Info] [Death Notes v2.4.7] :: Symbol did not know that radiation kills. 12:37 AM [Info] [Notifier v2.7.4] :: This server is running Oxide 2. 12:38 AM [Info] [Death Notes v2.4.7] :: Symbol killed a Horse. (In the Stomache with Hunting Bow, from 22.08m) 12:38 AM [Info] [Death Notes v2.4.7] :: DRK-fx thought he could swim, but guess not. 12:40 AM [Info] [Death Notes v2.4.7] :: DRK-fx froze to death. 12:42 AM [Info] [Death Notes v2.4.7] :: Faker is an ice cold dead man. 12:42 AM [Info] [Notifier v2.7.4] :: Want to know the available commands? Type /help. 12:44 AM [Info] [Death Notes v2.4.7] :: DRK-fx killed brown, while sleeping. (With Rock, in the Hip) 12:45 AM [Info] [Death Notes v2.4.7] :: DRK-fx committed suicide. 12:47 AM [Info] [Notifier v2.7.4] :: DRK-fx left the server. 12:47 AM [Info] [Notifier v2.7.4] :: This server is running Oxide 2. 12:48 AM [Warning] CallHook 'OnPlayerInit' on plugin 'Rust:IO for Oxide' took: 505.8594ms 12:48 AM [Info] [Notifier v2.7.4] :: DRK-fx joined the server, from Unknown. 12:49 AM [Info] [Death Notes v2.4.7] :: DRK-fx committed suicide. 12:52 AM [Info] [Notifier v2.7.4] :: Players Online: 3 / 500 Sleepers: 0
-
you could give the updated compiler build a try:
https://github.com/Nogrod/Oxide-2/commit/632292b4c9dbdd8c8d70cb7e20cea1c4e3fb3e92 -
Still have:
Code:[5/1/2015 5:42:12 PM] [Oxide] 5:42 PM [Debug] at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (System.Byte[] data) [0x00000] in <filename unknown>:0 at ObjectStream.IO.ObjectStreamWrapper`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteObject (ObjectStream.Data.CompilerMessage obj) [0x00000] in <filename unknown>:0 at ObjectStream.ObjectStreamConnection`2[ObjectStream.Data.CompilerMessage,ObjectStream.Data.CompilerMessage].WriteStream () [0x00000] in <filename unknown>:0 at ObjectStream.Threading.Worker.DoWorkImpl (System.Object oAction) [0x00000] in <filename unknown>:0
Last edited by a moderator: May 1, 2015 -
but for now there is a new update server it seem i go do it but i'm fear :/nowAttached Files:
-
-
Wulf Community Admin
Marking thread as fixed as the original issues presented in this thread seem to be resolved now.
-
Thanks GJ
-