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
0 answers

Ajax response text, generated by Zope, doesn't reach the client in some cases

I have a Zope/Plone server which has a browser (let's call it thebrowser) which sends signed requests to a ReSTful web service, receives XML, transforms it to HTML and delivers it to the client via AJAX (thus, from the client's point of view,…
Tobias
  • 2,481
  • 3
  • 26
  • 38
0
votes
1 answer

Configuration error running Zope: No database configured

I received the following error when I try to start Zope with the command after trying to install the add-on CalendarX. I have just modified the buildout.cnf at /zinstance directory and ran the buildout located at /bin. After that I ran in debug mode…
duckhunt
  • 333
  • 1
  • 6
  • 23
0
votes
1 answer

How can I make Zenoss recognize skin changes?

I'm writing a ZenPack for Zenoss which includes a new DataSource. The DataSource has a ToOne relationship with another persistent object and I'm trying to construct the user interface to allow a user to specify the value of this relationship. I've…
Jean-Paul Calderone
  • 47,755
  • 6
  • 94
  • 122
0
votes
1 answer

How to fire an event after setting local roles

I'd like to attach the firing of an event with the "manage_setLocalRoles" method. Like this: def send_participation_request(self): review_state = self.portal_workflow.getInfoFor(self.context, "review_state", "") if review_state…
jtmolon
  • 415
  • 2
  • 8
0
votes
1 answer

How to set HTTP method with ZPublisher.Client.call?

I've tried calling Zope 2.10.9's ZPublisher.Client.call with the method argument to set the HTTP method (GET, POST, etc.), but it's not working as expected: It always sends a POST request. If I don't supply the method argument it always sends a GET…
l0b0
  • 55,365
  • 30
  • 138
  • 223
0
votes
0 answers

Sharing content+functionality between two webpages

I'm currently working on migrating an old webpage (example.se) into an existing plone/zope installation (example.net). The "new old webpage" which should be integrated should: share the same functionality as the existing one share parts of the…
Noxx
  • 354
  • 1
  • 19
0
votes
1 answer

How can I get object from ZODB by url?

How can I get object from ZODB database in Zope3 project by url 'http://ecample.com/folder1/object1'? obj1 = someMethod('http://ecample.com/folder1/object1') Is there any tools of methods for this? Like absoluteUrl() but opposite? Or I must parse…
Gleb
  • 731
  • 1
  • 8
  • 14
0
votes
1 answer

Zope/Plone If Statement Evaluation

I have two very distinct regions of my page that I would like to swap between based on a the setting of a dtml-var. The variable is loaded when the page is built and is called GENDER_DESC. I can display the contents with ,…
Nathan Tornquist
  • 6,468
  • 10
  • 47
  • 72
0
votes
2 answers

Need help installing MySQL for Python

Trying to install MySQL for Python. Two problems: 1) Instructions over the net says installation is python setup.py For me, it results with can't open file 'setup.py': [Errno 2] No such file or directory 2) README.txt says: The Z MySQL database…
Tomer Lichtash
  • 9,002
  • 16
  • 55
  • 71
0
votes
1 answer

Wiring template form actions with Python code

I'm working on a website that has a “Sign up” page which should be callable from anywhere in the site. I have the following dummy interface and implementation for the “user” product: Interface: ## ## located in bahmanm/sampleapp/interfaces.py ## …
BahmanM
  • 1,420
  • 10
  • 18
0
votes
1 answer

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) # ... index_html =…
BahmanM
  • 1,420
  • 10
  • 18
0
votes
1 answer

Zope 2: How to save an object in debug shell?

I can add/remove objects to Zope in debug shell easily, like app.manage_addProduct['OFS.Folder'].manage_addFolder('test'). However I can't figure out a way to persist the changes to the database. Am I missing something obvious? TIA, PS: I tried…
BahmanM
  • 1,420
  • 10
  • 18
0
votes
1 answer

Can I adapt strings and built-in types in Z

I have an Interface like: class IRepository(Interface): def __init__(path, **options): pass I have implementations of this interface for both Git, and Mercurial. Now I want to write repository-factory that takes a string (the path) and…
manu
  • 3,544
  • 5
  • 28
  • 50
0
votes
1 answer

Resources for beginners to develop with Zope 2

I'm planning to write an application using Zope2; it's not going to be a CMS-ish application but let's say it's a rudimentary "accounting and finance" application. From what I could understand so far (mostly by reading Zope 2 Book), this is not an…
BahmanM
  • 1,420
  • 10
  • 18
0
votes
1 answer

Zope component discrepancy between Interface(obj) and getAdapter(obj, Interface)

What could cause Interface(obj) to return obj, while getAdapter(obj, Interface) returns a properly adapted object?
Ben
  • 2,422
  • 2
  • 16
  • 23