• 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.

"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
     
    4
    Posts
    7
    Years
    • Seen Apr 18, 2018
    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:

    Zeak6464

    Zeak #3205 - Discord
    1,101
    Posts
    11
    Years
  • 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
     
    4
    Posts
    7
    Years
    • Seen Apr 18, 2018
    #-------------------
    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