GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
Activity Log is required for support requests. See Must Read: How To Get Questions Answered on These Forums for details

Forum Rules can be found here

GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby GeoffM » Wed Oct 08, 2008 11:12 pm

Hi,
this is my first post...so here goes.
I hit a problem compiling the gtk GUI from r1816 on Kubuntu 7.10/64 running on core 2 Quad.

Version: SVN-1816 downloaded 8 Oct 2008.
Platform: Linux (Kubuntu 7.10)
Settings: N/A
OS: Kubuntu 7.10

Once I got all prerequisites in place ghb compiled fine. Running the ghb executable immediately popped up a dialogue:

[Unable to create ghb.
Internal error. Could not parse UI description.]

I isolated the problem to the ghb.ui file, Line: 3199

    3199c3199
    < <property name="text" translatable="yes"></property>
    ---
    > <property name="text" translatable="yes"/>

Editing the ghb.ui file as above (green) fixed the problem for me. The problem would have been easier to fix if any GError is output to STDERR [gtk:src:main.c:93] on object creation.
GeoffM
 
Posts: 1
Joined: Wed Oct 08, 2008 10:20 pm

 

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby JohnAStebbins » Thu Oct 09, 2008 12:12 am

Well, seeing as how the svn version works for me and at least about 250 other Ubuntu 8.04 users (according to the download stats), I would say you must have a bug in gtkbuilder in whatever version of gtk you cobbled together for Ubuntu 7.10. Sounds like you need to upgrade.
JohnAStebbins
Developer
 
Posts: 899
Joined: Sat Feb 09, 2008 8:21 pm

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby AndreK » Tue Oct 06, 2009 4:56 pm

Handbrake worked fin in Ubuntu 8.04 - I upgraded to 8.10 - and reinstalled it - now I get "unable to greate ghb."
"internal error. Could not parse UI description"

Is it possible that the same bug is back ?
I could not find the ghb.ui file - where is it ?
AndreK
 
Posts: 1
Joined: Tue Oct 06, 2009 4:53 pm

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby JohnAStebbins » Wed Oct 07, 2009 12:51 am

Different problem. The problem you are referring to is well understood. gtkbuilder used to allow duplicate identifiers in the ui description file. The latest update to gtkbuilder no longer allows this. Current code has been fixed to have unique identifiers. Have a look at the snapshot
JohnAStebbins
Developer
 
Posts: 899
Joined: Sat Feb 09, 2008 8:21 pm

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby don_eros » Sun Nov 01, 2009 2:29 pm

I have the same problem. I installed Handbrake on a fresh Karmic (x86_64) using the PPA I found here (https://launchpad.net/~handbrake-ubuntu/+archive/ppa) and got the following error:

Internal error. Could not parse UI description.

I tried removing the PPA and installing with the .deb package for Hardy, but I got the same results.

I didn't try fixing the ghb.ui because I don't know how to do that. Any tips?
don_eros
 
Posts: 2
Joined: Sun Nov 01, 2009 2:19 pm

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby TedJ » Sun Nov 01, 2009 2:36 pm

Yes, use the snapshot as JohnAStebbins suggested, above.
User avatar
TedJ
Moderator
 
Posts: 2284
Joined: Thu Feb 21, 2008 12:25 am
Location: Melbourne, Australia

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby Rodeo » Sun Nov 01, 2009 3:01 pm

TedJ wrote:Yes, use the snapshot as JohnAStebbins suggested, above.


Actually, svn2845 won't work under Karmic without a workaround. The next snapshot should be fully Karmic-compatible.

viewtopic.php?f=13&t=12647

viewtopic.php?f=13&t=12830
Rodeo
Moderator
 
Posts: 888
Joined: Tue Mar 03, 2009 9:55 pm

Re: GTK GUI [SVN-1816] malformed ghb.ui file[SOLVED]

Postby don_eros » Sun Nov 01, 2009 3:24 pm

OK thanks, I'll wait for the Karmic compatible versions.

Cheers,
DE
don_eros
 
Posts: 2
Joined: Sun Nov 01, 2009 2:19 pm


Return to *nix

Who is online

Users browsing this forum: Google Adsense [Bot] and 1 guest