No image tag associated to the speaking character

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

No image tag associated to the speaking character

#1 Post by Nonohell »

Hey!
Sometimes in my games renpy will tell me that:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 77, in script call
    call ch0_main
  File "game/chpt-0.rpy", line 234, in script
    s 2b"I had no idea you were so good at baking, Character without name !"
Exception: Say has image attributes (u'2b',), but there's no image tag associated with the speaking character.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 77, in script call
    call ch0_main
  File "game/chpt-0.rpy", line 234, in script
    s 2b"I had no idea you were so good at baking, Character without name !"
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\ast.py", line 643, in execute
    renpy.exports.say(who, what, interact=self.interact, *args, **kwargs)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\exports.py", line 1176, in say
    who(what, *args, **kwargs)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\character.py", line 949, in __call__
    self.resolve_say_attributes(False, wanted=speaking)
  File "C:\Users\boulanger\Downloads\renpy-6.99.14.1-sdk\renpy\character.py", line 845, in resolve_say_attributes
    raise Exception("Say has image attributes %r, but there's no image tag associated with the speaking character." % (attrs,))
Exception: Say has image attributes (u'2b',), but there's no image tag associated with the speaking character.

Windows-8-6.2.9200
Ren'Py 6.99.14.1.3218
Day Like The Others
Mon May 07 23:14:46 2018

It makes him asser often but only with one character, I do not know why. Could you help me ?
Last edited by Nonohell on Tue May 08, 2018 5:31 am, edited 3 times in total.

User avatar
Andredron
Miko-Class Veteran
Posts: 719
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: No image tag associated to the speaking character

#2 Post by Andredron »

NEVER START THE NAMES OF VARIABLES AND LABEL WITH NUMBERS

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: No image tag associated to the speaking character

#3 Post by Nonohell »

Ok but... That work with the others characters... I'm gonna try exchange the numbers and the letters and I give you the result.

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: No image tag associated to the speaking character

#4 Post by Nonohell »

No that's don't work... The problem persist

Nonohell
Newbie
Posts: 16
Joined: Wed Apr 11, 2018 2:30 pm
Contact:

Re: No image tag associated to the speaking character

#5 Post by Nonohell »

Ok I found the answer ! I accidentaly define the character twice in the script and the second time I don't add the image='Sabrina'

Post Reply

Who is online

Users browsing this forum: No registered users