• 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!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Error while updating?

PokemonPlatnum

nomnomnom.
  • 257
    Posts
    17
    Years
    I was updating from Version 10 to Version 11 and during compiling, this error arises:

    Code:
    ---------------------------
    Pokémon: Ultramarine Version Alpha 0.125
    ---------------------------
    Exception: RuntimeError
    
    Message: Undefined value Black2 in PBTrainers
    
    File PBS/metadata.txt, section 0, key PlayerA
    
    Black2,Black2,BlackBike,,boy_surf,BlackRun,boy_dive
    
    
    
    Compiler:1595:in `checkEnumField'
    
    Compiler:1619:in `csvEnumField!'
    
    Compiler:526:in `pbGetCsvRecord'
    
    Compiler:472:in `each'
    
    Compiler:472:in `pbGetCsvRecord'
    
    Compiler:792:in `pbCompileMetadata'
    
    Compiler:763:in `pbCompilerEachCommentedLine'
    
    Compiler:615:in `each_line'
    
    Compiler:615:in `pbCompilerEachCommentedLine'
    
    Compiler:612:in `open'
    
    
    
    This exception was logged in 
    
    C:\Users\Home\Saved Games/Pokémon_ Ultramarine Version Alpha 0_125/errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------

    What have I done wrong? Thanks.
     
    You don't have a defined trainer type with the internal name "Black2" (note the capitalisation, or rather, lack thereof). Internal names are typically in all caps for convenience. Edit trainertypes.txt and/or the problem line to make sure the internal name of the desired trainer type is being used in all places, and with the correct capitalisation.

    Also note that the contents of the player lines is rearranged compared to what you're using.
     
    Thanks Maruno. Works now, great work on the kit :)
     
    Back
    Top