pygobject 3.3.2

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

pygobject 3.3.2

Benny Malengier
All,

For those that missed it, pygobject 3.3.2 should contain the fix that caused Gramps to crash with GTK3, see http://www.piware.de/2012/06/pygobject-3-3-2-released/ https://bugzilla.gnome.org/show_bug.cgi?id=653151

So, somebody on a system that allows to install pygobject 3.3.2 easily?  If so, it would be great to test if it really fixes the gramps problem by running the test http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
That is a part of the Gramps flatnode model.

If ok, somebody time to continue http://www.gramps-project.org/bugs/view.php?id=5009 ?
The patch there (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug )will be out of date a lot. However, looking a that patch we can edit pygi-convert.sh so it automatically converts the typical conversions we have in Gramps, see
http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
and adapt it to the typical changes needed for gramps.
Some things to take care of however, see bug https://bugzilla.gnome.org/show_bug.cgi?id=652860

If nobody continues with this, I'll probably try to do this in August.

Benny


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: pygobject 3.3.2

robhealey1
Dear Benny:

I emailed the fedora packager for pygobject3, and he said that he would be happy to update to 3.3.2, but he would not be able to do so until this weekend!

I will check and test this out after the update is done...  I am running fc18/ Rawhide right now....

Sincerely yours,
Rob G. Healey


On Wed, Jun 6, 2012 at 8:31 AM, Benny Malengier <[hidden email]> wrote:
All,

For those that missed it, pygobject 3.3.2 should contain the fix that caused Gramps to crash with GTK3, see http://www.piware.de/2012/06/pygobject-3-3-2-released/ https://bugzilla.gnome.org/show_bug.cgi?id=653151

So, somebody on a system that allows to install pygobject 3.3.2 easily?  If so, it would be great to test if it really fixes the gramps problem by running the test http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
That is a part of the Gramps flatnode model.

If ok, somebody time to continue http://www.gramps-project.org/bugs/view.php?id=5009 ?
The patch there (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug )will be out of date a lot. However, looking a that patch we can edit pygi-convert.sh so it automatically converts the typical conversions we have in Gramps, see
http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
and adapt it to the typical changes needed for gramps.
Some things to take care of however, see bug https://bugzilla.gnome.org/show_bug.cgi?id=652860

If nobody continues with this, I'll probably try to do this in August.

Benny


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel




--
Sincerely yours,
Rob G. Healey



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: pygobject 3.3.2

Benny Malengier
I was updating some git repos, and noted I could test this myself.
For people on Ubuntu 12.04, you need:

1. add the gnome_shell repo to have the latest version of glib and friends, see how to add the ppa on:
 http://www.ubuntuupdates.org/ppa/gnome_shell?dist=precise
then upgrade. Note: this can make gnome shell unstable if the ppa is too bleeding edge!!

2. install version 3.3.2 of pygobject. No ppa for this, I use the git repo on gnome.org, so my git config:
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = http://git.gnome.org/browse/pygobject
Then checkout tag 3.3.2, so
git checkout 3.3.2
then compile it
./autogen.sh
make
sudo make install

Now this installs to /usr/local, so to run the test with that, on ubuntu:

PYTHONPATH=/usr/local/lib/python2.7/site-packages/ python testgtk3drake.py

