• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

"Expected a species name" error when making a new trainer

  • 3
    Posts
    11
    Years
    • Seen Dec 31, 2015
    I have this error when I add a new trainer to trainers.txt
    ---------------------------
    Pokémon Zwei
    ---------------------------
    Exception: RuntimeError

    Message: Expected a species name: SAM1

    File PBS/trainers.txt, line 127

    SAM1



    Compiler:1421:in `pbCompileTrainers'

    Compiler:1414:in `each'

    Compiler:1414:in `pbCompileTrainers'

    Compiler:1391:in `loop'

    Compiler:1527:in `pbCompileTrainers'

    Compiler:4044:in `pbCompileAllData'

    Compiler:4162



    This exception was logged in

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    --------------------------
    The added trainers. (It starts on the second one)
    #-------------------
    SAM1
    Sam,1
    3
    PIDOVE,5
    #-------------------
    SAM1
    Sam,2
    3
    ROGGENROLA,5
    #-------------------
    SAM1
    Sam,3
    3
    MACHOP,5
     
    Same issue here.

    @Mej71, can you please advise.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: RuntimeError

    Message: Expected a species name: CLOAKEDGIRL

    File PBS/trainers.txt, line 103

    CLOAKEDGIRL



    Compiler:2560:in `pbCompileTrainers'

    Compiler:2553:in `each'

    Compiler:2553:in `pbCompileTrainers'

    Compiler:2530:in `loop'

    Compiler:2667:in `pbCompileTrainers'

    Compiler:4401:in `pbCompileAllData'

    Compiler:4515

    ............now heres my line 103 onwards in trainers.txt

    CLOAKEDGIRL
    Elvia
    1,POTION
    MISDREAVUS,17
    #-------------------------------

    ...............now heres my trainertypes.txt

    73,CLOAKEDGIRL,Cloaked Girl,32,,,,Female,,

    ...................very confused.

    thanks in advance.
     
    Last edited:
    Same issue here.

    @Mej71, can you please advise.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 17.2]

    Exception: RuntimeError

    Message: Expected a species name: CLOAKEDGIRL

    File PBS/trainers.txt, line 103

    CLOAKEDGIRL



    Compiler:2560:in `pbCompileTrainers'

    Compiler:2553:in `each'

    Compiler:2553:in `pbCompileTrainers'

    Compiler:2530:in `loop'

    Compiler:2667:in `pbCompileTrainers'

    Compiler:4401:in `pbCompileAllData'

    Compiler:4515

    ............now heres my line 103 onwards in trainers.txt

    CLOAKEDGIRL
    Elvia
    1,POTION
    MISDREAVUS,17
    #-------------------------------

    ...............now heres my trainertypes.txt

    73,CLOAKEDGIRL,Cloaked Girl,32,,,,Female,,

    ...................very confused.

    thanks in advance.

    #-------------------
    CLOAKEDGIRL
    Elvia,1
    1,POTION
    MISDREAVUS,17
    #-------------------

    If that doesn't work , download PBS editor made by Marin
     
    #-------------------
    CLOAKEDGIRL
    Elvia,1
    1,POTION
    MISDREAVUS,17
    #-------------------

    If that doesn't work , download PBS editor made by Marin

    Hi Zeek, thanks for the reply.

    Yes my line 102 has this.

    I was just about to show you my previous lines that work but i actually spotted what the issue was.

    The trainer before had 3 pokemon but i didnt write the 3rd pokemons name in full caps so it skipped the line and expected CLOAKEDGIRL to be a pokemon.

    A little more attention to detail is what i need to do.

    Thanks again.

    *ISSUE RESOLVED*
     
    Back
    Top