Personal tools
You are here: Home Forums Plone Comments No module named CMFCorePermissions
Document Actions

No module named CMFCorePermissions

Up to Plone Comments

import error : no module named CMFCorePermissions

Posted by Atita Arora at April 09. 2008

Dear All,


 


 


We're trying to migrate our existing site from Plone 2.5.4 to Plone 3.0.6 for that I'm also updating our tailormade products to be easily imported to Plone 3.0.6.


I went through various articles which aid the smooth migration but somehow I'm stuck with this one :


I've replaced permissions instead of CMFCorePermissions
I've also tried this :

try: # New CMF 
      from Products.CMFCore import permissions as CMFCorePermissions
except ImportError: # Old CMF 
      from Products.CMFCore import CMFCorePermissions

to make it compatible with both 2.5 as well as 3.0, but things di'nt work.


The Product does'nt shows up in installable products also it does'nt show up as broken too in the ProductManagement.


Is there any solution which can help me fix this.


Thanks in advance


Atita


Re: import error : no module named CMFCorePermissions

Posted by Mykola Kharechko at April 22. 2008
Powered by Ploneboard