which gives again a seg fault :-(

However, now I could fix that, with version of that file on http://www.gramps-project.org/bugs/view.php?id=5009

BIG problem with new pygobject is the ease with which seg faults are obtained. Really annoying. Conversino will require a core developer to fix the problems in Gramps.

Benny

2012/6/7 Rob Healey <[hidden email]>
Dear Benny:

I emailed the fedora packager for pygobject3, and he said that he would be happy to update to 3.3.2, but he would not be able to do so until this weekend!

I will check and test this out after the update is done...  I am running fc18/ Rawhide right now....

Sincerely yours,
Rob G. Healey


On Wed, Jun 6, 2012 at 8:31 AM, Benny Malengier <[hidden email]> wrote:
All,

For those that missed it, pygobject 3.3.2 should contain the fix that caused Gramps to crash with GTK3, see http://www.piware.de/2012/06/pygobject-3-3-2-released/ https://bugzilla.gnome.org/show_bug.cgi?id=653151

So, somebody on a system that allows to install pygobject 3.3.2 easily?  If so, it would be great to test if it really fixes the gramps problem by running the test http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
That is a part of the Gramps flatnode model.

If ok, somebody time to continue http://www.gramps-project.org/bugs/view.php?id=5009 ?
The patch there (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug )will be out of date a lot. However, looking a that patch we can edit pygi-convert.sh so it automatically converts the typical conversions we have in Gramps, see
http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
and adapt it to the typical changes needed for gramps.
Some things to take care of however, see bug https://bugzilla.gnome.org/show_bug.cgi?id=652860

If nobody continues with this, I'll probably try to do this in August.

Benny


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel




--
Sincerely yours,
Rob G. Healey




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: pygobject 3.3.2

robhealey1
Benny:

From what I understand from you, it is no longer a gnome/ pygobject problem any longer?

But a gramps programming problem now???

Or did I miss the whole train in the first place???

Sincerely yours,
Rob G. Healey


On Thu, Jun 7, 2012 at 7:58 AM, Benny Malengier <[hidden email]> wrote:
I was updating some git repos, and noted I could test this myself.
For people on Ubuntu 12.04, you need:

1. add the gnome_shell repo to have the latest version of glib and friends, see how to add the ppa on:
 http://www.ubuntuupdates.org/ppa/gnome_shell?dist=precise
then upgrade. Note: this can make gnome shell unstable if the ppa is too bleeding edge!!

2. install version 3.3.2 of pygobject. No ppa for this, I use the git repo on gnome.org, so my git config:
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = http://git.gnome.org/browse/pygobject
Then checkout tag 3.3.2, so
git checkout 3.3.2
then compile it
./autogen.sh
make
sudo make install

Now this installs to /usr/local, so to run the test with that, on ubuntu:

PYTHONPATH=/usr/local/lib/python2.7/site-packages/ python testgtk3drake.py

which gives again a seg fault :-(

However, now I could fix that, with version of that file on http://www.gramps-project.org/bugs/view.php?id=5009

BIG problem with new pygobject is the ease with which seg faults are obtained. Really annoying. Conversino will require a core developer to fix the problems in Gramps.

Benny


2012/6/7 Rob Healey <[hidden email]>
Dear Benny:

I emailed the fedora packager for pygobject3, and he said that he would be happy to update to 3.3.2, but he would not be able to do so until this weekend!

I will check and test this out after the update is done...  I am running fc18/ Rawhide right now....

Sincerely yours,
Rob G. Healey


On Wed, Jun 6, 2012 at 8:31 AM, Benny Malengier <[hidden email]> wrote:
All,

For those that missed it, pygobject 3.3.2 should contain the fix that caused Gramps to crash with GTK3, see http://www.piware.de/2012/06/pygobject-3-3-2-released/ https://bugzilla.gnome.org/show_bug.cgi?id=653151

So, somebody on a system that allows to install pygobject 3.3.2 easily?  If so, it would be great to test if it really fixes the gramps problem by running the test http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
That is a part of the Gramps flatnode model.

If ok, somebody time to continue http://www.gramps-project.org/bugs/view.php?id=5009 ?
The patch there (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug )will be out of date a lot. However, looking a that patch we can edit pygi-convert.sh so it automatically converts the typical conversions we have in Gramps, see
http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
and adapt it to the typical changes needed for gramps.
Some things to take care of however, see bug https://bugzilla.gnome.org/show_bug.cgi?id=652860

If nobody continues with this, I'll probably try to do this in August.

Benny


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel




--
Sincerely yours,
Rob G. Healey






--
Sincerely yours,
Rob G. Healey



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: pygobject 3.3.2

Benny Malengier


2012/6/7 Rob Healey <[hidden email]>
Benny:

From what I understand from you, it is no longer a gnome/ pygobject problem any longer?

But a gramps programming problem now???

Or did I miss the whole train in the first place???

Returning wrong function signature gives seg faults.
So you have to read the C code and the python overrides code to see what the expected return value of a function is (very bad documentation at the moment :-(.
Then you need to change the python function to that. If you make simple error, everything crashes. Eg, do_get_iter expects a return bool, GtkIter object, everything else leads to crash

So, ugly to debug, and working in those parts of the code will be for more experienced developers.

Benny


Sincerely yours,
Rob G. Healey


On Thu, Jun 7, 2012 at 7:58 AM, Benny Malengier <[hidden email]> wrote:
I was updating some git repos, and noted I could test this myself.
For people on Ubuntu 12.04, you need:

1. add the gnome_shell repo to have the latest version of glib and friends, see how to add the ppa on:
 http://www.ubuntuupdates.org/ppa/gnome_shell?dist=precise
then upgrade. Note: this can make gnome shell unstable if the ppa is too bleeding edge!!

2. install version 3.3.2 of pygobject. No ppa for this, I use the git repo on gnome.org, so my git config:
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = http://git.gnome.org/browse/pygobject
Then checkout tag 3.3.2, so
git checkout 3.3.2
then compile it
./autogen.sh
make
sudo make install

Now this installs to /usr/local, so to run the test with that, on ubuntu:

PYTHONPATH=/usr/local/lib/python2.7/site-packages/ python testgtk3drake.py

which gives again a seg fault :-(

However, now I could fix that, with version of that file on http://www.gramps-project.org/bugs/view.php?id=5009

BIG problem with new pygobject is the ease with which seg faults are obtained. Really annoying. Conversino will require a core developer to fix the problems in Gramps.

Benny


2012/6/7 Rob Healey <[hidden email]>
Dear Benny:

I emailed the fedora packager for pygobject3, and he said that he would be happy to update to 3.3.2, but he would not be able to do so until this weekend!

I will check and test this out after the update is done...  I am running fc18/ Rawhide right now....

Sincerely yours,
Rob G. Healey


On Wed, Jun 6, 2012 at 8:31 AM, Benny Malengier <[hidden email]> wrote:
All,

For those that missed it, pygobject 3.3.2 should contain the fix that caused Gramps to crash with GTK3, see http://www.piware.de/2012/06/pygobject-3-3-2-released/ https://bugzilla.gnome.org/show_bug.cgi?id=653151

So, somebody on a system that allows to install pygobject 3.3.2 easily?  If so, it would be great to test if it really fixes the gramps problem by running the test http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
That is a part of the Gramps flatnode model.

If ok, somebody time to continue http://www.gramps-project.org/bugs/view.php?id=5009 ?
The patch there (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug )will be out of date a lot. However, looking a that patch we can edit pygi-convert.sh so it automatically converts the typical conversions we have in Gramps, see
http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
and adapt it to the typical changes needed for gramps.
Some things to take care of however, see bug https://bugzilla.gnome.org/show_bug.cgi?id=652860

If nobody continues with this, I'll probably try to do this in August.

Benny


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel




--
Sincerely yours,
Rob G. Healey






--
Sincerely yours,
Rob G. Healey




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: pygobject 3.3.2

jerome
In reply to this post by robhealey1
Hi devs,

We know that some Gtk problems exist with current code...

If one have fun to try to fix some low-level gtk into Gramps, we have
grouped most of them on bug tracker:
http://www.gramps-project.org/bugs/search.php?tag_string=gtk


regards,
Jérôme



Rob Healey a écrit :

> Benny:
>
>  From what I understand from you, it is no longer a gnome/ pygobject
> problem any longer?
>
> But a gramps programming problem now???
>
> Or did I miss the whole train in the first place???
>
> Sincerely yours,
> Rob G. Healey
>
>
> On Thu, Jun 7, 2012 at 7:58 AM, Benny Malengier
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     I was updating some git repos, and noted I could test this myself.
>     For people on Ubuntu 12.04, you need:
>
>     1. add the gnome_shell repo to have the latest version of glib and
>     friends, see how to add the ppa on:
>      http://www.ubuntuupdates.org/ppa/gnome_shell?dist=precise
>     then upgrade. Note: this can make gnome shell unstable if the ppa is
>     too bleeding edge!!
>
>     2. install version 3.3.2 of pygobject. No ppa for this, I use the
>     git repo on gnome.org <http://gnome.org>, so my git config:
>     [remote "origin"]
>             fetch = +refs/heads/*:refs/remotes/origin/*
>             url = http://git.gnome.org/browse/pygobject
>     Then checkout tag 3.3.2, so
>     git checkout 3.3.2
>     then compile it
>     ./autogen.sh
>     make
>     sudo make install
>
>     Now this installs to /usr/local, so to run the test with that, on
>     ubuntu:
>
>     PYTHONPATH=/usr/local/lib/python2.7/site-packages/ python
>     testgtk3drake.py
>
>     which gives again a seg fault :-(
>
>     However, now I could fix that, with version of that file on
>     http://www.gramps-project.org/bugs/view.php?id=5009
>
>     BIG problem with new pygobject is the ease with which seg faults are
>     obtained. Really annoying. Conversino will require a core developer
>     to fix the problems in Gramps.
>
>     Benny
>
>
>     2012/6/7 Rob Healey <[hidden email] <mailto:[hidden email]>>
>
>         Dear Benny:
>
>         I emailed the fedora packager for pygobject3, and he said that
>         he would be happy to update to 3.3.2, but he would not be able
>         to do so until this weekend!
>
>         I will check and test this out after the update is done...  I am
>         running fc18/ Rawhide right now....
>
>         Sincerely yours,
>         Rob G. Healey
>
>
>         On Wed, Jun 6, 2012 at 8:31 AM, Benny Malengier
>         <[hidden email] <mailto:[hidden email]>>
>         wrote:
>
>             All,
>
>             For those that missed it, pygobject 3.3.2 should contain the
>             fix that caused Gramps to crash with GTK3, see
>             http://www.piware.de/2012/06/pygobject-3-3-2-released/
>             https://bugzilla.gnome.org/show_bug.cgi?id=653151
>
>             So, somebody on a system that allows to install pygobject
>             3.3.2 easily?  If so, it would be great to test if it really
>             fixes the gramps problem by running the test
>             http://bugzilla-attachments.gnome.org/attachment.cgi?id=190411
>             That is a part of the Gramps flatnode model.
>
>             If ok, somebody time to continue
>             http://www.gramps-project.org/bugs/view.php?id=5009 ?
>             The patch there
>             (http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug
>             <http://www.gramps-project.org/bugs/file_download.php?file_id=3466&type=bug>
>             )will be out of date a lot. However, looking a that patch we
>             can edit pygi-convert.sh so it automatically converts the
>             typical conversions we have in Gramps, see
>             http://git.gnome.org/browse/pygobject/tree/pygi-convert.sh
>             and adapt it to the typical changes needed for gramps.
>             Some things to take care of however, see bug
>             https://bugzilla.gnome.org/show_bug.cgi?id=652860
>
>             If nobody continues with this, I'll probably try to do this
>             in August.
>
>             Benny
>
>
>             ------------------------------------------------------------------------------
>             Live Security Virtual Conference
>             Exclusive live event will cover all the ways today's
>             security and
>             threat landscape has changed and how IT managers can
>             respond. Discussions
>             will include endpoint security, mobile security and the
>             latest in malware
>             threats.
>             http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>             _______________________________________________
>             Gramps-devel mailing list
>             [hidden email]
>             <mailto:[hidden email]>
>             https://lists.sourceforge.net/lists/listinfo/gramps-devel
>
>
>
>
>         --
>         Sincerely yours,
>         Rob G. Healey
>
>
>
>
>
>
> --
> Sincerely yours,
> Rob G. Healey
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gramps-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-devel


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel