Re: Moving a Plone installation
dieter <[email protected]> Tue, 14 Apr 2015 07:59:35 +0200
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Wolfgang Jeltsch <[email protected]> writes: > ... > Since I assumed that the Plone installation is basically self-contained > (modulo a few external utilities like zlib), I thought that this > approach should work. However, when trying to run the Plone > installation, I got the error, “ImportError: No module named _md5”. What > is the cause of this, and how can I fix this problem? When a module name starts with "_" this is often an indication that it is implemented in "C", i.e. some kind of a Python extension. As you have copied your (hopefully) complete Python installation, the "_md5" should not have disappeared. However, it may have a dependency on a shared object which is no longer installed in your new operating system version. To verify, I would search for the "_md5" module file (e.g. via the "locate" utility, if available on your system). It might be "_md5.so" or "_md5module.so"). Then apply "ldd <module file>" to learn which shared objects it depends on. In modern Python versions, the MD5 algorithm is no longer implemented in its own module ("_md5") but instead the one provided by "OpenSSL" is used (interfaced via the "hashlib" module ("_hashlib.so"). "_md5" is only imported when the available "OpenSSL" installation lacks "MD5" support. Thus, your problem may also indicate some "OpenSSL" problem -- e.g. a version problem between your Python's "_hashlib" and the OS OpenSSL shared object). In this case, I would modernize the Python installation used by your Plone. In the list archive (searchable e.g. via "gmane") you will find advice how to do that. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users