Questions tagged [zope]

Zope is an open source application server written in the Python programming language. It features a transactional object database (ZODB) which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code. It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

It features a transactional object database () which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code.

It features a strong through-the-web development model, allowing you to update your web site from anywhere made possible by a tightly integrated security model.

Zope has been around for a long time; it saw it's first release in 1998. It was long regarded as the "killer app" of python, and many ideas and libraries that are now part of the Python core stem from Zope.

736 questions
0
votes
1 answer

Java applet post to read zope database

I have a plone/zope application: in this application I put a Java applet to do certain data evaluations. What I need to know is if I can get the applet query the zope database. As a try I created a script in the ZMI and through a POST request I call…
Andrea
  • 336
  • 2
  • 9
  • 32
0
votes
1 answer

Legacy Zope dynamic loading error with MySQL

I am in the process of moving an old installation of Zope 2 to a new Mac OS 10.8 Server. Unfortunately, our server requires Python 2.4 to run, so I have installed the MacPorts version. The server loads fine until it tries to load the MySQL-python…
fmt
  • 993
  • 9
  • 18
0
votes
1 answer

Plone, how to generate json from Z SQL method result ant put it to page template javascript?

I want to generate a json from Z SQL method result and to put into json in page template javascript part. This is the format I need. [ { name: 'New', data: [ {y: 0, user_id: 0, issue_status_id: 1},{y: 0, user_id: 5, issue_status_id:…
Aitvaras
  • 261
  • 4
  • 15
0
votes
1 answer

Relstorage zodbpack error

Whenever I try and run zobbpack I generate the error: psycopg2.IntegrityError: null value in column "zoid" violates not-null constraint Any ideas what is causing this and how to fix it? relstorage 1.5.1, postgres 8, plone 4.2.1.1 2012-12-03…
Aaron Williams
  • 655
  • 4
  • 11
0
votes
0 answers

getMultiAdapter fails with ComponentLookupError

I have a code that looks up an iterface with get multi adapter. One of the element's members that get passed to multi adapter is providing that interface but not the element itself. I have no control about what gets passed to multi adapter but I…
Alex Volkov
  • 2,812
  • 23
  • 27
0
votes
1 answer

Configuring plone.recipe.varnish in Plone 4

I am using plone.recipe.varnish 1.2.2 in my Plone application. Below is a section of my buildout: parts = ... instance paster varnish-build varnish plonesite ... [varnish-build] recipe = zc.recipe.cmmi url =…
Frankline
  • 40,277
  • 8
  • 44
  • 75
0
votes
1 answer

Zope: getting acquired permission of a role on object

I thought this must be easy but I really have troubles figuring it out: I'd like to check for an acquired permission of a role on an object. I don't want to check for the actual user's roles or permissions, I just want to check i.e. if on an object…
Georg Pfolz
  • 1,416
  • 2
  • 12
  • 12
0
votes
1 answer

Zope buildout for development environment

Is it possible to have Zope2 buildout unpack python files into their normal directories like how standard python modules do, and not under separate .egg directories? It makes looking for files easier when debugging.
Chui Tey
  • 5,436
  • 2
  • 35
  • 44
0
votes
3 answers

Grant anonymous access to a specific url/action in Plone

I am running Plone 3.2.3 and I have installed HumaineMailman so that the users on the website can subscribe and unsubscribe themselves from our various mailinglists. HumaineMailman works very simple. There is a special URL/action that gives you a…
Sander Marechal
  • 22,978
  • 13
  • 65
  • 96
0
votes
1 answer

Asynchronous tasks in Plone to query Python Package Index

I want to periodically (every hour?) query the Python Package Index API from Plone. Something equivalent to: $ for i in `yolk -L 24 | awk '{print $1}'` # get releases made in last 24 hours do # search for plone classifier results=`yolk -M $i -f…
aclark
  • 4,345
  • 1
  • 19
  • 31
0
votes
3 answers

Unregister a zcml resource directory in Plone

I would like to 'unregister' a resource directory registered with configure zcml and the directive I have uninstalled my custom add-on that originally registered the resource directory, but other packages are still able to call…
Aaron Williams
  • 655
  • 4
  • 11
0
votes
2 answers

Plone - parsing error in buildout.cfg - "PlonePlonebuildout configuration files[test]"

So I'm trying to work through the Plone 4 book and I copied a buildout file (from page 51) that contains the following lines: [instance] recipe = plone.recipe.zope2instance http-address = 8080 user = admin:admin verbose-security = on eggs…
tadasajon
  • 14,276
  • 29
  • 92
  • 144
0
votes
1 answer

Plone 4.1 - Running bin/buildout crashes while setting up a fresh installation - zope.configuration 3.7.4. not recognized

I'm using Plone 4.1 and trying to run bin/buildout in a fresh directory, having just managed to get python bootstrap.py --distribute to work. bin/buildout runs along fine for a couple of minutes, downloading various distributions, then crashes with…
tadasajon
  • 14,276
  • 29
  • 92
  • 144
0
votes
2 answers

How to install MySQLDb adaptor in zope?

I am trying to install MySQLDB adaptor in zope. I have a mac book pro with snow leopard. I have downloaded the "MySQL-python-1.2.0. from: http://old.zope.org/Members/adustman/Products/MySQLdb/ I extracted the file in…
user1919
  • 3,818
  • 17
  • 62
  • 97
0
votes
1 answer

Understanding Zope Component Architecture and Component Dependency

It's quite difficult to have a good title of my question. From what I understand, the Adapter is to add more services to the components without changing it. The adapter can extends services from multiple components. But what about the dependency…
nam
  • 3,542
  • 9
  • 46
  • 68