Re: Re: Beta: Call for testing

From: Date: Sun, 17 Jun 2007 20:52:14 +0000
Subject: Re: Re: Beta: Call for testing
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3893@lists.php.net to get a copy of this message
On 16 Jun 2007 at 16:50, Elizabeth Smith wrote: > André Jansen wrote: > > Actually there were *2* gtk runtimes in my path: I also have the Gimp > > installed, which uses gtk 2.4... > > Just to make sure, I temporarily removed both from my %PATH%. > > > You did restart after this change, right? 'course I did... I've been using Windoze for long enough to know that just about anything you do to system settings requires a reboot... > I found the error (bangs head on wall) - add an additional line feed to > the end of the file pixbuf.loaders file and it works again (no I'm not > kidding - stupid query-pixbuf-loaders.exe ) One down. Works perfectly now. > > Tried the following: > > > > exec("start D:\\phpgtk2b\\gconfd-2.exe"); > > $win->add($foo = new GtkHTML()); > > > > ...and several variants including popen(). > > > exec doesn't work because php waits for the process to end before going > back to work - you need to fake a fork basically - this code works > > $pipe = popen('start C:\php-gtk2\gconfd-2.exe', 'r'); // we use start so > it can carry on after we close this > pclose($pipe); // noticed I close this so we can get back to work > $foo = new GtkHTML(); > var_dump($foo); Still no luck (pulling hair out in despair). Used the exact code specified above, and same install path, I'm still getting the same error message: GConf Error: Failed to launch configuration server: Failed to execute helper program (No such file or directory) Might it be that I'm missing some file that gconfd-2 needs and for some reason is not included in the beta distribution? BTW, I noticed another few little bugs. Having cleared the xpm problem, GtkIconFileSelection now works, but it cannot handle extended chars in paths - and my 'home' path just happens to have an eacute in it ;-> The error message is the classic: Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() Which usually means you've forgotten to set the php-gtk.codepage in the ini file, but this was not the problem, and extended chars in other widgets e.g. GtkTextView are handled OK. Also, it doesnt know what to do with a drive root folder e.g. 'C:\'. It takes off the trailing backslash and produces the following: WARNING **: Can not stat folder: C: However, type 'C:/' (notice trailing *slash*) in the 'Go to' field and it will work. But 'C:\WINNT' now becomes 'C:/\WINNT', etc. etc. And finally, it doesn't know about the scroll wheel. Grrr. I guess that, for the foreseeable future, I will have to continue annoying my Windoze users with the Gtk file selector widgets :-) > have fun ;) I sure am ;-) Cheers, -- André =========================================================== Black Holes were created when God divided by zero. Now playing: Patti Smith - Twelve - White Rabbit

« previous php.gtk.dev (#3893) next »