[Zope] Zope2: Handling multiple object creations at once from multiple clients and processes?

2016-01-08 Thread Sebastian Tänzer
Hello ZOPE users, I am dealing with the famous (Write) ConflictErrors in a module that is fetching remote files from a remote URL with the requests lib, storing them as objects with the binary data residing on the file system (no blob is stored in the ZODB). The upload/import routine works by

Re: [Zope] Problem with Zope

2016-01-05 Thread Sebastian Tänzer
Hello Jordan, ZOPE does not rely or use neither PHP nor MySQL (in most cases at least - MySQL can be integrated using a database adapter). Without any further details and trace logs it’s almost impossible to say what the reason for this is. Which ZOPE version is running? You can see the detail

Re: [Zope] __bobo_traverse__ or similiar with python tales expression?

2015-07-12 Thread Sebastian Tänzer
g? Wrong approach? Best, Sebastian > Anfang der weitergeleiteten Nachricht: > > Von: Sebastian Tänzer > Betreff: __bobo_traverse__ or similiar with python tales expression? > Datum: 11. Juli 2015 19:53:29 MESZ > An: zope@zope.org > > Hello fellow Zopees, > > the produc

[Zope] __bobo_traverse__ or similiar with python tales expression?

2015-07-11 Thread Sebastian Tänzer
Hello fellow Zopees, the product we’re using (ZMS) allows methods as attributes to custom object models. These methodes (PythonScript) are created inside a metamanager container as „Wiki.mymethod“, where Wiki is the meta type of the custom object. The pathhandler method of these custom objects

Re: [Zope] Zope in The Netherlands

2015-07-09 Thread Sebastian Tänzer
OT: Chris, no offence, but your „Job Market“ doesn’t really give a reputable impression. As a business I would not submit any data there. At last, your privacy policy really sounds somewhat „strange“ and should get approval by a lawyer maybe. Besides that, the information on you is really very v

Re: [Zope] Zope in The Netherlands

2015-07-08 Thread Sebastian Tänzer
We offer ZOPE2 hosting on our Proxmox cluster. Unfortunately in Germany only (never thought I’d say that one day… ;-) ) Kind regards Sebastian - tänzermedien GmbH - Agentur für Online-Medien Kekuléstr. 39 | 53115 Bonn, Germany E-Mail: s...@taenzer.me | Web: http://www.taenzer.me Tel.: 0228-304

Re: [Zope] issue with authentication

2015-06-27 Thread Sebastian Tänzer
Yamana, did you try to login with the recovery user/password? To do so you have to create an emerceny user using the zpasswd.py script (locatet either at site-packages/Zope2/Startup/misc/zpasswd.py or site-packages/Zope2/utilities/zpasswd.py I Zope was installed from egg. Example in command li

[Zope] PAS & scripted auth

2015-06-01 Thread Sebastian Tänzer
Hello Tres (maintainer of PAS) and Zope community, I’m trying to get PAS replace CookieCrumpler to do authentication to Zope2 from a python script/Product or external method. Is there a how-to or tutorial somewhere how to get started on this? What I want is to authenticate a user through a web

Re: [Zope] ZCatalog queries performance

2015-05-19 Thread Sebastian Tänzer
Thanks, this answered all of my questions :-) Best, Sebastian > Am 19.05.2015 um 12:50 schrieb Tres Seaver : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >> On 05/19/2015 04:54 AM, Sebastian Tänzer wrote: >> >> Let’s say I want to display an acc

Re: [Zope] ZCatalog queries performance

2015-05-19 Thread Sebastian Tänzer
; On 05/17/2015 11:09 AM, Sebastian Tänzer wrote: >> What are the alternatives? > > The most performant implementation would be to generate the URL for the > image using a fixed suffix (relative to the result object). E.g., :: > > > > > >

[Zope] ZCatalog queries performance

2015-05-17 Thread Sebastian Tänzer
Hello, I’m querying a ZCatalog with a lot of indexes and some meta data for event objects to get related events by tags. These need to be displayed with a title image (which itself is a sub object of the event object) and a pre-defined short text. My python query script gets the results, I then

Re: [Zope] ZEO manageUndo not working - DisconnectedError

