Discussion:
[Erp5-dev] MemcachedPlugin
Brice Leroy
2009-08-04 17:03:48 UTC
Permalink
Hello,
I'm using Mandriva 2009.1 and I'm trying to update erp5_core 5.4.1
using erp5_forge svn tool but I keep getting an import error:
ImportError: No module named MemcachedPlugin

memcached server is install and I have the portal_memcached correctly
setup to 127.0.0.1:11211 . I tried to google it but it looks like nobody
ever heard about MemcachedPlugin. There is nothing about it in the
upgrade howto. I discovered a property sheet name MemcachedPlugin but I
not really sure what to do with.

All the best.
--
Brice Leroy | IT Department | Fulham Co. Inc.

12705 S. Van Ness Ave.
Hawthorne, CA 90250

phone: (323) 779 2980 x1208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20090804/da7b7d39/attachment.htm>
Brice Leroy
2009-08-04 20:56:45 UTC
Permalink
Hello,
I found a solution by myself by checking out the source code in my
instance_home after deleting the original erp5site:

cd /var/lib/erp5/Products/
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Type
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5OOo
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Form
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5SyncML
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Catalog
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/Formulator
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/CMFActivity
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/CMFCategory
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZSQLCatalog
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Security
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZMySQLDDA
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZMySQLDA
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/TimerService
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Subversion
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/MailTemplates
svn co https://svn.erp5.org/repos/public/erp5/trunk/products/PortalTransforms
/etc/init.d/erp5 restart

And then, after emptying the database of my previous erp5site, I reinstalled a new erp5site.

( I found the list of co at http://www.erp5.org/DownloadSourceCode )

All the best,

BTW, the first time I installed memcached it was for python2.6 and
erp5/zope is using 2.4, so I had to install it manually. I just copy the
file from one site-packages to another and run the test by typing:
python2.4 /usr/lib/python2.4/site-packages/memcache.py
(It's just that it took me 1 hour to realize that installing
python-memcached through urpmi only install it for python 2.6)
Post by Brice Leroy
Hello,
I'm using Mandriva 2009.1 and I'm trying to update erp5_core 5.4.1
ImportError: No module named MemcachedPlugin
memcached server is install and I have the portal_memcached correctly
setup to 127.0.0.1:11211 . I tried to google it but it looks like nobody
ever heard about MemcachedPlugin. There is nothing about it in the
upgrade howto. I discovered a property sheet name MemcachedPlugin but I
not really sure what to do with.
Kazuhiko Shiozaki
2009-08-04 21:47:23 UTC
Permalink
Hello Brice,
Post by Brice Leroy
BTW, the first time I installed memcached it was for python2.6 and
erp5/zope is using 2.4, so I had to install it manually. I just copy the
python2.4 /usr/lib/python2.4/site-packages/memcache.py
(It's just that it took me 1 hour to realize that installing
python-memcached through urpmi only install it for python 2.6)
FYI, you can install 'python2.4-memcached' package from our RPM repository.
http://www.erp5.org/DownloadRpm

Regards,
--
Kazuhiko Shiozaki, Nexedi SA Senior Consultant
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Loading...