logo       

(...EOFetchSpecification (instance) does not recognize initWithBaseValue: i: msg#00007

Subject: (...EOFetchSpecification (instance) does not recognize initWithBaseValue: info:<nil>)
Hello Experts,

aim: import of contacts and enterprises into OGo using xmlrpc and python
approach: test using software found on OGo.org.
server-side: rpms from 07/08/2003 installed 
        on Mandrake 9.1 (see list below), according to RH-description (on 
OGo.org)
        launch with 'server launch command' below
client-side: createCSV.py with xmlrpmlib.py from Ogo.org
        adaptapted with current 
        url="http://localhost:20001/RPC2";, login, and password.

        relevant python script extract:
                server = xmlrpclib.Server(url,login=login,password=password)
                idList = server.person.fetchIds("number like '*'")

Error description following below.
Questions, advise and/or suggestions wellcome!

        Martin


---------------------------------- server launch command  -------------------

OGO_DIR=/opt/opengroupware.org
HOSTS="127.0.0.1,$HOSTNAME,localhost"
XMC_LOG=/var/log/ogo-xmc.log
XMC_BIN="$OGO_DIR/Tools/ix86/linux-gnu/gnu-fd-nil/xmlrpcd"
XMC_ARGS="-WOPort 20001 -WOHttpAllowHost $HOSTS"
env -i su - opengroupware -c "$XMC_BIN $XMC_ARGS" >> $XMC_LOG 2>&1 &

---------------------------------- client call & error message --------------

        [shell]$ ./createCSV.py
        Traceback (most recent call last):
          File "./createCSV.py", line 85, in ?
            fetchPersons()
          File "./createCSV.py", line 70, in fetchPersons
            idList = server.person.fetchIds("number like '*'")
          File "xmlrpclib.py", line 829, in __call__
            return self.__send(self.__name, args)
          File "xmlrpclib.py", line 995, in __request
            verbose=self.__verbose
          File "xmlrpclib.py", line 866, in request
            return self.parse_response(h.getfile())
          File "xmlrpclib.py", line 915, in parse_response
            return u.close()
          File "xmlrpclib.py", line 579, in close
            raise apply(Fault, (), self._stack[0])
        xmlrpclib.Fault: <Fault 0: 'ObjcRuntimeException: EOFetchSpecification 
(instance) does not recognize initWithBaseValue:'>

---------------------------------- server log messages ($XMC_LOG) -----------

SASL_PATH=/ext/ogo/Library/Plugins/Plain.plugin/ix86/linux-gnu/gnu-fd-nil
PYTHONPATH=/ext/ogo/Tools
PILOTPORT=net:any:14238
LD_ASSUME_KERNEL=2.4.1
Aug 07 17:36:37 xmlrpcd [12204]: SNS disabled.
Aug 07 17:36:37 xmlrpcd [12204]: |xmlrpcd| WOHttpAdaptor listening on address 
<InetSocketAddress: *:20001>
Aug 07 17:36:53 xmlrpcd [12204]: Note: PostgreSQL72 adaptor using timezone 
'MET' as default
Aug 07 17:36:54 xmlrpcd [12204]: <>DirectAction>>D decoded XMLRPC call: 
<0x081B2A64[XmlRpcMethodCall]: method=person.fetchIds #paras=1>
Aug 07 17:36:54 xmlrpcd [12204]: <(2FAC2FAC013F327213)>D instantiated new 
datasource 'SkyPersonDataSource' ...
WODirectAction: turn exception into fault (Exception name:<nil> 
class:ObjcRuntimeException reason:EOFetchSpecification (instance) does not 
recognize initWithBaseValue: info:<nil>)
localhost.localdomain - - [07/Aug/2003:17:36:54 GMT] "POST /RPC2 HTTP/1.0" 200 
331 2.756 - - 4M

---------------------------------- installed packages   ---------------------

opengroupware-1.0-ogo002
opengroupware-core-4.2-ogo008
opengroupware-core-devel-4.2-ogo008
opengroupware-core-tools-4.2-ogo008
opengroupware-database-1.0-ogo008
opengroupware-docapi-1.0-ogo012
opengroupware-docapi-devel-1.0-ogo012
opengroupware-env-1.0-ogo007
opengroupware-gstep-db-4.2-ogo010
opengroupware-gstep-db-devel-4.2-ogo010
opengroupware-gstep-db-postgresql72-4.2-ogo010
opengroupware-gstep-make-4.2-ogo007
opengroupware-gstep-make-devel-4.2-ogo007
opengroupware-gstep-objc-2.95.3-ogo006
opengroupware-gstep-objc-devel-2.95.3-ogo006
opengroupware-js-1.5-ogo006
opengroupware-js-devel-1.5-ogo006
opengroupware-libfoundation-1.0.12-ogo008
opengroupware-libfoundation-devel-1.0.12-ogo008
opengroupware-libical-0.23.0-ogo004
opengroupware-libical-devel-0.23.0-ogo004
opengroupware-libxml2-2.5.3-ogo005
opengroupware-libxml2-devel-2.5.3-ogo005
opengroupware-logic-1.0-ogo013
opengroupware-logic-devel-1.0-ogo013
opengroupware-pda-1.0-ogo008
opengroupware-pda-devel-1.0-ogo008
opengroupware-pilot-link-0.10.99-ogo005
opengroupware-pilot-link-devel-0.10.99-ogo005
opengroupware-publisher-1.0-ogo005
opengroupware-sope-4.2-ogo011
opengroupware-sope-devel-4.2-ogo011
opengroupware-theme-default-de-1.0-ogo011
opengroupware-theme-default-dk-1.0-ogo011
opengroupware-theme-default-en-1.0-ogo011
opengroupware-theme-default-es-1.0-ogo011
opengroupware-theme-default-it-1.0-ogo011
opengroupware-theme-ooo-de-1.0-ogo011
opengroupware-theme-ooo-en-1.0-ogo011
opengroupware-tools-aptnotify-1.0-ogo005
opengroupware-tools-installsieve-1.0-ogo005
opengroupware-webui-admin-1.0-ogo006
opengroupware-webui-app-1.0-ogo009
opengroupware-webui-common-1.0-ogo014
opengroupware-webui-contact-1.0-ogo013
opengroupware-webui-forms-1.0-ogo005
opengroupware-webui-forms-devel-1.0-ogo005
opengroupware-webui-job-1.0-ogo007
opengroupware-webui-libs-1.0-ogo007
opengroupware-webui-libs-devel-1.0-ogo007
opengroupware-webui-mailer-1.0-ogo008
opengroupware-webui-news-1.0-ogo006
opengroupware-webui-prefs-1.0-ogo007
opengroupware-webui-project-1.0-ogo015
opengroupware-webui-resource-de-1.0-ogo011
opengroupware-webui-resource-dk-1.0-ogo011
opengroupware-webui-resource-en-1.0-ogo011
opengroupware-webui-resource-es-1.0-ogo011
opengroupware-webui-resource-it-1.0-ogo011
opengroupware-webui-scheduler-1.0-ogo011
opengroupware-xml-4.2-ogo006
opengroupware-xml-devel-4.2-ogo006
opengroupware-xml-icalsaxdriver-4.2-ogo006
opengroupware-xml-libxmlsaxdriver-4.2-ogo006
opengroupware-xmlrpcd-1.0-ogo007
opengroupware-zidestore-1.0-ogo008

-- 
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe