View previous topic :: View next topic |
Author |
Message |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Thu Apr 29, 2004 4:14 pm Post subject: [SOLVED] gtk+-2.4 --> gphpedit and amule behave weird... |
|
|
Hi all!
Yesterday, gtk+-2.4 went stable...
So I updated from 2.2 to 2.4. Then at first, all my gtk-stuff looked horrible, but it was my fault, I overread the note at the end of the gtk-emerge, that you have du rebuild the theme-engines...
I did this, and everything was ok again.
But now, when I open gphpedit, die part, where you see the contents of the files you edit... it is gray. Gray like die panel of the window...
But I can rightclick in the "invisible" text-area do "select all" then "copy" and it actually really copies the content of the file... but it is not visible!
The same problem with aMule:
The List of up and downloads under "transfer" is empty... or better: invisible!
Scrollbars are there.. and I can rightclick on the invisible up/downloads and give them commmands.
The serverlist and the fileslist ist visible though...
I tried different things:
rebuilding of libgtkhtml
rebuilding of gtk-scintilla2
rebuilding of gphpedit
rebuilding of amule
but nothing helped...
Then: I startet gphpedit from a shell. To see, if there are errors, when I open a file.
This is what I get:
Code: |
wk@icewind wk $ gphpedit
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 6429 (gtk_widget_real_map): assertion `GTK_WIDGET_REALIZED (widget) == TRUE' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow-x11.c: line 1241 (gdk_window_show): assertion `GDK_IS_WINDOW (window)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 6429 (gtk_widget_real_map): assertion `GTK_WIDGET_REALIZED (widget) == TRUE' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow.c: line 2180 (gdk_window_invalidate_rect): assertion `window != NULL' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 2221 (gtk_widget_realize): assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow-x11.c: line 1241 (gdk_window_show): assertion `GDK_IS_WINDOW (window)' failed
(gphpedit:6521): Gtk-CRITICAL **: file gtkwidget.c: line 6429 (gtk_widget_real_map): assertion `GTK_WIDGET_REALIZED (widget) == TRUE' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow.c: line 2180 (gdk_window_invalidate_rect): assertion `window != NULL' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow-x11.c: line 2524 (gdk_window_set_cursor): assertion `window != NULL' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow-x11.c: line 2524 (gdk_window_set_cursor): assertion `window != NULL' failed
(gphpedit:6521): Gdk-CRITICAL **: file gdkwindow-x11.c: line 2524 (gdk_window_set_cursor): assertion `window != NULL' failed
|
The errors are certainly the problem...
Any ideas, how to fix it?
Is it possible, that these apps (gphpedit and amule and possibly more other) are not really compatible with gtk+-2.4?
If yes, is the only possibility to get them to work, to use gtk+-2.2...?
Any help is appreciated
WK
Last edited by WhiteKnight on Sat May 01, 2004 2:53 pm; edited 2 times in total |
|
Back to top |
|
 |
Gaenya Tux's lil' helper

