Posting errors.

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
PyTom
Ren'Py Creator
Posts: 15447
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Posting errors.

#1 Post by PyTom » Mon May 26, 2008 9:37 pm

Folks, let me just remind you again that when you encounter an error in your Ren'Py game, you should post:

- The _full_ traceback.txt or error.txt that pops up in Ren'Py. Just about every single line in these files is important. By only posting a small fraction of the file, you're making a false economy... as someone will have to then ask you to post the rest.

- The relevant lines of your script. Ren'Py does an okay job of isolating where in your script the problem occurs, but you should include a few lines from either side to be safe. Be sure to indicate what the line numbers are.

Please be sure to comply with this. When you you omit some of this from your problem report, you make it much harder (or impossible) for people to help you. And it's not fair to ask people who are generous enough to want to help you with your problem to spend their time puzzling out what that problem actually is.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
denzil
Veteran
Posts: 293
Joined: Wed Apr 20, 2005 4:01 pm
Contact:

Re: Posting errors.

#2 Post by denzil » Tue May 27, 2008 1:24 am

What about adding to traceback something along the lines:
If you need help with this problem you can ask at Lemmasoft forums /link/
Please post there this whole file and corresponding lines from your script.
This could help with people forgetting/not knowing what to do when encountering problem.
Practice makes purrrfect.
Finished projects: Broken sky .:. colorless day .:. and few more...

User avatar
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

Re: Posting errors.

#3 Post by monele » Tue May 27, 2008 3:37 am

Just thought of something : how about having Ren'Py do that automatically on a crash? It would gather the error text, it would gather the code lines surrounding the crash, and then it could either show you the result ("ready to post" format) or even, if it's possible, directly open your browser with this as new post content if you click a specific button.

Adorya
Miko-Class Veteran
Posts: 541
Joined: Fri Aug 18, 2006 4:51 pm
Contact:

Re: Posting errors.

#4 Post by Adorya » Tue May 27, 2008 4:22 am

Some people don't want to use their current project code (ph3Ar the secret uber leak$ ) so use examples instead.

It would be even better to make an error database, integrate it in renpy, update from renpy server everytime there are new errors, check for new renpy version, fix your game and release it automatically in the intarweb huh? :mrgreen:

Joke aside it's a nice idea but it's better for the user to do it manually, in that way it's a good training in programming (properly explaining the error, how it was done and how to paste the faulty code).

User avatar
Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Posting errors.

#5 Post by Jake » Tue May 27, 2008 10:26 am

monele wrote:Just thought of something : how about having Ren'Py do that automatically on a crash? It would gather the error text, it would gather the code lines surrounding the crash, and then it could either show you the result ("ready to post" format) or even, if it's possible, directly open your browser with this as new post content if you click a specific button.
I suspect that this would encourage inexperienced users to treat such errors as Ren'Py problems rather than problems with their script, since this is the kind of behaviour OSes like Windows perform when an application breaks. ("There was a problem running dodgyapp.exe; please click this button to send the details to Microsoft.") So we'd see lots of new threads in the Ren'Py forum for really trivial errors from users who have given up on the "broken" Ren'Py engine and gone off to use something else.

Probably better would be to write something in the traceback itself, like:

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py script.
If you cannot solve this problem yourself, feel free to ask for help on the Ren'Py forum at:
http://lemmasoft.renai.us/forums/viewforum.php?f=8
Remember to post the whole of this file and the relevant lines of your script with your
question in order to help people to help you.
Server error: user 'Jake' not found

User avatar
PyTom
Ren'Py Creator
Posts: 15447
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Posting errors.

#6 Post by PyTom » Tue May 27, 2008 10:57 am

Jake wrote:Probably better would be to write something in the traceback itself, like:
That's a good idea, I'll probably add this to the next version of Ren'Py.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Google [Bot], MaydohMaydoh, noeinan, Syrale