2015-05-06 Thread Sebastian Tänzer
> Am 06.05.2015 um 07:42 schrieb Niels Dettenbach (Syndicat IT & Internet) > : > > Am 6. Mai 2015 01:24:50 MESZ, schrieb "Sebastian Tänzer" : >> 2015-05-06 01:16:46 WARNING ZEO.zrpc (19205) CW: error connecting to >> ('::1', ): ECONNREFUS

Re: [Zope] ZEO manageUndo not working - DisconnectedError

2015-05-06 Thread Sebastian Tänzer
nternet) > : > > Am 6. Mai 2015 01:24:50 MESZ, schrieb "Sebastian Tänzer" : >> 2015-05-06 01:16:46 WARNING ZEO.zrpc (19205) CW: error connecting to >> ('::1', ): ECONNREFUSED >> 2015-05-06 01:16:46 INFO ZEO.ClientStorage zeostorage Testing >> co

Re: [Zope] ZEO manageUndo not working - DisconnectedError

2015-05-06 Thread Sebastian Tänzer
nternet) > : > > Am 6. Mai 2015 01:24:50 MESZ, schrieb "Sebastian Tänzer" : >> 2015-05-06 01:16:46 WARNING ZEO.zrpc (19205) CW: error connecting to >> ('::1', ): ECONNREFUSED >> 2015-05-06 01:16:46 INFO ZEO.ClientStorage zeostorage Testing >>

Re: [Zope] ZEO manageUndo not working - DisconnectedError

2015-05-06 Thread Sebastian Tänzer
module, msg)) ZRPCError: import error copy_reg: -- 2015-05-06T10:06:35 INFO ZEO.StorageServer (127.0.0.1:44835) disconnected -- 2015-05-06T10:06:35 INFO ZEO.zrpc.Connection('S') (127.0.0.1:44837) received handshake ‚Z3101' More ideas? :-) > Am 06.05.2015 um 07:42 schrieb Niels De

[Zope] ZEO manageUndo not working - DisconnectedError

2015-05-05 Thread Sebastian Tänzer
Hello once more, I’m running a fresh Zope2 ZEO setup (pip install --index-url=http://download.zope.org/Zope2/index/2.13.22/ Zope2 and pip install zope.mkzeoinstance) inside a virtualenv setup. As said: No products, fresh setup, happens with any object. Going to any undo tab produces this error

Re: [Zope] manage_renameObjects with remote ZEO

2015-05-05 Thread Sebastian Tänzer
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/05/2015 01:42 PM, Sebastian Tänzer wrote: >> Hello Zope community, >> >> does anyone know how to rename a OFS.Folder object from a remote >> python script (i.e. command line)? I’m trying this via >

[Zope] manage_renameObjects with remote ZEO

2015-05-05 Thread Sebastian Tänzer
Hello Zope community, does anyone know how to rename a OFS.Folder object from a remote python script (i.e. command line)? I’m trying this via ZEO.ClientStorage, but it fails with "The object renametest1 does not support this operation.“ ,triggered by OFS/CopySupport.py", line 537, in _verifyObj

[Zope] Start up failing with ZopeCtlOptions instance has no attribute 'transcript'

2015-04-01 Thread Sebastian Tänzer
Hello all, latest Zope2 releases (2.13.23.dev0) seem top have a bug in Zope2/Startup/zopectl.py and zdaemon/zdctl.py leading to this error on zopectl start (zopectl fg works fine): Traceback (most recent call last): File "/opt/python/zope2/bin/zopectl", line 9, in load_entry_point('Zope2

Re: [Zope] Zope2 - pro/contra

2015-03-06 Thread Sebastian Tänzer
I just ran into that a few days ago looking for documentation about the PUT_factory which has not been copied from the original documenation to the new one at http://docs.zope.org/zope2/. But: It still existed and took about 15 seconds to google it. Who's maintaining docs.zope.org/zope2 at the

Re: [Zope] Zope2 - pro/contra

2015-03-06 Thread Sebastian Tänzer
I do share some of the point of views, especially in regards to bad marketing about Zopes future versions and lack of documentation. I don't share the criticism on ZPT/TAL - actually I love Page Templates and the approach to templating it brought to the web world. Chameleon is one of my favourit

[Zope] Zope2 - pro/contra

2015-03-04 Thread Sebastian Tänzer
Hello ZOPE community, we're still developing websites using Zope2 + ZMS3 (www.zms-publishing.com) for years now and never ran into any real problems (compared to, let's say, Wordpress, typo3, Drupal etc. which had serious security problems over the years) and our clients are quite happy with ZM