Jump to content

Unable to auth with Codefling

Pending 2.0.175

AshboDev
AshboDev

Posted

I'm version 2.0.176.0 but it's not available in the version dropdown.

When I click "Log in" on the Codefling plugins tab, I get nothing, and the following console error:

Panels (The type initializer for 'System.Drawing.GDIPlus' threw an exception.)
   at new System.Drawing.Bitmap(int width, int height, PixelFormat format) x 2
   at Bitmap QRCoder.QRCode.GetGraphic(int pixelsPerModule, Color darkColor, Color lightColor, bool drawQuietZones)
   at uint Carbon.Modules.ImageDatabaseModule.GetQRCode(string text, int pixels, bool transparent, bool quietZones, bool whiteMode) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/ImageDatabaseModule/ImageDatabaseModule.cs:line 512
   at Pair<string, CuiElement> Carbon.Components.CUI.CreateQRCodeImage(CuiElementContainer container, string parent, string text, string brandUrl, string brandColor, string brandBgColor, int pixels, bool transparent, bool quietZones, string color, float xMin, float xMax, float yMin, float yMax, float OxMin, float OxMax, float OyMin, float OyMax, float fadeIn, float fadeOut, bool needsCursor, bool needsKeyboard, string outlineColor, string outlineDistance, bool outlineUseGraphicAlpha, string id, string destroyUi, bool update) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Components/CUI.cs:line 173
   at Tab Carbon.Modules.AdminModule+PluginsTab.Get()+(Tab tab, CUI cui, CuiElementContainer container, string panel, PlayerSession ap) => { } in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/AdminModule/AdminModule.Tabs.Plugins.cs:line 667
   at void Carbon.Modules.AdminModule.Draw(BasePlayer player) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/AdminModule/AdminModule.cs:line 1552
  Inner exception:
  System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null)
   at static System.Drawing.GDIPlus()
(09:50:44) | [Admin] Draw(Barbossa[76561198037854148]).Panels (The type initializer for 'System.Drawing.GDIPlus' threw an exception.)
   at new System.Drawing.Bitmap(int width, int height, PixelFormat format) x 2
   at Bitmap QRCoder.QRCode.GetGraphic(int pixelsPerModule, Color darkColor, Color lightColor, bool drawQuietZones)
   at uint Carbon.Modules.ImageDatabaseModule.GetQRCode(string text, int pixels, bool transparent, bool quietZones, bool whiteMode) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/ImageDatabaseModule/ImageDatabaseModule.cs:line 512
   at Pair<string, CuiElement> Carbon.Components.CUI.CreateQRCodeImage(CuiElementContainer container, string parent, string text, string brandUrl, string brandColor, string brandBgColor, int pixels, bool transparent, bool quietZones, string color, float xMin, float xMax, float yMin, float yMax, float OxMin, float OxMax, float OyMin, float OyMax, float fadeIn, float fadeOut, bool needsCursor, bool needsKeyboard, string outlineColor, string outlineDistance, bool outlineUseGraphicAlpha, string id, string destroyUi, bool update) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Components/CUI.cs:line 173
   at Tab Carbon.Modules.AdminModule+PluginsTab.Get()+(Tab tab, CUI cui, CuiElementContainer container, string panel, PlayerSession ap) => { } in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/AdminModule/AdminModule.Tabs.Plugins.cs:line 667
   at void Carbon.Modules.AdminModule.Draw(BasePlayer player) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modules/AdminModule/AdminModule.cs:line 1552
  Inner exception:
  System.DllNotFoundException: libgdiplus.so.0 assembly:<unknown assembly> type:<unknown type> member:(null)
   at static System.Drawing.GDIPlus()

I also see nothing (See attached)

image.png

AshboDev

Posted (edited)

Okay, this is now fixed. Turns out `libgdiplus` isn't installed as a dependency when installing with LinuxGSM. For others running Carbon, through LinuxGSM having the same issue, you need to run 

sudo apt-get install libgdiplus

and restart the server.

Edited by AshboDev
  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.