Joined: 03 Apr 2003 Posts: 81
|
Posted: Thu Apr 29, 2004 5:36 pm Post subject: |
|
|
Amule its not compatible, you have to emerge wxwindows without gtk2 support, the others i dnt know. |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Sat May 01, 2004 1:16 pm Post subject: |
|
|
I too have the same problem. I did a quick search on the gphpedit website's bugs and found that a similar error existed with gtk+-2.3.2
http://www.gphpedit.org/bugs/bug_view.php?id=84
I am currently trying different versions of gtk+2 to see if they will work. I think we may have to drop back to 2.2.4-r1! I have tested with 2.4.0-r1 and 2.4.0 with no luck. _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Sat May 01, 2004 1:52 pm Post subject: |
|
|
I have just finished emerging gtk+-2.2.4-r1 and re-emerged gphpedit and it appears to be working fine now. I have added gtk+-2.4.0 to my package.mask file so that it does not get updated when I next emerge world.
One thing I have now noticed is that when I try to emerge gphpedit-0.9.6 it fails with the following error
Code: | gcc -mcpu=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer -o gphpedit calltip.o classbrowser.o classbrowser_parse.o find_replace.o grel2abs.o main.o main_window.o main_window_callbacks.o preferences.o preferences_dialog.o syntax_check.o tab.o tab_css.o tab_php.o tab_sql.o tab_util.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so -L/usr/lib /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so -lssl -lcrypto -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgthread-2.0.so -lgtkscintilla2 /usr/lib/libgtkhtml-2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/libgtkhtml-2.so: undefined reference to `gdk_threads_lock'
/usr/lib/libgtkhtml-2.so: undefined reference to `gdk_threads_unlock'
collect2: ld returned 1 exit status
distcc[1123] ERROR: compile on localhost failed
make[2]: *** [gphpedit] Error 1
make[2]: Leaving directory `/var/tmp/portage/gphpedit-0.9.6/work/gphpedit-0.9.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gphpedit-0.9.6/work/gphpedit-0.9.6'
make: *** [all] Error 2
!!! ERROR: app-editors/gphpedit-0.9.6 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure |
This error goes away when I emerge gtk+-2.4.0 but then the edit box problem re-appears!!
Most annoying!! _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Sat May 01, 2004 2:25 pm Post subject: waitin... |
|
|
hmm... I don't like the idea too stay with gtk+2.2.x
I think, it's only a matter of time, until the gphpedit developers fix this and make gphpedit compatible with gtk+2.4.x?
Until then, I'll use anjuta, it's a very good programming-editor.
Cheers,
WK |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Sat May 01, 2004 2:27 pm Post subject: |
|
|
I've just found out that this may be a bug in GtkScintilla2. I have just emerge gtkscintilla2-0.10.0 and gtk+-2.4.0-r1 and gphpedit is working fine! I have even gone as far as to install gphpedit-0.9.6 and that's working too
Update GtkScintilla2
Code: | $ ACCEPT_KEYWORDS="~x86" emerge gtkscintilla2 |
Re-installing/upgrading gphpedit
When you next run gphpedit all should be ok, if not try to re-emerge gphpedit..
gphpedit-0.4.3:
gphpedit-0.9.6:
Code: | $ ACCEPT_KEYWORDS="~x86" emerge gphpedit |
Adding package masks to protect your new installs
You might also want to mask gtkscintilla2 so that an emerge world does not downgrade it. To do this edit /etc/portage/package.mask (note that neither the folder or file will exist if you have never done this before) then add the following line to the file:
Code: | <x11-libs/gtkscintilla2-0.1.0 |
As I have installed gphpedit-0.9.6 I have also added
Code: | <app-editors/gphpedit-0.9.6 |
_________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1)
Last edited by milkman4 on Sat May 01, 2004 2:47 pm; edited 1 time in total |
|
Back to top |
|
 |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Sat May 01, 2004 2:39 pm Post subject: |
|
|
I was faster than you
gtkscintilla2-0.1.0 works!
Good tip Milkman, i tried to reemerge gtkscintilla before, but didn't try another version.
WK |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Sat May 01, 2004 2:48 pm Post subject: |
|
|
I've done a sorta how-to above. You should change the title of your first post to include "[SOLVED]" at the beginning. It took ages to go through all 102 bugs in the gphpedit website. It just had to be the last bug and not in the search! _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Mon May 03, 2004 1:28 pm Post subject: Re: waitin... |
|
|
WhiteKnight wrote: | I think, it's only a matter of time, until the gphpedit developers fix this and make gphpedit compatible with gtk+2.4.x? |
developers - that'd be a nice thing
OK, just to introduce myself, I am the developer of gPHPEdit. I'm a fairly new user to Gentoo (about a month now) so wasn't aware this discussion was going on.
Anyway, just wanted to introduce myself and let you all know that I am now a Gentoo user so will be keeping an eye out for future gPHPEdit issues on these forums.
Cheers,
Andy _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Mon May 03, 2004 1:36 pm Post subject: |
|
|
milkman4 wrote: | It took ages to go through all 102 bugs in the gphpedit website. It just had to be the last bug and not in the search! |
What did you search for? (just out of interest) I searched for gtk and found it.
Anyway, as has been correctly pointed out - there was some odd bug with GtkScintilla2, but it's recently been fixed.
Now if I can only get the latest version of gPHPEdit (my current local version is 0.9.19) working I'll then pester the maintainers to mark the current dev versions stable and put the latest version as unstable. It currently segfaults upon saving a file, weird though - it doesn't do it on RedHat under GNOME 2.4.
I've also submitted a bug report to enable me to do integrated help (which works under RedHat). If anyone knows one of the Gentoo developers (or if you are watching) can you lend a 30 second look at the 'bug':
https://bugs.gentoo.org/show_bug.cgi?id=48503 _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
zeroclip n00b

Joined: 02 Apr 2004 Posts: 38
|
Posted: Tue May 04, 2004 9:44 pm Post subject: |
|
|
Yep gtk+ 2.4 broke gkrellm for me.. i'm back to 2.2 |
|
Back to top |
|
 |
Jaboo n00b

Joined: 06 Apr 2004 Posts: 41
|
Posted: Thu Jun 03, 2004 4:55 pm Post subject: |
|
|
Hi, Gentoo gPHPedit users. I just installed gphpedit on my laptop with a fresh install of Gentoo 2004.1 using X.org, GNOME 2.6.0, GtkScintilla2 0.1.0, and gphpedit 0.9.6. I haven't had a chance to put it to heavy use yet, but I'm hoping it will meet my needs. I did notice one thing in my initial use of it. There is a thin line going down the center of the editor screen. It does not appear to be associated with anything. Does anyone else have this? Is it a "feature" that can be turned off? Thanks for any help. |
|
Back to top |
|
 |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Thu Jun 03, 2004 5:17 pm Post subject: |
|
|
Hmm... I don't have this thin line!
Could be because my notebook-lcd is not soo good.
Or because I use 0.9.10? |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Thu Jun 03, 2004 6:36 pm Post subject: |
|
|
I cannot remember how I got rid of the line. Nor can I explain why it is not currently on my system. But I do know of the line that you mean. Sorry that I cannot be of any more help. I'll keep looking around. _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Thu Jun 03, 2004 7:12 pm Post subject: |
|
|
Jaboo wrote: | Hi, Gentoo gPHPedit users. I just installed gphpedit on my laptop with a fresh install of Gentoo 2004.1 using X.org, GNOME 2.6.0, GtkScintilla2 0.1.0, and gphpedit 0.9.6. I haven't had a chance to put it to heavy use yet, but I'm hoping it will meet my needs. I did notice one thing in my initial use of it. There is a thin line going down the center of the editor screen. It does not appear to be associated with anything. |
The idea was that it was at 76 chars so you know visually to break the line without being forced. However, I haven't touched the code for it in a while so it may be broken.
Jaboo wrote: | Does anyone else have this? Is it a "feature" that can be turned off? Thanks for any help. |
Good question, I can't remember if there's a preference for it or now (and my laptop is off so I'm using the Windows box to type this). Have a look in ~/.gnome2/gPHPEdit and there should be a setting regarding it (it should be called something fairly obvious. If not, post back here and I'll make a setting for it
Sorry for the delay in replying - only just got a notification that there was a new reply... _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Thu Jun 03, 2004 7:13 pm Post subject: |
|
|
WhiteKnight wrote: | Hmm... I don't have this thin line!
Could be because my notebook-lcd is not soo good.
Or because I use 0.9.10? |
Should be the former, it hasn't been disabled in 0.9.10.
On a separate note, how are you finding 0.9.10? I've got a "bug" report in (48503) so I can get the integrated help working properly under Gentoo. _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Thu Jun 03, 2004 7:16 pm Post subject: |
|
|
0.9.10 is okay for me to use it as all day php editor
and i do very much php progging...
it lags some import features for effektive oo-programming, but i'm confidend, that this will come in later releases!
the integrated help... i don't use it... who needs this?  |
|
Back to top |
|
 |
Jaboo n00b

Joined: 06 Apr 2004 Posts: 41
|
Posted: Thu Jun 03, 2004 7:33 pm Post subject: |
|
|
Thank you to everyone. andyjeffries, I think I found the line in the config file. Under [defaults], there was an option for edgemode, and it was set to 1. Just under this, there is an item called edgecolumn, and it is set to 80. Setting the edgemode option to 0 made the line go away. Is this the proper usage of that property? I just don't want to introduce problems by screwing up the config file. Thanks. |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Thu Jun 03, 2004 8:13 pm Post subject: |
|
|
As soon as 0.9.10 makes portage (even under testing) i'll have it installed. Until then I'll stick with 0.9.6 as most if the features do work. _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Thu Jun 03, 2004 8:17 pm Post subject: |
|
|
WhiteKnight wrote: | 0.9.10 is okay for me to use it as all day php editor
and i do very much php progging...
it lags some import features for effektive oo-programming, but i'm confidend, that this will come in later releases! |
Can you give me a hint as to what you would like to see. If they are minor features I tend to implement in the order that I would find them useful, if they are major I make no promised
WhiteKnight wrote: | the integrated help... i don't use it... who needs this?  |
Me
Seriously, I program PHP all day long but there are things I can never remember (such as the codes for date()) and it saves a lot of hits on uk.php.net  _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Thu Jun 03, 2004 8:19 pm Post subject: |
|
|
Jaboo wrote: | andyjeffries, I think I found the line in the config file. Under [defaults], there was an option for edgemode, and it was set to 1. <snip> Is this the proper usage of that property? I just don't want to introduce problems by screwing up the config file. |
Yep, that's the option. Sorry for not remembering it (if I had seen this email any other week my laptop would be on, but I'm on holiday for a week so it's off). You won't break anything by changing that setting (in 0.9.10 it's in the preferences dialog I think...) _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
andyjeffries Apprentice


Joined: 14 Apr 2004 Posts: 196 Location: Stevenage, Herts, UK
|
Posted: Thu Jun 03, 2004 8:20 pm Post subject: |
|
|
milkman4 wrote: | As soon as 0.9.10 makes portage (even under testing) i'll have it installed. Until then I'll stick with 0.9.6 as most if the features do work. |
Don't blame you
Once someone has fixed the outstanding but 48503 I'll push for a new version ebuild... (I'm running 0.9.19 on my laptop - quite a few bugfixes/enhancements such as most recently used file list, plugins (not quite working)).
Cheers,
Andy _________________ Developer of gPHPEdit
A8N-SLI/AMD X2 4800+/2GB Dual Channel/GF 7900GT OC |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Thu Jun 03, 2004 8:56 pm Post subject: |
|
|
On holiday and still posting on the forums!! That's dedication. Have a good one mate. I appologise for my flood of bug reports on the website [http://bugs.gphpedit.org/], I should really start running the CVS version and checking them on there  _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
WhiteKnight n00b


Joined: 24 Oct 2003 Posts: 36 Location: Germany
|
Posted: Fri Jun 04, 2004 12:22 pm Post subject: |
|
|
andyjeffries wrote: |
Can you give me a hint as to what you would like to see. If they are minor features I tend to implement in the order that I would find them useful, if they are major I make no promised  |
Ok, at the weekend, I'll try to make a list of usefull "oo-programming-helping" features
Okay, I use de.php.net all the time...
Have tried once too configure the integrated help feature, but it didn't work.
You use 0.9.19?? Hey, why dont you offer this version for download at your website?
Cheers,
WK |
|
Back to top |
|
 |
milkman4 Tux's lil' helper


Joined: 26 Dec 2003 Posts: 98 Location: Loughborough, UK
|
Posted: Fri Jun 04, 2004 12:54 pm Post subject: |
|
|
In program dev you'll find that there are 5 levels of the code:
Archive - The old versions
Stable - The most recent version that has been running without crashing for quite a while and declared stable
Untested - A version that has been released but the author/publisher does not guarantee that it won't crash
CVS - Most recent version available, bleeding edge if you will, contains all of the most recent changes to the program
Programmers' Copy - Often not far off the CVS version, the programmer will work in this version and when he/she has made the required changes and tested to make sure they are not fatal will then upload them to CVS
There are other alternatives to CVS, though sourceforge appear to favour this. Not all projects have CVS (or other) system setup. Some projects simply forget to tell people how to get to the CVS version (or don't want people to find it!). Andy.. CVS?? _________________ When the program is being tested, it is too late to make design changes. The Tao of Programming (3.1) |
|
Back to top |
|
 |
|