lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

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
User avatar
Eliont
Regular
Posts: 88
Joined: Thu Aug 06, 2009 6:51 am
Completed: Begin of Evangelion, SAO - Smile of the black cat, SAO - Project "Ceramic Heart"
Projects: Legends of Alkion
Location: Russia
Contact:

lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

#1 Post by Eliont » Thu Oct 31, 2019 10:50 pm

Hello and good time of day.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
AttributeError: 'unicode' object has no attribute 'block'

\renpy\ast.py", line 2159, in execute
\renpy\ast.py", line 2144, in lookup
\translation\__init__.py", line 190, in lookup_translate
AttributeError: 'unicode' object has no attribute 'block'

Ren'Py 7.0.0.196
It's android device.
What to do if such type errors appear?

Thanks in advance.

User avatar
XxrenxX
Veteran
Posts: 265
Joined: Tue Oct 02, 2012 2:40 am
Projects: Chasing
Deviantart: bara-ettie
Location: Canada
Contact:

Re: lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

#2 Post by XxrenxX » Sat Nov 02, 2019 4:13 am

Could you post the line or string of code that the 'unicode' is part of?

User avatar
Eliont
Regular
Posts: 88
Joined: Thu Aug 06, 2009 6:51 am
Completed: Begin of Evangelion, SAO - Smile of the black cat, SAO - Project "Ceramic Heart"
Projects: Legends of Alkion
Location: Russia
Contact:

Re: lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

#3 Post by Eliont » Sat Nov 02, 2019 5:16 am

Code: Select all

em "If the imaginary enemy is not gay, then he'll be seduced."

User avatar
isobellesophia
Miko-Class Veteran
Posts: 694
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox's Everyday Talk! (13+ Unreal version), Maddox Everyday Talk! (3+ Real-Friendly version)(Upcoming 2020)
Organization: Friendly Teachers series
itch: .......
Location: Philippines, Mindanao
Contact:

Re: lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

#4 Post by isobellesophia » Sat Nov 02, 2019 6:14 am

Looks like this code is not enough.. can you show at least the full code? It says about block.
I am a friendly user, please respect and have a good day..


Working on a talking simulation game for everyone, except children.

Maddox Everyday Talk!
Is my very very main project, not contain 13 below.

Main project here viewtopic.php?f=43&t=56564
Image

User avatar
Eliont
Regular
Posts: 88
Joined: Thu Aug 06, 2009 6:51 am
Completed: Begin of Evangelion, SAO - Smile of the black cat, SAO - Project "Ceramic Heart"
Projects: Legends of Alkion
Location: Russia
Contact:

Re: lookup_translate: AttributeError: 'unicode' object has no attribute 'block'

#5 Post by Eliont » Sat Nov 02, 2019 6:58 am

I can't provide full game code. And can't replicate bug on my own machine.
Just may be someone encountered same bug as here - https://f95zone.to/threads/four-element ... st-1359092

Post Reply

Who is online

Users browsing this forum: Google [Bot], Imperf3kt