Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.0

Bug #7597 GladeXML class not found
Submitted: 2006-05-10 15:23 UTC
From: yunosh Assigned: cweiske
Status: Closed Package: PEAR_Frontend_Gtk2 (version 0.1.1)
PHP Version: 5_1 CVS-2006-05-10 OS: Linux
Roadmaps: (Not assigned)    

 [2006-05-10 15:23 UTC] yunosh (Jan Schneider)
Description: ------------ pear -G gives me the following fatal error: Fatal error: Class 'GladeXML' not found in /usr/local/lib/php/PEAR/Frontend/Gtk2.php on line 180 Grepping the source, I see that Checks.php is supposed to test for the class, but that doesn't seem to work. More important though: where is that class supposed to come from?


 [2006-05-10 15:26 UTC] yunosh (Jan Schneider)
Ah, nevermind, I just noticed that php-gtk didn't compile with libglade support. But either php-gtk or pear_frontend_gtk2 should complain about this.
 [2006-05-10 17:12 UTC] cweiske (Christian Weiske)
Theoretically, it already should check: > if (!class_exists('gladexml')) { on line 28 of Checks.php Seems that doesn't work somehow
 [2006-05-10 17:18 UTC] yunosh (Jan Schneider)
Maybe this code is simply not called? I didn't trace the code yet.
 [2006-05-10 17:35 UTC] cweiske (Christian Weiske)
Checks.php was only included when run.phpw was executed, not when you used "pear -G"... Fixed in version 0.1.2
 [2007-11-29 19:08 UTC] thiagomp (Thiago De Paula)
Why this bug was closed without solution?
 [2007-11-29 19:27 UTC] cweiske (Christian Weiske)
> Fixed in version 0.1.2 I consider that as a solution.