IRC log of #zope for Thursday, 2015-09-10

*** JaRoel|4D has joined #zope00:09
*** MrTango has quit IRC01:11
*** m8 has quit IRC01:15
*** benji has quit IRC01:34
*** maurits has joined #zope02:01
*** kosh has quit IRC02:24
*** tiwula has quit IRC03:00
*** maurits has quit IRC03:26
*** tisto has joined #zope08:11
*** alecm has quit IRC08:26
*** alecm has joined #zope08:29
*** alecm has quit IRC08:38
*** alecm has joined #zope08:59
*** alecm has joined #zope08:59
*** projekt01 has joined #zope09:04
*** yvl has joined #zope09:21
*** JaRoel|4D has quit IRC09:32
*** JaRoel|4D has joined #zope10:14
*** kosh has joined #zope10:22
*** giacomos has joined #zope10:30
*** sm has quit IRC10:42
*** sm has joined #zope10:43
*** MrTango has joined #zope11:07
*** PeterZ has joined #zope11:22
*** PeterZ has left #zope11:22
*** alecm has quit IRC11:37
*** sm has quit IRC11:37
*** sm has joined #zope11:38
*** alecm has joined #zope11:38
*** yvl has quit IRC12:28
*** ztane has quit IRC13:30
*** moo-_- has quit IRC13:30
*** benji has joined #zope14:00
*** yvl has joined #zope14:20
*** maurits has joined #zope14:37
*** projekt01 has quit IRC15:37
*** sackrebutz has joined #zope15:45
sackrebutzHey there - what is the correct API call to add a “Script (Python)” Object to my ZODB from within such a script?15:46
mgedminthe http requests map rather neatly into the api15:47
mgedminuse your browser's dev tools to see what form's being submitted where with what arguments15:47
mgedminthen convert that into an api call15:48
mgedminit'll end up something like container.manage_add(...)15:48
sackrebutzmgedmin thanks - I already tried that, and my dev tool says it’d be calling “manage_addPythonScript” - however, there is no such method within my `container` class?15:49
mgedminwhy do you say there isn't?15:50
sackrebutzI thought it’d maybe be manage_addProduct but I can’t find information about how to use it15:50
mgedminmanage_addProduct() adds a product15:50
mgedminyou want to add a Python script15:50
sackrebutzbecause I get an AttribuetError when I try, and dir(container) does not list it15:50
mgedminwhat is container?15:51
sackrebutzA Folder in my case.15:51
mgedminhmm15:51
mgedminoh well, luckily I don't work with zope 2 any more15:52
mgedminI wish you the best of luck15:52
sackrebutzi do neither. but my customer does ..15:52
sackrebutzthanks for your help anyway15:52
sackrebutzHah! I found out: container.manage_addProduct['PythonScripts'].manage_addPythonScript(“FOO”)15:54
mgedminwhoa, wow15:55
*** sackrebutz has quit IRC16:07
*** avoinea has quit IRC16:43
*** avoinea has joined #zope16:43
*** sm_ has joined #zope17:05
*** sm has quit IRC17:05
*** yvl has quit IRC17:28
*** MrTango has quit IRC17:45
*** sm_ is now known as sm18:02
*** JaRoel|4D has quit IRC18:41
*** tisto has quit IRC18:55
*** giacomos has quit IRC19:06
*** JaRoel|4D has joined #zope19:55
*** fredvd is now known as fredvd|away20:00
*** fredvd|away is now known as fredvd|way20:00
*** avoinea has quit IRC21:31
*** Pumukel has joined #zope21:54
*** supton has joined #zope23:20
*** alecm has quit IRC23:49
*** alecm has joined #zope23:49
*** supton has quit IRC23:59

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!