#57 — ImportError: cannot import name updateActions

by (anonymous) — last modified Jan 08, 2009 01:40 PM
State Unconfirmed
Version: 1.0-alpha1
Area Process
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on Jun 01, 2008
Responsible
Target release:
Hallo!

I am just trying to install ATPhoto with:

Plone Version Overview

    * Plone 3.1.1
    * CMF 2.1.1
    * Zope (Zope 2.10.6-final, python 2.4.5, linux2)
    * Python 2.4.5 (#7, May 19 2008, 23:08:26) [GCC 4.2.1 (SUSE Linux)]
    * PIL 1.1.6

And I got each time starting zope the following error:

   2008-06-01T23:59:17 ERROR Application Couldn't install ATPhoto
Traceback (most recent call last):
  File "/opt/zope/lib/python/OFS/Application.py", line 758, in install_product
    global_dict, global_dict, silly)
  File "/home/zopeuser/instances/nazarenko/Products/ATPhoto/__init__.py", line 42, in ?
    import adapters
  File "/home/zopeuser/instances/nazarenko/Products/ATPhoto/adapters.py", line 5, in ?
    from ATPhoto import ATPhoto_schema
  File "/home/zopeuser/instances/nazarenko/Products/ATPhoto/ATPhoto.py", line 34, in ?
    from Products.ATContentTypes.content.base import updateActions
ImportError: cannot import name updateActions

There is no updateAction function in Products.ATContentTypes.content.base since some time, so I tried to add this function into the base.py, but the structure of the module has been heavily changed...

No responses can be added.