[Solved]Error : while modifying demo_imageops.rpy in tutorial

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
ini2156
Newbie
Posts: 3
Joined: Sat Mar 25, 2017 10:54 am
Contact:

[Solved]Error : while modifying demo_imageops.rpy in tutorial

#1 Post by ini2156 »

Hi.
Sorry for my poor English.

I'm a big fan of Ren'py, so I've decided to introduce this to my friends and communities who are not English speakers.
So these days, I'm translating tutorial game (which explain many things through character Eileen).

There was no problem until yesterday.
I've translated many files, such as tutorial_atl.rpy, tutorial_quickstart.rpy and so on.

But today, an error has been occurred while modifying demo_imageops.rpy.
Unfortunately, I don't know why. (Full error message is below)
Same error lasted even I restore the original file(demo_imageops.rpy).

So, I've replaced the whole directory of tutorial game.
Of course, error has been removed and now I can play tutorial game.
But the problem was not solved.
I still want to translate demo_imageops.rpy file, but the same problem repeat.

I have no idea of this one.
I really need your help.
Thanks.


(I haven't modified examples.rpy , ast.py and python.py)
----------------------------------------------------------------Error--------------------------------------------------

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/examples.rpy", line 117, in script
init python hide:
File "game/examples.rpy", line 157, in <module>
raise Exception("Example %r is not open.", example)
Exception: (u'Example %r is not open.', u'loco_scale')

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

Full traceback:
File "game/examples.rpy", line 117, in script
init python hide:
File "C:\Users\ini21\Desktop\renpy-6.99.12.4-sdk\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ini21\Desktop\renpy-6.99.12.4-sdk\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/examples.rpy", line 157, in <module>
raise Exception("Example %r is not open.", example)
Exception: (u'Example %r is not open.', u'loco_scale')

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Ren'Py Tutorial 6.99.12 "We get the job done."
Last edited by ini2156 on Mon Apr 09, 2018 4:02 am, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Error : while modifying demo_imageops.rpy in tutorial

#2 Post by Donmai »

How are you making your translation? As I could understand, are you working directly with the rpy files? You can use Ren'Py translation framework to make things easier.
https://www.renpy.org/doc/html/translat ... ranslation
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

ini2156
Newbie
Posts: 3
Joined: Sat Mar 25, 2017 10:54 am
Contact:

Re: Error : while modifying demo_imageops.rpy in tutorial

#3 Post by ini2156 »

Donmai wrote: Tue Aug 08, 2017 8:24 am How are you making your translation? As I could understand, are you working directly with the rpy files? You can use Ren'Py translation framework to make things easier.
https://www.renpy.org/doc/html/translat ... ranslation
Woah, I didn't know that. Thank you for your reply.

Post Reply

Who is online

Users browsing this forum: No registered users