[Bond-users] New to Bond, but I find many errorsya

Dru Hill dru at treshna.com
Sun Jan 13 21:51:52 EST 2013


Hi.

At some point the toolbarspace was tropped. I think it was dropped at GTK end so I've dropped
it from my code.
Try using <toolbarseparator/> instead and it should start working, sorry it could be an older
example for code in gtk that that was dropped.
On Fri, Jan 11, 2013 at 11:20:55PM -0800, Joe Kirchner wrote:
> Hi Andru and Bond community members,
> I am new to Bond and am attempting to install it. 
> I have followed all the instructions on installation.
> Here are a list of errors that I found:
> 1. The BondFrontEnd Test
> $ bondfrontend
> Reading configuration file: bondfrontend.conf.
> Shared configuration file not found: shell.conf
> ================================================================================
> ================================================================================
> Checking UI library: /usr/local/lib/libbond_uigtk.so
> Loading gtk+-2.0 user interface library.
> UI plugin /usr/local/lib/libbond_uigtk.so successfully loaded.
> <src/ui.c:63 ui_init();> plugin for gtk found
> <src/ui.c:83 ui_init();> plugin init0x7f0f6b3e693f
> <src/ui.c:87 ui_init();> plugin init OK
> User interface is now initialised.
> Connecting to database: dbname=testbond connect_timeout=5 user=bondadmin
> password=pops#31# host=localhost
> <bonddb/bonddbplugin.c:254 bonddb_plugin_init();>  checking ./.libs/ for
> libbonddb2_pgsql.so 
> <bonddb/bonddbplugin.c:254 bonddb_plugin_init();>  checking ./lib/ for
> libbonddb2_pgsql.so 
> <bonddb/bonddbplugin.c:254 bonddb_plugin_init();>  checking /usr/local/lib/ for
> libbonddb2_pgsql.so 
> Checking library: /usr/local/lib/libbonddb2_pgsql.so for pgsql
> Library /usr/local/lib/libbonddb2_pgsql.so successfully loaded.
> Loaded library: /usr/local/lib/libbonddb2_pgsql.so
> Remote write not activate
> Administrator Connection Disabled: no connection info
> To correct, specify the db_username_admin and db_password_admin configuration
> items.Connection to the database established successfully.
> Database is now connected.
> ================================================================================
> Schema update checks done.
> Bond repository has been created. Preparing to parse the xml document.
> <src/xmlinit.c:190 uixml_init();> Parsing the document
> job.xml:130: element toolbarspace: validity error : No declaration for element
> toolbarspace
>                                 <toolbarspace/>
>                                                ^
> job.xml:138: element toolbarspace: validity error : No declaration for element
> toolbarspace
>                                 <toolbarspace/>
>                                                ^
> job.xml:167: element toolbarspace: validity error : No declaration for element
> toolbarspace
>                                 <toolbarspace/>
>                                                ^
> job.xml:175: element toolbar: validity error : Element toolbar content does not
> follow the DTD, expecting (label | entry | dropdown | box | vbox | hbox |
> colourbutton | button | list | spin | toggle | check | separator | frame |
> scrollbar | image | progressbar | statusbar | radio | menubar | toolbar |
> handlebox | textview | notebook | fixarea | trigger | ifconfig | uri | matrix |
> calendar | toolbarseparator | toolbutton | toolbuttontoggle | condition |
> security | ifconfig | toolitem)*, got (toolbutton toolbutton toolbutton
> toolbutton toolbarspace toolbutton toolbarspace toolbutton toolbutton toolbutton
> toolbutton toolbarspace toolbutton )
>                         </toolbar>
>                                   ^
> customer.xml:36: element toolbarspace: validity error : No declaration for
> element toolbarspace
>                 <toolbarspace/>
>                                ^
> customer.xml:51: element toolbar: validity error : Element toolbar content does
> not follow the DTD, expecting (label | entry | dropdown | box | vbox | hbox |
> colourbutton | button | list | spin | toggle | check | separator | frame |
> scrollbar | image | progressbar | statusbar | radio | menubar | toolbar |
> handlebox | textview | notebook | fixarea | trigger | ifconfig | uri | matrix |
> calendar | toolbarseparator | toolbutton | toolbuttontoggle | condition |
> security | ifconfig | toolitem)*, got (toolbutton toolbutton toolbutton
> toolbutton toolbarspace toolbutton toolbutton )
>             </toolbar>
>                       ^
> colour.xml:36: element toolbarspace: validity error : No declaration for element
> toolbarspace
>                 <toolbarspace/>
>                                ^
> colour.xml:51: element toolbar: validity error : Element toolbar content does
> not follow the DTD, expecting (label | entry | dropdown | box | vbox | hbox |
> colourbutton | button | list | spin | toggle | check | separator | frame |
> scrollbar | image | progressbar | statusbar | radio | menubar | toolbar |
> handlebox | textview | notebook | fixarea | trigger | ifconfig | uri | matrix |
> calendar | toolbarseparator | toolbutton | toolbuttontoggle | condition |
> security | ifconfig | toolitem)*, got (toolbutton toolbutton toolbutton
> toolbutton toolbarspace toolbutton toolbutton )
>             </toolbar>
>                       ^
> Error: src/xmlinit.c: 174: uixml_init_xml(): Failed to validate csc.xml
>                                                                                 
>                                                                                
>                   
> Error: src/bondmain.c: 222: bond_init(): Parsing XML failed.
> ####################################################################
> I ran bondfrontend from the bond/bond/src/ directory.
> I suspect that bondfrontend failed because bond/bond/csc/bondfrontend is a
> symlink to the non-existent file: ../bond/trunk/src/bondfrontend
> In fact, there is no directory called trunk.
> ####################################################################
> 2. Bonddbtest --> passed without errors.
> ####################################################################
> 3. Here is the error message for testxml
> $ ./testxml
> <uigtk/xmlinit.c:188 uixml_init();> Parsing the document
> <uigtk/uigeneral.c:163 uigtk_window_create();> Creating window with title Hello
> World
> Error: uigtk/uigeneral.c: 167: uigtk_window_create(): Cannot retrieve property
> "resizable" of node "window".  Developers, please ensure the default value is
> correctly set in the XML.                                                      
>                                                                                
>                                          
> Please install latest version of bond dtd file.        
> #######################################################################
> I could not find any other executable files corresponding to .conf files, so
> that I was unable to run any more tests.
> I suspect that there is some problem in my installation that caused these
> errors. 
> I am running debian squeeze and postgresql 8.4.
> Please let me know if there are better installation instructions than that
> posted on the website and included in the READMEs. These are quite confusing.
> Perhaps I should ask a basic question. Is Bond ready for production, or is it
> still in an alpha  or beta stage of development?
> Thanks,
> Joe

> _______________________________________________
> Bond-users mailing list
> Bond-users at lists.hcoop.net
> https://lists.hcoop.net/listinfo/bond-users


-- 
Dru Hill
Managing Director

Treshna Enterprises Ltd
EPIC Sanctuary
78-106 Manchester St
Christchurch 8011
New Zealand

Phone: 64 3 3663649 ext 203
http://www.treshna.com





More information about the Bond-users mailing list