Python: Zope's BTree OOSet, IISet, etc... Effective for this requirement?

I asked another question: https://stackoverflow.com/questions/1180240/best-way-to-sort-1m-records-in-python where I was trying to determine the best approach for sorting 1 million records. In my...

Python: Sort list using another list order, having different lengths, and without 'sorted'

I'll to explain this right: I'm in an environment where I can't use python built-in functions (like 'sorted', 'set'), can't declare methods, can't make conditions (if), and can't make loops,...

first web.py form doesn't work

Every time I try this the browser raises an error app.py import web urls = ( '/hello','/file_upload_form','Index' ) app = web.application(urls, globals()) render =...

Viewing Plone custom content type yields AttributeError: 'NoneType' object has no attribute 'getPhysicalPath'

With a lot of help (I'm a v. inexperienced programmer/Plone developer) I've created some custom content types on a new Plone website. I'm now experiencing an error. The content type is called...

Plone 4.1 Mac Snow Leopard 32-bit install problems

UPDATED: Took everyone's advice and decided plone.app.registry and 4.1.1 were not the issue, question is, what is? Where can I find the error logs in binary installer? symptom: can't add content...

How can I look for objects with missing value or None as key?

I would like to perform a search on the zope catalog of the objects with missing index key values. Is it possible? For example consider the subsequent code lines: from Products.CMFCore.utils...

cant download wkhtmltopdf for sendaspdf add on in Plone

When I try to install wkhtmltopdf through build out by using bin/buildout after modifying the buildout.cfg file as suggested by Dan, I get the following error: Updating wkhtmltopdf_executable. mv:...

what template must be overriden to get ploneform-widget-render views to change the layout of a widget

I am trying to override the default widget layout in Dexterity, where label, description, and entry area are on three separate lines: Name The person's name [________________] I'd like instead...

how to convert hardcoded page template reference to class attribute in plone.app.z3cform to allow override by z3c.jbot

The file plone/app/z3cform/templates.py contains the following references to the page template file plone/app/z3cform/templates/widget.pt # The widget rendering templates need to be Zope 3...

Zope 2: How to properly "browser:page" to make a page available everywhere?

Let's assume I have a sample application with following classes: ## ## impelementation/SampleApp.py ## class SampleApp: # inherits from required classes """ """ implements(ISampleApp) ...

Uncommitted transactions in Plone + SqlAlchemy + MySql

We have a hybrid web application integrating a MySql db with Plone (last upgrade was to Plone 4.0), using collective.tin, collective.lead and SqlAlchemy. Ok, I know that collective.tin never was...

Zope/Plone index rebuild fails

I have a Plone 4.1.3 instance with a corrupt Zope index. The instance has been upgraded several times. At some point - probably during the transition from Plone 3 to 4 - the index became corrupt....

Redirect Plone 2 root to a new domain

My old Plone 2 site is hosted on a free plone provider (say myoldsite.hostingxyz.com). I have a new site on a new domain (say www.mysitexyz.com) and want to redirect the old site to the new domain...

What is the best way to get a content object's position in the parent? Plone 4

I am traversing folders with content items within them. I use the portal_catalog to get brains searched on certain paths. The brains have access to metadata, and brain.getObject() will return...

Zcatalog clear and rebuild quits plone client without any error

I have a strange problem with one of my plone: when I clear and rebuild the zcatalog the zope client quits silently after some time. No errors. I did the process using the ZMI (zeo + zeoclient,...

Plone hangs on Python's waiter.acquire() and uses 100% CPU

We are experience some bottle-necking in our Plone instance when content managers perform actions such as Check out, Edit, Workflow transitions, and so on. So far we have not been able to isolate...

Getting Nginx to point to a specific index.html page outside of /var/www/

I'm trying to get nginx to point to my index.html page along with imgs, CSS, JS, etc. that lies in a GoPATH, which is outside of /var/www/. My overall objective is to allow my website to run on...

Database eats memory and freezes with multiple insertions/updations

I am developing a web application with an SQLAlchemy ORM linked with PostgreSQL database backend. I have this usecase where a client uploads a file of about 20 MB containing large data. What I am...

NginX 500 (Internal Server) Error

I've been having some problems with my NginX installation. I'm not getting any errors, however, I get the classic "500 - Internal Server Error" when I try to go to my localhost address. This is my...

Python, Kivy, Buildozer: error using python-firebase/requests

[python = 2.7] I recently started to use kivy(newest version) to develop an app for android. For this I use buildozer(newest version) to create the apk file. Now everything works fine on my...

Index LibreOffice / OpenOffice files for full text search in Plone5

I'm trying to have Plone 5 index LibreOffice / OpenOffice documents, ods, odt and odp, to be found via full text search. With OpenXml-1.2.1 Docx &Co is working, PDFs do work, too. Are there any...

Refresh non-index metadata in a Plone ZCatalog

Zope catalogs contain catalog objects with index attributes (for use as query arguments) and metadata attributes (available when accessing the search result). For index attributes, there is the...

Unable to install channels (django) using pipenv

When I attempt to install django channels using pipenv, it fails, purportedly because it cannot find "zope-interface" version 4.5.0 in https://pypi.python.org/simple. $ pipenv install...