openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08315
[Bug 939478] Re: v6.1 server install tries to install broken PyXML
Actually this package ZSI, (incl. PyXML dependency) is *still* used by the official addon "import_sugarcrm".
So it cannot be simply dropped from the installation.
However there's an incompatibility, since:
- OpenERP supports Python 2.6
- official addon "import_sugarcrm" depends on "ZSI" (no longer maintained since 2006)
- ZSI depends on PyXML (no longer maintained since 2004)
- but PyXML is not supported on Python 2.6
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/939478
Title:
v6.1 server install tries to install broken PyXML
Status in OpenERP Server:
Confirmed
Bug description:
continuing the install process after commenting out python-ldap, the
next problem is PyXML
First, base XML is already installed:
Help on package xml:
NAME
xml - Core XML support for Python.
FILE
/usr/lib/python2.6/xml/__init__.py
MODULE DOCS
http://docs.python.org/library/xml
DESCRIPTION
This package contains four sub-packages:
dom -- The W3C Document Object Model. This supports DOM Level 1 +
Namespaces.
parsers -- Python wrappers for XML parsers (currently only supports Expat).
sax -- The Simple API for XML, developed by XML-Dev, led by David
Megginson and ported to Python by Lars Marius Garshol. This
supports the SAX 2 API.
etree -- The ElementTree XML library. This is a subset of the full
ElementTree XML release.
PACKAGE CONTENTS
dom (package)
etree (package)
parsers (package)
sax (package)
DATA
__all__ = ['dom', 'parsers', 'sax', 'etree']
__version__ = '41660'
VERSION
41660
but installing server/6.1 with sudo python setup.py install does :
Searching for PyXML>=0.8.3
Reading http://pypi.python.org/simple/PyXML/
Reading http://www.python.org/sigs/xml-sig/
Best match: PyXML 0.8.4
Downloading http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz?modtime=1101741917&big_mirror=0
Processing PyXML-0.8.4.tar.gz
Running PyXML-0.8.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ENtfyC/PyXML-0.8.4/egg-dist-tmp-5fX9ew
warning: no files found matching '*.html' under directory 'extensions/expat'
warning: no files found matching '*Makefile' under directory 'extensions/expat'
warning: no files found matching '*.dsp' under directory 'extensions/expat'
warning: no previously-included files matching '*/CVS/*' found anywhere in distribution
"extensions/expat/lib/xmlparse.c", line 1572: warning: enum type mismatch: op "="
"extensions/expat/lib/xmlparse.c", line 1578: warning: enum type mismatch: op "="
"extensions/expat/lib/xmlparse.c", line 1586: warning: enum type mismatch: op "="
"extensions/expat/lib/xmlparse.c", line 1719: warning: enum type mismatch: op "="
"extensions/expat/lib/xmlparse.c", line 1725: warning: enum type mismatch: op "="
"extensions/expat/lib/xmlparse.c", line 1733: warning: enum type mismatch: op "="
SyntaxError: ('invalid syntax', ('build/bdist.solaris-2.11-i86pc/egg/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py', 27, 10, " as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))
SyntaxError: ('invalid syntax',
('build/bdist.solaris-2.11-i86pc/egg/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py',
31, 10, " as = ParsedAxisSpecifier.ParsedAxisSpecifier
('descendant-or-self')\n"))
zip_safe flag not set; analyzing archive contents...
_xmlplus.FtCore: module references __file__
_xmlplus.xpath.XPathParserBase: module references __file__
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/PyXML-0.8.4-py2.6-solaris-2.11-i86pc.egg/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py', 27, 10, " as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-
packages/PyXML-0.8.4-py2.6-solaris-2.11-i86pc.egg/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py',
31, 10, " as = ParsedAxisSpecifier.ParsedAxisSpecifier
('descendant-or-self')\n"))
Adding PyXML 0.8.4 to easy-install.pth file
Installing xmlproc_val script to /usr/bin
Installing xmlproc_parse script to /usr/bin
Installed /usr/lib/python2.6/site-
packages/PyXML-0.8.4-py2.6-solaris-2.11-i86pc.egg
seems your PyXML is no longer supported on source forge, as I get the
following attached shots trying to figure this mess out...
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/939478/+subscriptions
References