Skip to content

What should i do if i can't create a plugin? #15

@Aspector1

Description

@Aspector1
  • Operating System: Windows
  • Game: (link to Steam page or Game)
  • Backend: GPU
  • An URL to your GamePlugin or GameAgentPlugin repository, if possible:

Expected result

Creating a game plugin

Encountered result

OFFSHOOT: Attempting to install SerpentPersonaGamePlugin...

OFFSHOOT PLUGIN INSTALL: Verifying that plugin dependencies are installed...


OFFSHOOT PLUGIN INSTALL: Installing files...

C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\base.py:63: UserWarning: 'serpent.game' does not appear to be a valid module. Skipping!
  warnings.warn("'%s' does not appear to be a valid module. Skipping!" % m)
C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\base.py:63: UserWarning: 'serpent.game_agent' does not appear to be a valid module. Skipping!
  warnings.warn("'%s' does not appear to be a valid module. Skipping!" % m)

There was a problem during installation... Reverting!
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\WBC\SerpentAI-dev\serpent\plugins\SerpentPersonaGamePlugin\plugin.py", line 28, in <module>
    offshoot.executable_hook(SerpentPersonaGamePlugin)
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\base.py", line 185, in executable_hook
    plugin_class.install()
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 35, in install
    cls.install_files()
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 118, in install_files
    raise e
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 91, in install_files
    is_valid, messages = cls._validate_file_for_pluggable(plugin_file_path, file_dict["pluggable"])
  File "C:\ProgramData\Anaconda3\envs\serpent\lib\site-packages\offshoot\plugin.py", line 235, in _validate_file_for_pluggable
    raise PluginError("The Plugin definition specifies an invalid pluggable: %s => %s" % (file_path, pluggable))
offshoot.plugin.PluginError: The Plugin definition specifies an invalid pluggable: plugins\SerpentPersonaGamePlugin\files\serpent_Persona_game.py => Game

Steps to reproduce

  1. Conda activate serpent
  2. Serpent generate game
  3. persona
  4. steam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions