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

Colin Close itchka at compuserve.com
Sun Jan 13 17:33:37 EST 2013


On Friday 11 January 2013 23:20:55 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



Hi Joe,
Where did you get your copy of Bond from? I can't find any reference in my git 
tree to the test application you are trying to run.
Bond is ready for production and in fact is used commercially in New Zealand. 
I use it here in England for a charity application.
Best
Colin Close
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.hcoop.net/pipermail/bond-users/attachments/20130113/3ffe5231/attachment-0001.html 


More information about the Bond-users mailing list