Comments (53)
Starting SupportBoi version 2.1.0-B...
Loading config "C:\Users\32Red\Downloads\config.yml"
Unhandled Exception: System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Newtonsoft.Json.Linq.Extensions.Convert[T,U](T token)
at SupportBoi.Config.LoadConfig()
at SupportBoi.SupportBoi.Reload()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadPoolWorkQueue.Dispatch()
from supportboi.
Put your config into a yaml validator.
from supportboi.
sorry, but how do i do that?
from supportboi.
https://lmgtfy.com/?q=yaml+validator&iie=1
from supportboi.
from supportboi.
from supportboi.
I am not even sure where you got that from, that's not the config, thats not even yaml.
from supportboi.
lol it was in the support boi file
from supportboi.
could you send the original file if possible?
from supportboi.
Just delete it and run the bot again
from supportboi.
alright
from supportboi.
from supportboi.
same issue 😭
from supportboi.
I am very confused on what you are doing, just use the config the bot generates for you, stop putting code in it.
from supportboi.
so i write it in myself?
from supportboi.
I don't really know what you mean by that, you have to put in things like the bot token and command permissions yes
from supportboi.
can
i use the Defualt config as a template?
from supportboi.
It is the thing you should edit, yes
from supportboi.
Starting SupportBoi version 2.1.0-B...
Loading config "C:\Users\32Red\Downloads\config.yml"
Unhandled Exception: System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(ReadOnlySpan1 str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseUInt64(ReadOnlySpan
1 value, NumberStyles options, NumberFormatInfo numfmt)
at System.String.System.IConvertible.ToUInt64(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Newtonsoft.Json.Linq.Extensions.Convert[T,U](T token)
at Newtonsoft.Json.Linq.Extensions.Convert[T,U](IEnumerable1 source)+MoveNext() at System.Collections.Generic.LargeArrayBuilder
1.AddRange(IEnumerable1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable
1 source)
at SupportBoi.Config.LoadConfig()
at SupportBoi.SupportBoi.Reload()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadPoolWorkQueue.Dispatch()
hmm
from supportboi.
Just start from the default config and add one thing at a time, then you know what the issue is.
from supportboi.
i did that. i went threw it VERY carefully and i found nothing... and it gave me the same message error
from supportboi.
and what did you add to the config to make this happen? I recommend you just keep the default config and add your bot token for now.
from supportboi.
I'm not really sure how you are having so many issues with this, there are a lot of users of this bot and I don't think I have ever had anyone with this many issues before.
from supportboi.
hmm
do you have a default of just the emc supportboi? i can use that for now
from supportboi.
I can't just give out our passwords and auth tokens...
from supportboi.
oh
right
from supportboi.
Just add one thing, start the bot and see if it complains, then you know there is something wrong with the thing you added and you can tell me what that one thing is.
from supportboi.
ok
from supportboi.
I recommend starting with your bot token and then do database credentials as those are checked first.
from supportboi.
do i edit the log channel and stuff?
from supportboi.
no, just start with the token
from supportboi.
ok
from supportboi.
then do one thing at a time until it breaks
from supportboi.
ok
good plan
from supportboi.
Starting SupportBoi version 2.1.0-B...
Loading config "C:\Users\32Red\Downloads\config.yml"
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable`1 value)
at SupportBoi.Config.LoadConfig()
at SupportBoi.SupportBoi.Reload()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadPoolWorkQueue.Dispatch()
is the error i got after just putting in my token
from supportboi.
And what did you do?
from supportboi.
ah token
from supportboi.
ye
from supportboi.
there was nothing else i edited
from supportboi.
does it even work for you if you dont edit anything?
from supportboi.
i just put the token in lol everything else is default
but it didnt work
from supportboi.
like just delete everything from the bot folder except the application and start it again twice
from supportboi.
wait i didnt get it
from supportboi.
I will have to go now so you will have to keep trying on your own, good luck
from supportboi.
okay ill try cya
from supportboi.
if you start it once it creates the config and if you start it again it would try to read that config is what I mean, might be some issue with reading the config at all maybe
from supportboi.
but yeah cya and good luck
from supportboi.
ty
from supportboi.
ok i worked as hard as i could but i got greeted with this... Starting SupportBoi version 2.1.0-B...
Loading config "C:\Users\32Red\Downloads\config.yml"
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable`1 value)
at SupportBoi.Config.LoadConfig()
at SupportBoi.SupportBoi.Reload()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ThreadPoolWorkQueue.Dispatch()
from supportboi.
any help?
from supportboi.
I'm sorry but I have no idea how to help you, no one has had this issue before and I can't recreate it on my end either.
There is likely something very wrong with the system or os you are running it on if literally anything you do just gives the bot garbled data all the time.
from supportboi.
Let me know if you find a solution though, this does sound pretty interesting.
from supportboi.
sad
from supportboi.
Related Issues (20)
- Suggestion: -name HOT 3
- Suggestion: ignore the -new command in already existing tickets
- Reaction to catagory
- nvm
- Add -say for callable messages
- Bump DiscordChatExporter to 2.26+ in releases HOT 1
- Discord Buttons HOT 2
- Message configuration/translation files HOT 2
- Update to built-in command system HOT 2
- Add list command to find tickets with deleted channels
- Make /rassign not assign to the person who opened the ticket
- Confirmation for /close
- Update /new to make use of the new category system
- Add admin commands to delete tickets by id
- Group admin and list commands HOT 1
- Investigate if paginated responses could be useful for lists
- Fix ticket created time sometimes changing
- Fix issue where close command sometimes throws an exception HOT 1
- Suggestion: Add page buttons to /say
- Suggestion: Add an identifier to /close
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supportboi.