Hi All
I am having a few issues with Renpy; let me give you some specs
I am running Renpy on Xubunut 8.10 on a Dell L1000R
For some reason, the Launcher has no SCiT editor(or any editor at all). I can work around that by going into my files and using nano.
If I create one character in init and a few lines in the start, the program runs fine.
When I create 2 characters, the program won't even launch.
Any thoughts?
Renpy 6.6.2 issue
Forum rules
Questions about Ren'Py should go in the Ren'Py Questions and Announcements forum.
Questions about Ren'Py should go in the Ren'Py Questions and Announcements forum.
Re: Renpy 6.6.2 issue
When you've added your second character and the game doesn't start, does it leave a file called 'traceback.txt' in the Ren'Py directory? If it does, can we see it? Regardless of that, could we see the code you've written to cause this problem?xoanan wrote: Any thoughts?
Normally, the traceback would be loaded automatically in the editor if you launch it from the launcher and it breaks, but if the editor isn't working that's probably why you're not seeing anything.
(Also, for future reference, this topic should really have been in the "Ren'Py" sub-forum.)
Server error: user 'Jake' not found
Re: Renpy 6.6.2 issue
Oops! Sorry!Jake wrote:When you've added your second character and the game doesn't start, does it leave a file called 'traceback.txt' in the Ren'Py directory? If it does, can we see it? Regardless of that, could we see the code you've written to cause this problem?xoanan wrote: Any thoughts?
Normally, the traceback would be loaded automatically in the editor if you launch it from the launcher and it breaks, but if the editor isn't working that's probably why you're not seeing anything.
(Also, for future reference, this topic should really have been in the "Ren'Py" sub-forum.)
At any rate, here's the traceback
Code: Select all
File "/usr/share/games/renpy/renpy/bootstrap.py", line 210, in bootstrap
renpy.main.main()
File "/usr/share/games/renpy/renpy/main.py", line 194, in main
game.script = renpy.script.load_script()
File "/usr/share/games/renpy/renpy/script.py", line 478, in load_script
rv = Script()
File "/usr/share/games/renpy/renpy/script.py", line 155, in __init__
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "/usr/share/games/renpy/renpy/script.py", line 372, in load_appropriate_file
if not self.load_file(dir, fn + source, initcode):
File "/usr/share/games/renpy/renpy/script.py", line 334, in load_file
self.update_bytecode()
File "/usr/share/games/renpy/renpy/script.py", line 427, in update_bytecode
code = renpy.python.py_compile_exec_bytecode(i.source, filename=i.location[0], lineno=i.location[1])
File "/usr/share/games/renpy/renpy/python.py", line 218, in py_compile_exec_bytecode
code = py_compile(source, 'exec', **kwargs)
File "/usr/share/games/renpy/renpy/python.py", line 202, in py_compile
raise Exception(msg)
Exception: Syntax error on line 9 of /home/xoanan/Test/game/script.rpy:
David = Character('David' color="#c8ffc8")
While compiling python block starting at line 9 of /home/xoanan/Test/game/script.rpy.
Here's the script
Code: Select all
xoanan@ubuntu:~/Test/game$ cat script.rpy
# You can place the script of your game in this file.
init:
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
# Declare characters used by this game.
$ bob = Character('bob', color="#c8ffc8")
$ David = Character('David' color="#c8ffc8")
# The game starts here.
label start:
bob "Hi David."
David "Hi Bob."
bob "Say, who is that man coming towards us now?"
David "I don't know"
- sake-bento
- Eileen-Class Veteran
- Posts: 1909
- Joined: Sat Jan 26, 2008 5:58 pm
- Completed: http://sakevisual.com/games.html
- Projects: Every Sunrise, Shinsei
- Organization: sakevisual
- Tumblr: sakevisual
- Deviantart: sakevisual
- itch: sakevisual
- Contact:
Re: Renpy 6.6.2 issue
I'm not sure if this is the problem, but if you put a comma in David's character, it might help:
Code: Select all
$ David = Character('David', color="#c8ffc8")
sakevisual visual novels (and stuff) | sakevisual dev blog
Who is online
Users browsing this forum: Majestic-12 [Bot]