[SOLVED] Removing unreachable <Some Object>... on game exit

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
RangerDanger
Regular
Posts: 45
Joined: Wed Jun 27, 2012 11:36 pm
Contact:

[SOLVED] Removing unreachable <Some Object>... on game exit

#1 Post by RangerDanger » Wed Apr 10, 2013 11:26 am

While testing some portions of a game I am working on, one of our team members noticed a "odd" line in the console when config.debug is set:

Code: Select all

Removing unreachable: <renpy.python.RevertableObject object at [...]>
Where [...] is some memory address.

I was curious as to what exactly this means and if this is something that we should be worried about. We have not noticed any adverse effects that seem to be linked to this at all in our testing.
Last edited by RangerDanger on Sun Apr 14, 2013 8:44 am, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Removing unreachable <Some Object>... on game exit

#2 Post by PyTom » Thu Apr 11, 2013 4:49 pm

This isn't a problem - it's just some debug output from the save/load system. You can safely ignore it.

It's a print that happens if you do:

Code: Select all

init python:
    class MyObject(object):
         pass

python:
     a = MyObject()
     a.foo = 1
     a = None
That is, an object gets a change that puts it into the rollback log, but never actually becomes reachable from a savegame.

In general, config.debug is more for my use than yours - I might ask someone to turn it on if a weird error occurs, to prevent the error from being suppressed. config.developer turns on checking that I think would benefit developers.
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

RangerDanger
Regular
Posts: 45
Joined: Wed Jun 27, 2012 11:36 pm
Contact:

Re: Removing unreachable <Some Object>... on game exit

#3 Post by RangerDanger » Thu Apr 11, 2013 8:55 pm

PyTom wrote:This isn't a problem - it's just some debug output from the save/load system. You can safely ignore it.

It's a print that happens if you do:

Code: Select all

init python:
    class MyObject(object):
         pass

python:
     a = MyObject()
     a.foo = 1
     a = None
That is, an object gets a change that puts it into the rollback log, but never actually becomes reachable from a savegame.

In general, config.debug is more for my use than yours - I might ask someone to turn it on if a weird error occurs, to prevent the error from being suppressed. config.developer turns on checking that I think would benefit developers.
Thanks for clearing that up.

We were altering some Ren'Py behavior to fit our needs better, so I figured it might be beneficial to have on. Good to know it isn't something that requires attention :D

Post Reply

Who is online

Users browsing this forum: No registered users