Olyno / SkEmail

Skript addon to send emails
8 stars 3 forks source link

it will not work #27

Closed MrSnowDK closed 4 years ago

MrSnowDK commented 4 years ago

<--! To make sure you have all the keys in hand to be able to help you, I invite you to fill out the form as proposed below, including information about your server. Are you ready to go? Let's do it! (just delete wrong informations) -->

Versions:

I'm using a minecraft server [1.13.2] (do /ver in your console) I'm using skript version [2.3.7] (do /ver skript in your console) I'm using SkEmail version [1.6] (do /ver skemail in your console)

About the issue:

I got a [java|skript] error:

13.10 00:32:28 [Server] ERROR #!#! [Skript] Severe Error:
13.10 00:32:28 [Server] ERROR #!#! Could not load Test.sk
13.10 00:32:28 [Server] ERROR #!#! 
13.10 00:32:28 [Server] ERROR #!#! Something went horribly wrong with Skript.
13.10 00:32:28 [Server] ERROR #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
13.10 00:32:28 [Server] ERROR #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
13.10 00:32:28 [Server] ERROR #!#! Run /sk update check to get a download link to latest Skript!
13.10 00:32:28 [Server] ERROR #!#! You will be given instructions how to report this error if it persists after update.
13.10 00:32:28 [Server] ERROR #!#! 
13.10 00:32:28 [Server] ERROR #!#! Stack trace:
13.10 00:32:28 [Server] ERROR #!#! ch.njol.skript.SkriptAPIException: No class info found for merchantrecipe
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:263)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.createExprInfo(SkriptParser.java:1833)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.getExprInfo(SkriptParser.java:1800)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1548)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1494)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parseSingleExpr(SkriptParser.java:502)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parseExpression(SkriptParser.java:836)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1564)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:224)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.Statement.parse(Statement.java:59)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1003)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.TriggerSection.<init>(TriggerSection.java:54)
13.10 00:32:28 [Server] ERROR #!#!     at com.olyno.util.EffectSection$1.<init>(EffectSection.java:124)
13.10 00:32:28 [Server] ERROR #!#!     at com.olyno.util.EffectSection.loadSection(EffectSection.java:124)
13.10 00:32:28 [Server] ERROR #!#!     at com.olyno.scopes.ScopeEmailCreation.init(ScopeEmailCreation.java:54)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:252)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.lang.Condition.parse(Condition.java:81)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1083)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.command.Commands.loadCommand(Commands.java:493)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:648)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.lambda$1(ScriptLoader.java:406)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:425)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.lambda$0(ScriptLoader.java:347)
13.10 00:32:28 [Server] ERROR #!#!     at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:377)

My code is:

command /Login:
    trigger:
        login to gmail service from mail "******" and password "*****"
        send "&asådan"

command /test:
    trigger:
        make new email:
            set object of email to "Test email"
            set body of email to "Look my beautiful email my friend!"
            set receiver of email to "********"
        send last email created     
        send "&aSendt"

I think the problem comes from [it will not load the test command but it will if i remove (make new email:) from the code what do i do]

Olyno commented 4 years ago

Can you try this version and tell me if it solve your issue please? https://bitbucket.org/Olyno/skemail/downloads/SkEmail-1.7-all.jar

MrSnowDK commented 4 years ago

now all my errors are gone but it hasn't sent the email?

Olyno commented 4 years ago

It should send the email. Please recheck your code and errors. I will have a look in later. Edit: Can you try to just copy and paste the example I did and replace email with your email, password with your password, and tell me if it works please?

Olyno commented 4 years ago

Inactive issue, I close it.