Hi.
I could solve this in the past using libxml2-2.6.30 and lxml-1.3.4 I am not pretty sure of the cause but I have got the feeling that my problem was several libxml2 library versions installed. I thought that 'libxml2.so ' pointed to the correct version and it was other. My advice is to uninstall every libxml2 versions and try only with libxml2-2.6.30 and lxml-1.3.4I.
Cheers.
Gregorio
De: users-bounces@openser.org [mailto:users-bounces@openser.org] En nombre de Schumann Sebastian Enviado el: viernes, 26 de octubre de 2007 12:40 Para: Adrian Georgescu; Kirti Dhingra CC: users@openser.org Asunto: RE: [OpenSER-Users] Re: Problem While Running OpenXCAP
Hi Kirti
I had the same AttributeError when I did not use the Twisted from SVN but from the download page as tarball.
Using the SVN trunk, adding web2 into the setup.py I could avoid that error.
Although, I still face my good old error etree.XMLSchemaParseError: Document not valid XML Schema. With all the libraries proposed by Adrian. Strange... Wonder what else it could be...?!
Regards
Sebastian
_____
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."