unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Package renpy broken?
@ 2022-10-27  6:58 Christian Gelinek
  2022-10-28 15:29 ` Wojtek Kosior via
  2022-10-29 14:25 ` Luis Felipe
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Gelinek @ 2022-10-27  6:58 UTC (permalink / raw)
  To: help-guix

Dear Guix community,

I couldn't get the GUI `renpy-launcher` GUI to do anything useful.  It 
says "The selected projects directory is not writable" for any 
meaningful action I attempted.  Under "preferences" -> General, there is 
a Projects Directory setting which (for me) displays as "Not Set".  
Clicking that again shows the above error.

I'm new to Ren'Py (and GuixSD), so there may be a way of specifying this 
directory on the command line or via a config file somewhere, but I 
haven't found it.

Looking at the code at 
https://github.com/renpy/renpy/blob/master/launcher/game/choose_directory.rpy 
it seems that it tries to import the `_renpytfd` Python package, which - 
if successful - would be used to display a `selectFolderDialog`.  
Otherwise, it would try to use the parent directory and if that fails, 
the directory specified in config.renpy_base, which is set to the empty 
string. Interestingly the empty string should resolve to the current 
directory, but that doesn't seem to be the case in my `renpy-launcher` 
context.

Another thing I found is that `_renpytfd` is being removed from the 
renpy package in 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/game-development.scm#n1347 
which probably is the reason for why I can't set the path in the GUI.  
The comment says "drop _renpytfd, as there are missing sources" but 
https://sourceforge.net/projects/tinyfiledialogs/files/ seems to 
disagree with that.  Additionally, there is a Guix package 
rust-tinyfiledialogs which I expect to also (at least indirectly) depend 
on tinyfiledialogs, which is not a package.

Where to go from here?



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-29 21:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27  6:58 Package renpy broken? Christian Gelinek
2022-10-28 15:29 ` Wojtek Kosior via
2022-10-29  9:42   ` Christian Gelinek
2022-10-29 21:58     ` Wojtek Kosior via
2022-10-29 14:25 ` Luis Felipe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).