Hi! I just managed to install necessary libraries and PyGObject (for
`import gi`) for Python 3.5 and the first screen of `generateds_gui`
appeared. I haven't tried much it yet but at least the window is full of
controls. ;-)

Gonna try to fix it for Python 2.

On Fri, Feb 22, 2019 at 01:45:25PM -0800, Dave Kuhlman 
<dkuhl...@davekuhlman.org> wrote:
> Oleg,
> 
> I have not worked on `generateds_gui` for a long time.  So, please
> forgive me if my memory about it is not too sharp.
> 
> I'm happy to accept pull request for fixes to it.
> 
> However, ...
> 
> I believe the problem is more than just Python 3.  I don't believe
> that it works with Python 2, either.
> 
> If I recall correctly, I ran into a problem when there was a change
> from one major version of `Gtk` to a newer one.  I used some feature
> in the older version that enabled me to look up GUI items in the
> interface definition.  As I remember it, that look-up ability was
> dropped from the new version, and it seemed that it would require
> some major reworking to replace it.
> 
> Add to that the fact that `generateds_gui` does not add
> essential capabilities that are not in the command line version
> (`generateDS.py`) and I guess I just did not have enough motivation.
> We can argue about what is and is not "essential", of course.
> 
> It'd be great if you want to pick up that work, but, if you do, be
> sure to determine whether you can solve that Gtk problem and how
> much effort it would take, before you get too deep into it.
> 
> One additional heads-up -- New options have been added to
> `generateDS.py` since I stopped work on `generateds_gui`.I'm pretty
> sure that I have not kept that up to date either in `generateDS.py`
> or `generateds_gui` itself.  So, there would be work to update that.
> 
> Let's consider the benefits of `generateds_gui`:
> 
> - A GUI interface to help with choosing files and options.
> 
> - The ability to run `generateDS.py` from within that GUI interface.
> 
> - The ability to save the configuration of the chosen files and
>   options so that they can be re-loaded by `generateds_gui` later.
>   (I believe I called that a "session".)
> 
> - And, `generateDS.py` itself could load and run a saved session
>   (using the `--session=` command line option).
> 
> And, by the way, if it's the ability to save a session that you'd
> like to have, I use a shell script (`bash` in my case) to
> effectively duplicate that capability.  Something like this, for
> example:
> 
>       #!/bin/bash -x
>       ./generateDS.py \
>               -f \             
>               -o $1sup.py -s $1sub.py \
>               --super $1sup \                                                 
>   
>               --member-specs=dict \
>               --export="write" \
>               $2
> 
> Hope this helps.  Sorry that I have not kept `generateds_gui`
> up-to-date.  But, then there are other issues that need attention,
> for example, like that in your other message, ...
> 
> -- 
> 
> Dave Kuhlman
> http://www.davekuhlman.org

Oleg.
-- 
    Oleg Broytman            https://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.


_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to