Posted July 27Jul 27 Compiling this plugin (Link: https://github.com/ClassiCube/MCGalaxy-Plugins/blob/master/plugins/features/DiscordVerify.cs) shows no errors, but upon loading, this error occors.You can go bug Venk about DiscordVerify failing to load.An unknown error occured. Details in the error log.Error loading plugins from plugins/DiscordVerify.dll!!!Error (Sharing violation on path /home/rain/Software/MCGalaxy/plugins/DiscordVerify/verified.txt) - See Logs tab for more detailsLooking at the logs yields this:Type: IOExceptionSource: mscorlibMessage: Sharing violation on path /home/rain/Software/MCGalaxy/plugins/DiscordVerify/verified.txtTrace: at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001ef] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00061] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string,System.Text.Encoding) at MCGalaxy.PlayerExtList.Load (System.String path, System.Char separator) [0x00040] in <aac90df087464427b1873dde33a35dd1>:0 at Core.DiscordVerify.Load (System.Boolean startup) [0x00035] in <c46bf3176e184f1e99e2e98fd3e75500>:0 at MCGalaxy.Plugin.Load (MCGalaxy.Plugin pl, System.Boolean auto) [0x000d0] in <aac90df087464427b1873dde33a35dd1>:0 at MCGalaxy.Scripting.IScripting.LoadPlugin (System.String path, System.Boolean auto) [0x00047] in <aac90df087464427b1873dde33a35dd1>:0 at MCGalaxy.Scripting.ScriptingOperations.LoadPlugins (MCGalaxy.Player p, System.String path) [0x00017] in <aac90df087464427b1873dde33a35dd1>:0 Is anyone able to help with this? Creator of the InfiniBuild server.
Friday at 10:35 PM4 days Delete or rename verified.txt so the plugin recreates it, and refreshed. Change the plugin code by adding FileShare.ReadWrite when opening a file (if the plugin code editable).Check file permissions: ls -l /home/rain/Software/MCGalaxy/plugins/DiscordVerify/verified.txtand, if necessary, perform:chmod 664 verified.txtchown [user]:[group] verified.txt ⭐ "I try to 🅰️lways be positive and create good stuff.shader..." — YneonCraft [squared]
Compiling this plugin (Link: https://github.com/ClassiCube/MCGalaxy-Plugins/blob/master/plugins/features/DiscordVerify.cs) shows no errors, but upon loading, this error occors.
You can go bug Venk about DiscordVerify failing to load.
An unknown error occured. Details in the error log.
Error loading plugins from plugins/DiscordVerify.dll
!!!Error (Sharing violation on path /home/rain/Software/MCGalaxy/plugins/DiscordVerify/verified.txt) - See Logs tab for more details
Looking at the logs yields this:
Type: IOException
Source: mscorlib
Message: Sharing violation on path /home/rain/Software/MCGalaxy/plugins/DiscordVerify/verified.txt
Trace: at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x001ef] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00061] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string,System.Text.Encoding)
at MCGalaxy.PlayerExtList.Load (System.String path, System.Char separator) [0x00040] in <aac90df087464427b1873dde33a35dd1>:0
at Core.DiscordVerify.Load (System.Boolean startup) [0x00035] in <c46bf3176e184f1e99e2e98fd3e75500>:0
at MCGalaxy.Plugin.Load (MCGalaxy.Plugin pl, System.Boolean auto) [0x000d0] in <aac90df087464427b1873dde33a35dd1>:0
at MCGalaxy.Scripting.IScripting.LoadPlugin (System.String path, System.Boolean auto) [0x00047] in <aac90df087464427b1873dde33a35dd1>:0
at MCGalaxy.Scripting.ScriptingOperations.LoadPlugins (MCGalaxy.Player p, System.String path) [0x00017] in <aac90df087464427b1873dde33a35dd1>:0
Is anyone able to help with this?
Creator of the InfiniBuild server.