• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Blank Errors

2
Posts
6
Years
    • Seen Jun 4, 2017
    So, when I was adding in some new trainers, this popped up. 10 times.

    ---------------------------
    Pokemon Secrets
    ---------------------------
    Exception: RuntimeError

    Message: Expected a species name:

    File PBS/trainers.txt, line





    Compiler:2216:in `pbCompileTrainers'

    Compiler:2209:in `each'

    Compiler:2209:in `pbCompileTrainers'

    Compiler:2186:in `loop'

    Compiler:2322:in `pbCompileTrainers'

    Compiler:4111:in `pbCompileAllData'

    Compiler:4219



    This exception was logged in

    C:\Users\Owner\Saved Games/Pokemon Secrets/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------





    That has a blank line number and blank species name, MEANING that I cant find where the error is, therefore not being able to fix it. Dont know if this is possible, but can someone help me without having me to delete my game? :/
     
    Last edited by a moderator:
    971
    Posts
    7
    Years
    • Age 21
    • Seen Nov 28, 2022
    What you likely did is something like this (just an example):

    YOUNGSTER
    Joey
    3
    RATTATA
    RATICATE

    YOUNGSTER
    .......

    As you can see, you'd have told the Compiler that the trainer has three Pok?mon, so the Compiler counts three lines downwards. Since YOUNGSTER is not a valid species, it gave an error. I believe this is the issue.
     
    2
    Posts
    6
    Years
    • Seen Jun 4, 2017
    OMG! I just remembered I had to leave in the middle of coding, and only made 5 pokemon for a 6 pokemon trainer! thanks so much for reminding me!
     
    Back
    Top