Re: ImportError: No module named formlib
dieter <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
robert rottermann <[email protected]> writes: > I am porting a website (which was created by some other compnay) frome > plone 4.0 to plone 4.3.3. > > Now I get the error: > > ImportError: No module named formlib > > Googling I found that I should have > five.formlib > ... > 2014-10-28 10:01:54 INFO USCentristSite Installing Product > Traceback (most recent call last): > ... > File > "/home/zope/harito/usc/src/gf.socialregions/gf/socialregions/browser/mailview.py", > line 10, in <module> > from Products.Five.formlib import formbase > ... > line 26.4-31.10 > ImportError: No module named formlib Unfortunately, it is not easy to find the relevant parts of tracebacks produced during ZCML configuration parsing. Above, I have stripped out the irrelevant parts for you. You can see in the remaining part: "gf.socialregions.browser.mailview" tries to import "formlib" from "Products.Five". That's where is has been previously. Now, "formlib" support was moved to the separate package "five.formlib". You must either find a newer version for "gf.socialregions" (which looks for "formlib" support at the right place) or you must modify its code yourself (such that it fits to your current Plone/Zope version). ------------------------------------------------------------------------------