Re: Problem with gnome-shell-extension-prefs on GNOME 3.4.2



On Sun, 2012-09-02 at 02:51 -0500, Craig Rob l300lvl wrote:
> Thanks.
> 
> I do believe I did everything correctly, but I'm missing something. I
> downloaded gjs from
> http://download.opensuse.org/factory-snapshot/repo/source/suse/src/gjs-1.32.0-2.2.2.src.rpm extracted the source and applied the gobject patch and the other patch in that rpm, I tried buildrpm with spec file but I failed at modifying spec correctly I think(i just added the new patch to it in 2 places). I then did a ./configure, make, sudo make install and rebooted. Yast is still showing the previous install date, and I still get the crashing, so I think I'm not installing correctly.
> 

Craig:

I was able to get the RPMs built. I did a few things that I would not
recommend as usual practice. The patch that Jasper referred you to is at
the top of the git tree which is several changes past version 1.32.  I
changed the spec file and got it to go through with the patch by setting
the global fuzz to 125 after several attempts at smaller values.  I
checked the patched source and saw no apparent damage. You could patch
it by hand but running the whole RPM build process gives you three RPMs
that need to be installed with --force.

I installed the RPMs and the extensions prefs no longer crash because of
using GOjects in prefs.js.  If you want I can give you the steps I found
to build the RPMs.

This patch needs to be applied at the affected distros.

I haven't tested every extension I have tested the following:

Activities Text - OK
Activities Configurator - OK
Status Area Horizontal Spacing - OK
Workspace Indicator - OK
Window Buttons - OK

Window Options - Get red ERROR on website but it is installed and can be
configured locally

Maximus - Fails  Error: Error invoking bindtextdomain, at argument 1
(domain): Object is not a string, cannot convert to UTF-8 ...
maximus mathematical coffee gmail com/prefs.js:25....


Norman


> Time for bed.
> -Craig
> 
> > On Sun, Sep 2, 2012 at 2:31 AM, Craig Rob l300lvl <atz3 yahoo ca> wrote:
> > >> On Sun, Sep 2, 2012 at 2:10 AM, Craig Rob l300lvl <atz3 yahoo ca> wrote:
> > >> > I went ahead and opened a bug report with suse, so maybe someone
> > >> > upstream will notice it and realize what's going on? I don't plan to
> > >> > switch distros any time soon so I might attempt manually building
> > >> > gnome-shell.
> > >>
> > >> Simply applying that patch onto the gjs package should fix it. It's our bug.
> > >>
> > >
> > > What patch is that, maybe I missed something. That sounds fairly simple,
> > > and I could probably build gjs a lot easier than gnome-shell.
> > 
> > http://git.gnome.org/browse/gjs/commit/?id=123b631e40b8e60475e41d32263a3e99207dcfde
> > 
> > >> > https://bugzilla.novell.com/show_bug.cgi?id=778436
> > >> >
> > >> > Thanks for informing me about that bug, Amy. If you ever do write
> > >> > anything up I'll be happy to test, even if you it's something small it
> > >> > will be nice to get it fixed :D
> > >> >> On 2 September 2012 05:16, Jasper St. Pierre <jstpierre mecheye net> wrote:
> > >> >> > On Sat, Sep 1, 2012 at 11:33 AM, Norman L. Smith <nls1729 gmail com> wrote:
> > >> >> >> On Sat, 2012-09-01 at 08:23 -0500, Craig Rob l300lvl wrote:
> > >> >> >>> Just in case it helps others that *do* crash the prefs tool are:
> > >> >> >>>
> > >> >> >>> - status-area-horizontal-spacing also a fabulous extension by Amy
> > >> >> >>> - Window Buttons by Amy
> > >> >> >>> - Maximus by Amy, which is also throwing an error that holds the prefs
> > >> >> >>> tool open now, under the latest 3.4.2-3.7.1 which I just updated to here
> > >> >> >>> and it reoccurs any time I try to open the prefs tool for that
> > >> >> >>> extension, in the last 3.4.2 it would just crash and disappear like the
> > >> >> >>> others do: http://paste.opensuse.org/15445377
> > >> >> >>>
> > >> >> >>> - Dash to Dock
> > >> >> >>> - Activities Configurator
> > >> >> >>> - Multiple Monitor Panels
> > >> >> >>>
> > >> >> >>> Besides the one which still crashes it, the others all make the box
> > >> >> >>> segfault and vanish with no stack trace, immediately.
> > >> >> >>>
> > >> >> >>
> > >> >> >> Craig:
> > >> >> >>
> > >> >> >> I have tried more extensions and find that it "appears" extensions with
> > >> >> >> prefs.js which create a new GObject.Class crash and others that just use
> > >> >> >> widgits or prototypes in prefs.js don't.  I am testing on 12.2 rc2 with
> > >> >> >> gnome-shell-3.4.2-3.7.1.x86_64.
> > >> >>
> > >> >> If that's a symptom of crashing prefs widgets (GObject.class vs
> > >> >> __proto__) then just about all of my extensions would do so - I use
> > >> >> the same basic code for them all.
> > >> >>
> > >> >> Craig - ignore the Maximus prefs widget for now, I uploaded a new
> > >> >> version on Fri and no doubt that freezing bug you're seeing is a
> > >> >> result of changes I introduced (possibly as well as the one we're
> > >> >> trying to track).
> > >> >>
> > >> >> I guess in the meantime I can try install OpenSUSE on a VM and rewrite
> > >> >> my prefs.js to not use GObject.class & test.
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > 
> > 
> > 
> 
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]