Help me get to PloneConf!

Intro Hi, I'm Nejc, a Plone user since 2005. I'm trying to get to the Plone Conference in San Francisco this year to do a talk on Raptus Article and I need a few dollars worth of help. At first I did not plan to go due to being expensive to get from Slovenia to the States. But then my…

collective.table, report #3

Work report A week ago, myself and my mentor both participated in the Plone Sauna Sprint. It was an epic event, thanks to all sprinters for being that great throughout the week. During the event my mentor and I discussed in great length how to approach challenges that collective.table presents. We want the table to be pluggable and reusable. We…

collective.table alpha release

Introduction It's now past the mid-term evaluation deadline for my Google Summer of Code project and it's time to release my work out to the wider community to receive feedback and ideas on how to improve it. Status During the last days I was focusing on polishing the first release: writing documentation, adding more comments, increasing test coverage and such.…

collective.table GSoC report

Introduction It's now been over a month since I started my Google Summer of Code project. It's been a fun month, full of newly learned tricks, mostly courtesy of my mentor Martijn Pieters, Jarn AS. Our goal is to have an ability in Plone to store arbitrary pieces of tabular data, in the same way that PHP CMSes often have…

Collective SVN project -> GitHub

More and more Plone projects are being migrated over to GitHub for various reasons. Here's a quick guide on how to import your Collective SVN project into GitHub. GitHub can directly import SVN projects only by specifying a URL to the repository. However, for some reason this does not work for Collective SVN repositories. The import screen keeps processing but…

Assertion `t_size >= b_size’ failed

Recently, when migrating a Plone 4 site from one VPS server instance to another, we had the following problem: We were not able to start Zope with Supervisord because it crashed every time we tried to start it. Running Zope in foreground (bin/instance fg) produced the following error: Python: Objects/typeobject.c:1736: extra_ivars: Assertion `t_size >= b_size' failed. Aborted Luckily, after some…

Deploying Cyn.in 3.1.3 on CentOS 5.4

Last week we were upgrading Cyn.in to the latest version. After a few days of testing on a local server it was time to deploy it to the server. Since Cyn.in needs quite some RAM to operate normally, we chose Virpus VPS instance with 2 gigs of RAM, running CentOS 5.4. Running buildout on the server produced this error: ...…

Testing memoized methods

For a recent Plone project we needed to write unit tests for methods that were using plone.memoize for caching return values. With a standard Plone's PloneTestCase I got the following error: Error in test test_main_image (niteoweb.elcond.tests.test_stol.TestContent) Traceback (most recent call last): File "/Users/zupo/work/python/parts/opt/lib/python2.6/unittest.py", line 279, in run testMethod() File "/Users/zupo/work/niteoweb.elcond/src/niteoweb/elcond/tests/test_stol.py", line 75, in test_main_image image = self.portal.stol.main_image() File "/Users/zupo/work/niteoweb.elcond/src/niteoweb/elcond/content/stol.py", line…

Order of ‘parts’ when compiling lxml

CentOS's repos don't have a working version of libxslt (you need 1.1.20, repos have 1.1.17) so we need to statically compile it for collective.xdv to work. But, there is a catch! You need to be careful about how you order your parts in your buildout.cfg. For examle, the following buildout.cfg works perfectly fine, it downloads libxml and libxslt and compiles…