#19 — SimpleCart doesn't load with Plone 3.

by Ignacio Valdes last modified Jan 03, 2009 05:09 AM
State Resolved
Version: 0.5
Area Process
Issue type Bug
Severity Medium
Submitted by Ignacio Valdes
Submitted on Oct 22, 2007
Responsible Aaron VanDerlip
Target release: 0.6
Traceback (most recent call last):
  File "/opt/Plone-3.0.2/lib/python/OFS/Application.py", line 708, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/opt/Plone-3.0.2/zinstance/Products/SimpleCartItem/__init__.py", line 5, in ?
    from config import SKINS_DIR, GLOBALS, PROJECTNAME
  File "/opt/Plone-3.0.2/zinstance/Products/SimpleCartItem/config.py", line 1, in ?
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
ImportError: No module named CMFCorePermissions
/opt/Plone-3.0.2/zinstance/Products/Squishdot/__init__.py:13: DeprecationWarning: The ImageFile module will be removed in Zope 2.11. Use App.ImageFile instead.
  from ImageFile import ImageFile
2007-10-22 11:14:51 ERROR Application Could not import Products.TinyTablePlus
Traceback (most recent call last):
  File "/opt/Plone-3.0.2/lib/python/OFS/Application.py", line 708, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/opt/Plone-3.0.2/zinstance/Products/TinyTablePlus/__init__.py", line 40, in ?
    import TinyTablePlus
  File "/opt/Plone-3.0.2/zinstance/Products/TinyTablePlus/TinyTablePlus.py", line 42, in ?
    from PersistentMapping import PersistentMapping
ImportError: No module named PersistentMapping
2007-10-22 11:15:20 ERROR Application Couldn't install SimpleCartItem
Traceback (most recent call last):
  File "/opt/Plone-3.0.2/lib/python/OFS/Application.py", line 757, in install_product
    global_dict, global_dict, silly)
  File "/opt/Plone-3.0.2/zinstance/Products/SimpleCartItem/__init__.py", line 5, in ?
    from config import SKINS_DIR, GLOBALS, PROJECTNAME
  File "/opt/Plone-3.0.2/zinstance/Products/SimpleCartItem/config.py", line 1, in ?
    from Products.CMFCore.CMFCorePermissions import AddPortalContent
ImportError: No module named CMFCorePermissions
Added by Aaron VanDerlip on Nov 12, 2007 09:02 PM
Target release: 0.6None
Responsible manager: aaronv(UNASSIGNED)
My bad for ignoring deprecation warnings. Changing the import to 'from Products.CMFCore.permissions' should fix, will be part of .6 release, code is correct in trunk now
Added by Aaron VanDerlip on Dec 08, 2007 11:54 PM
Issue state: unconfirmedresolved
Target release: None0.6
Responsible manager: (UNASSIGNED)aaronv

No responses can be added.