Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after naming character in v0.9.0 #11

Closed
RemberBM opened this issue Aug 27, 2023 · 2 comments
Closed

Error after naming character in v0.9.0 #11

RemberBM opened this issue Aug 27, 2023 · 2 comments

Comments

@RemberBM
Copy link

Hey, I'm encountering this error right after naming my character after loading the prancing llama story.

   EXCEPTION: TypeError
   MESSAGE: ’set’ object is not subscriptable
   Extended stacktrace follows (most recent call last):
     —-

  File “A:\LlamaTale\LlamaTale\tale\driver_if.py”, line 275, in IFDriver.main_loop
  Source code:
      self._continue_dialog(conn, dialog, response)

     —-

  File “A:\LlamaTale\LlamaTale\tale\driver.py”, line 379, in IFDriver._continue_dialog
  Source code:
      why, what = dialog.send(message or None)

  Local values:
      conn = <tale.player.PlayerConnection object at 0x0000019DEDE82BC0>
      dialog = <generator object IFDriver._login_dialog_if at 0x0000019DEE3022D0>
      message = ’namegoeshere’
      self = <tale.driver_if.IFDriver object at 0x0000019DEDE431F0>
     —-

  File “A:\LlamaTale\LlamaTale\tale\driver_if.py”, line 186, in IFDriver._login_dialog_if
  Source code:
      name_info = yield from builder.build_character()

  Local values:
      builder = <tale.charbuilder.IFCharacterBuilder object at 0x0000019DEE32D4B0>
      conn = <tale.player.PlayerConnection object at 0x0000019DEDE82BC0>
      load_saved_game = None
      self = <tale.driver_if.IFDriver object at 0x0000019DEDE431F0>
     —-

  File “A:\LlamaTale\LlamaTale\tale\charbuilder.py”, line 76, in IFCharacterBuilder.build_character
  Source code:
      race = self.config.playable_races[0]

  Local values:
      self = <tale.charbuilder.IFCharacterBuilder object at 0x0000019DEE32D4B0>

   EXCEPTION HERE: TypeError: ’set’ object is not subscriptable
  ——————————————————-

  Please report this problem.

I've followed all the steps, kobold.cpp is working fine and I used the recommended model. Also retried this after rebooting my PC but no luck. Can you help?

@neph1
Copy link
Owner

neph1 commented Aug 27, 2023

Thanks for the report!
Sadly I had made a changed which wasn't tested. Fixed here: #14
Please pull latest from master.

@RemberBM
Copy link
Author

It seems to be working, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants