Attempt to add Plone site causes "ImportError: No module named importCachingPolicyManager" in _uno_import if "python-uno" is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope CMF buildout |
Confirmed
|
Low
|
Martijn Pieters |
Bug Description
This bug was originally reported in http://
Version 4.0b4, installed from the unified installer, with no products at all yet.
When adding the first Plone site, I get:
{{{
2010-06-25 10:33:00 ERROR Zope.SiteErrorLog
1277472780.
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 47, in call_object
Module Products.
Module Products.
Module Products.
runAllImportSte
- __traceback_info__: profile-
Module Products.
_runImportSteps
Module Products.
Module Products.
getImportStepMe
Module Products.
Module Products.
- __traceback_info__:
Products.
Module uno, line 262, in _uno_import
ImportError: No module named importCachingPo
}}}
The only place I know of for uno to get involved is Product.
{{{
# disable office_uno because it doesn't support multithread yet
ENABLE_UNO = False
...
try:
if ENABLE_UNO:
from office_uno import document
else:
raise
except:
from office_wvware import document
}}}
so even that shouldn't cause uno to be loaded. Removing python-uno avoids the problem with Plone, but breaks some functionality in OpenOffice.
Changed in zope-cmf: | |
status: | Invalid → Won't Fix |
importance: | Undecided → Low |
status: | Won't Fix → Confirmed |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
kleist wrote: dev.plone. org/plone/ ticket/ 10693 . 530.23022530601 4 http:// localhost: 8080/@@ plone-addsite CMFPlone. browser. admin, line 186, in __call__ CMFPlone. factory, line 81, in addPloneSite GenericSetup. tool, line 330, in psFromProfile Products. CMFPlone: plone GenericSetup. tool, line 1078, in FromContext GenericSetup. tool, line 252, in getSortedImport Steps GenericSetup. tool, line 261, in tadata GenericSetup. registry, line 257, in getStepMetadata GenericSetup. utils, line 105, in _resolveDottedName CMFCore. exportimport. cachingpolicymg r.importCaching PolicyManager licyManager PortalTransform s, but the word_to_html.py code says:
> Public bug reported:
>
> This bug was originally reported in
> http://
>
> Version 4.0b4, installed from the unified installer, with no products at
> all yet.
>
> When adding the first Plone site, I get:
> {{{
> 2010-06-25 10:33:00 ERROR Zope.SiteErrorLog
> 1277472780.
> Traceback (innermost last):
> Module ZPublisher.Publish, line 127, in publish
> Module ZPublisher.mapply, line 77, in mapply
> Module ZPublisher.Publish, line 47, in call_object
> Module Products.
> Module Products.
> Module Products.
> runAllImportSte
> - __traceback_info__: profile-
> Module Products.
> _runImportSteps
> Module Products.
> Module Products.
> getImportStepMe
> Module Products.
> Module Products.
> - __traceback_info__:
> Products.
> Module uno, line 262, in _uno_import
> ImportError: No module named importCachingPo
> }}}
>
> The only place I know of for uno to get involved is Product.
> {{{
> # disable office_uno because it doesn't support multithread yet
> ENABLE_UNO = False
> ...
> try:
> if ENABLE_UNO:
> from office_uno import document
> else:
> raise
> except:
> from office_wvware import document
> }}}
>
> so even that shouldn't cause uno to be loaded. Removing python-uno
> avoids the problem with Plone, but breaks some functionality in
> OpenOffice.
status invalid
This cannot possibly be a bug in CMF: there is no dependency anywhere
on UNO in the software. The traceback has to be coming from some broken
value in the original poster's Plone profile data.
Tres. ======= ======= ======= ======= ======= ======= ======= ======= ==== palladion. com enigmail. mozdev. org
- --
=======
Tres Seaver +1 540-429-0999 <email address hidden>
Palladion Software "Excellence by Design" http://
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw rbI8ACgkQ+ gerLs4ltQ6LUACg mtCuTMkNsteCQRq b/g1V03j4 jjua10Q9LJ5mDPx lJ
+IkAoM8gTbYhusr
=NmMB
-----END PGP SIGNATURE-----