oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #00776
Buildout install of PyXB and some misc issues
Hi Tim, hi all
I reinstalled oship according to the guide in the oship website and learnt
some things:
We can install PyXB as a buildout if we issue the command
(perhaps there are some linebreaks, but the command is a whole line)
easy_install
http://pypi.python.org/packages/source/P/PyXB/PyXB-base-1.1.0.tar.gz#md5=3b5c8d308c4c23c79e050dd0d323172f
The command must be issued after the creation and activation of the
virtualenv environment
ALSO, I could not complete the installation just by running "bin/buildout"
in oshipenv/oship/oship directory
because it tried but could not install "egenix-mx-base"
I had to install:
python-egenix-mxbeebase
python-egenix-mxdatetime
python-egenix-mxproxy
python-egenix-mxqueue
python-egenix-mxstack
python-egenix-mxtexttools
python-egenix-mxtools
python-egenix-mxuid
python-egenix-mxurl
from the ubuntu 9.10 repository, comment out the line "egenix-mx-base" in
the file "setup.py" and manually symlink
"/usr/lib/python2.6/dist-packages/mx" in the virtualenv directory so I could
complete the run of bin/buildout. I dont know if all the packages are
necessary, they are not big so I just installed then all.
I had ran the test and had no error, but when I run 'bin/oship-ctl fg', I
get the error (just the final lines)
File
"/home/edu/oshipenv/oship/oship/eggs/martian-0.11.1-py2.6.egg/martian/scan.py",
line 195, in resolve
__import__(used)
File "/home/edu/oshipenv/oship/oship/src/oship/app.py", line 40, in
<module>
from oship.icd10.icdimport import importICD
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/edu/oshipenv/oship/oship/parts/etc/site.zcml", line 4.2-4.29
ZopeXMLConfigurationError: File
"/home/edu/oshipenv/oship/oship/src/oship/configure.zcml", line 6.2-6.27
ImportError: No module named icdimport
Well, I will try to thinker more with this later...
Cheers
Eduardo
Follow ups