Forum OpenACS Q&A: Address Book error

Collapse
Posted by Ben Koot on
When I try to add an entry in the address book of OpenACS 4.6.3 beta, I get an error message (see below). If the address book is not ported or ready yet, does anybody know an alternative on OpenACS 4.x? I cannot use "organizations" either, because it has no UI...

Cheers!

Ben

Error:

Request Error
invalid command name "place::address::entry1row"
    while executing
"place::address::entry1row address address"
    ("uplevel" body line 57)
    invoked from within
"uplevel {
          ad_page_contract {

    Address Book Contact Add Page

    @author John Mileham (mailto:jmileham@arsdigita.com)
    @creation-date 11/20/200..."
    (procedure "code::tcl::/web/iww/packages/address-book/www/contact-add" line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    $handler
      } ad_script_abort val {
    # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
    rp_serve_abstract_file "$root/$path"
    set tcl_url2file([ad_conn url]) [ad_conn file]
    set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."

Collapse
2: Re: Address Book error (response to 1)
Posted by Jon Griffin on
As has been pointed out in many posts. Address book is deprecated and I don't know why it is back in the tarball.

You really, really don't want to use it. The data model is very slow and complicated.

Collapse
3: Re: Address Book error (response to 1)
Posted by Ben Koot on
Ok fair enough, but how can I use the organisations package to store address information? I don't realy care how it's called but I am surprised something so simple appears so to impossible to solve with OACS.

No offence, but I don't see the logic.

Thanks
Ben

Collapse
5: Re: Address Book error (response to 1)
Posted by Don Baccus on
Oops, I forgot to take it out :(  I'll do my best to remember for final.

For 5.0 I'm hoping we'll have time to triage packages, decide what should be supported and what shouldn't.  Volunteers will be welcome, of course.

Collapse
4: Re: Address Book error (response to 3)
Posted by Bart Teeuwisse on
Ben,

I do take offense. The logic is quite simple, really.

As with all Open Source software, OpenACS is being developed and maintained by a wide range of people, each with their own needs and skills.

Open Source software evolves because of the community. Members work on parts that they feel are lacking. If you feel that OpenACS is lacking in its address management, I would suggest to get involved and fill this void. It doesn't matter what your skill set is, there are better ways that scolding the community because you couldn't find a suitable solution for you needs.

Get involved! Be a good community member. Help scope out the requirements. Take inventory of existing packages. Raise funds to cover the development expenses. Write documentation, the possibilities are endless.

/Bart

Collapse
6: Re: Address Book error (response to 1)
Posted by Matthew Geddert on
i'm working on a address book application that should be available by June 15th... see this thread: If you are using postgresql my version will work - if you are using oracle you're going to need to port what i've been working on once i have released it.
Collapse
7: Re: Address Book error (response to 1)
Posted by Matthew Geddert on
of course if you offer to help me write it i'll like that as well :)
Collapse
8: Re: Address Book error (response to 1)
Posted by Vamshi Krishna Kaniganti on
hi ben koot
i have develped a address book of my own with the functionality what i want if it is useful for you i can send the apm to you as attatchement if you can provide your mail address,
My address book funtionality
you can add contacts, like name, street address, etc,
but it works only with Postgresql.

cheers vamshi
my mail address is : mailto:vkkaniganti@yahoo.com

Collapse
9: Re: Address Book error (response to 1)
Posted by Jade Rubick on
I'm also working on a UI for organizations. It should be ready today or later this week.