• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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
    8
    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:
    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.
     
    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