Hello Kirti,

You may want to open a ticket at http://openxcap.org for this. From your description though I see that you are not using the proper libraries. The software is developed and has been tested on Debian unstable using the following versions:

- libxml2: 2.6.28.dfsg-1
- python: 2.4.4-6
- python-lxml: 1.1.2-1
- twisted: 2.5.0
- python-application: 1.0.9
- python-gnutls: 1.1.1

If you get it working on a different distribution than Debian I would appreciate feedback about the system type and library versions installed to help other people with the same  problems. 

I will setup a wiki page with these experiences.

Regards,
Adrian

On Oct 24, 2007, at 10:05 AM, Kirti Dhingra wrote:

Hi,

    I am facing a problem while running OpenXCAP on RHEL 4. I referred to the OpenXCAP installation page and the following is my setup.
1. I installed python 2.4 from the rpm's listed on www.python.org
2. zope-interface-3.3.0 from http://www.zope.org/Products/ZopeInterface
3. Twisted-2.5.0, TwistedCore-2.5.0, TwistedWeb-0.7.0 and TwistedWeb2-0.2.0 from
http://twistedmatrix.com

4.lxml-1.3.5 from http://codespeak.net/lxml
5. python-application-1.0.9 from from OpenXCAP
6. openxcap-0.9.7

after installing all these, when I run /etc/init.d/openxcap or /usr/bin/openxcap I get the following traces in the syslog

localhost openxcap[5313]: [-] Log opened.
localhost openxcap[5313]: [-] Starting Open XCAP 0.9.7
localhost openxcap[5313]: [-] Traceback (most recent call last):
localhost openxcap[5313]: [-]   File "/usr/bin/openxcap", line 56, in ?
localhost openxcap[5313]: [-]     from xcap.server import XCAPServer
localhost openxcap[5313]: [-]   File "/usr/lib/python2.4/site-packages/xcap/server.py", line 16, in ?
localhost openxcap[5313]: [-]     from twisted.web2 import channel, resource, http, responsecode, server
localhost openxcap[5313]: [-]   File "/usr/lib/python2.4/site-packages/twisted/web2/channel/__init__.py", line 7, in ?
localhost openxcap[5313]: [-]     from twisted.web2.channel.cgi import startCGI
localhost openxcap[5313]: [-]   File "/usr/lib/python2.4/site-packages/twisted/web2/channel/cgi.py", line 8, in ?
localhost openxcap[5313]: [-]     from twisted.web2 import http, http_headers, server, responsecode
localhost openxcap[5313]: [-]   File "/usr/lib/python2.4/site-packages/twisted/web2/http.py", line 27, in ?
localhost openxcap[5313]: [-]     from twisted.web2 import iweb
localhost openxcap[5313]: [-]   File "/usr/lib/python2.4/site-packages/twisted/web2/iweb.py", line 58, in ?
localhost openxcap[5313]: [-]     class IOldNevowResource(components.Interface):
localhost openxcap[5313]: [-] AttributeError: 'module' object has no attribute 'Interface'

I suppose the AttributeError is a critical error cause openxcap seems to shut down after this and I cannot see it run if i do ps -ef|grep xcap.

Before OpenXCAP i was working with XCAP-Lite on another system with RHEL 4 itself and that worked fine.

Would be great if someone could help resolve this issue.

Thanks & Regards,
Kirti Dhingra*****Aricent-Unclassified *****

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of
the individual to whom it is addressed. It may contain privileged or confidential information and should not be
circulated or used for any purpose other than for what it is intended. If you have received this message in error,
please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for
loss or damage arising from the use of the information transmitted by this email including damage from virus."