renpy.log doesn't seem to work on macOS
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.
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.
-
greay
- Newbie
- Posts: 8
- Joined: Sun Dec 29, 2019 1:51 am
- Organization: Belief Engine
- Location: Pacific NW, USA
- Contact:
renpy.log doesn't seem to work on macOS
I've defined config.log in my options.rpy file.
But I can't find a file of that name anywhere. I'm on macOS. I've read elsewhere that it's in "the renpy folder" but I don't see anything of the sort in the application's folder, and I can't find anything in ~/Library.
Is there another step I need to take in order for the file to be created?
But I can't find a file of that name anywhere. I'm on macOS. I've read elsewhere that it's in "the renpy folder" but I don't see anything of the sort in the application's folder, and I can't find anything in ~/Library.
Is there another step I need to take in order for the file to be created?
Last edited by greay on Tue Dec 31, 2019 5:36 pm, edited 1 time in total.
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: how do you use renpy.log?
OK. Never done that. Don't know what it is for, but got curious, so I tried it.greay wrote: ↑Sun Dec 29, 2019 2:31 amI've defined config.log in my options.rpy file.
But I can't find a file of that name anywhere. I'm on macOS. I've read elsewhere that it's in "the renpy folder" but I don't see anything of the sort in the application's folder, and I can't find anything in ~/Library.
Is there another step I need to take in order for the file to be created?
So in options.rpy I did
define config.log="pklog.txt"
Started the test game and ran some dialog (in the documentation I read that is one thing that goes into this log)
Then when I did not immediately find the log-file in the games folder I ran a search for the pklog.txt-file and I found it directly under the renpy-7.3.2-sdk-folder.
This is on a windows-machine. Hope this is helpful to you anyway.
-
greay
- Newbie
- Posts: 8
- Joined: Sun Dec 29, 2019 1:51 am
- Organization: Belief Engine
- Location: Pacific NW, USA
- Contact:
Re: how do you use renpy.log?
Unfortunately, no.Per K Grok wrote: ↑Sun Dec 29, 2019 3:33 amThen when I did not immediately find the log-file in the games folder I ran a search for the pklog.txt-file and I found it directly under the renpy-7.3.2-sdk-folder.
This is on a windows-machine. Hope this is helpful to you anyway.
The file in question is nowhere to be seen in the renpy-7.3.5-sdk (in my case) folder.
- Per K Grok
- Miko-Class Veteran
- Posts: 882
- Joined: Fri May 18, 2018 1:02 am
- Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
- itch: per-k-grok
- Location: Sverige
- Contact:
Re: how do you use renpy.log?
To bad. But at least you now have had it confirmed that that is the place it should pop up in.greay wrote: ↑Sun Dec 29, 2019 3:50 amUnfortunately, no.Per K Grok wrote: ↑Sun Dec 29, 2019 3:33 amThen when I did not immediately find the log-file in the games folder I ran a search for the pklog.txt-file and I found it directly under the renpy-7.3.2-sdk-folder.
This is on a windows-machine. Hope this is helpful to you anyway.
The file in question is nowhere to be seen in the renpy-7.3.5-sdk (in my case) folder.
-
greay
- Newbie
- Posts: 8
- Joined: Sun Dec 29, 2019 1:51 am
- Organization: Belief Engine
- Location: Pacific NW, USA
- Contact:
Re: renpy.log doesn't seem to work on macOS
interestingly, if I build a distribution and run the PC build through WINE the logfile appears. But it never shows up running the macOS build.
So it looks like there's a bug with renpy.log on macOS.
So it looks like there's a bug with renpy.log on macOS.
Re: renpy.log doesn't seem to work on macOS
Stupid question, but did you try specifying an absolute path? Something like "/Users/myAccount/Documents/renpy.log"? It's possible the "default location" is one that Ren'py doesn't have permission to write into.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: renpy.log doesn't seem to work on macOS
I just tried that...and it worked!
So I wonder how to do this with relative path?
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Re: renpy.log doesn't seem to work on macOS
This is just a guess, but if the default is to write to the SDK folder, that one is probably blocked from non-administrative writing if you put Ren’py in the Applications folder. If Ren’py is put in another area, relative paths may work. But point it at your Documents folder would probably suffice for most purposes. If you don’t want to use a full absolute path, a “user-relative” one might work. Like “~/Documents”
-
greay
- Newbie
- Posts: 8
- Joined: Sun Dec 29, 2019 1:51 am
- Organization: Belief Engine
- Location: Pacific NW, USA
- Contact:
Re: renpy.log doesn't seem to work on macOS
moving the SDK folder & application to my home directory doesn't seem to work, unfortunately. I wish there were ... some sort of log I could look at to see what the error precisely is 
Absolute paths seem to be the right approach, as a workaround, but that poses another problem – I do need this to work cross-platform.
Absolute paths seem to be the right approach, as a workaround, but that poses another problem – I do need this to work cross-platform.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: renpy.log doesn't seem to work on macOS
I’ll note, just in case, that log.txt isn’t where errors are logged. Log.txt is just the log of the dialogue the user saw. Error.txt is the log of errors, and that shows up in your game directory—also on a Mac.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Who is online
Users browsing this forum: Bing [Bot], span4ev
