| *** jham has quit IRC | 00:01 | |
| *** _mup_ has quit IRC | 00:01 | |
| *** Arfrever has quit IRC | 00:01 | |
| *** tiwula has quit IRC | 00:01 | |
| *** betabug has quit IRC | 00:01 | |
| *** allisterb has quit IRC | 00:01 | |
| *** mcdonc_ has quit IRC | 00:01 | |
| *** kosh has quit IRC | 00:01 | |
| *** bobo_b has quit IRC | 00:01 | |
| *** TheJester has quit IRC | 00:01 | |
| *** RiverRat has quit IRC | 00:01 | |
| *** CIA-83 has quit IRC | 00:01 | |
| *** cwarner has quit IRC | 00:01 | |
| *** ajmitch has quit IRC | 00:01 | |
| *** sashav has quit IRC | 00:01 | |
| *** alexpilz has quit IRC | 00:01 | |
| *** FSCV has quit IRC | 00:01 | |
| *** Moo--- has quit IRC | 00:01 | |
| *** mitchell`off has quit IRC | 00:01 | |
| *** BeeBob has quit IRC | 00:01 | |
| *** d2m has quit IRC | 00:01 | |
| *** Spanktar has quit IRC | 00:01 | |
| *** [Arfrever] has quit IRC | 00:01 | |
| *** BGaddie has quit IRC | 00:01 | |
| *** davisagli has quit IRC | 00:01 | |
| *** kiorky has quit IRC | 00:01 | |
| *** waldi has quit IRC | 00:01 | |
| *** chaoflow has quit IRC | 00:01 | |
| *** markvandenborre has quit IRC | 00:01 | |
| *** purserj has quit IRC | 00:01 | |
| *** rogererens has quit IRC | 00:01 | |
| *** daMaestro has quit IRC | 00:01 | |
| *** rodgort has quit IRC | 00:01 | |
| *** yvl has quit IRC | 00:01 | |
| *** TresEquis has quit IRC | 00:01 | |
| *** zenwryly has quit IRC | 00:01 | |
| *** redir has quit IRC | 00:01 | |
| *** MrTango has quit IRC | 00:01 | |
| *** sashav has joined #zope | 00:05 | |
| *** redir has joined #zope | 00:05 | |
| *** Arfrever has joined #zope | 00:05 | |
| *** TresEquis has joined #zope | 00:05 | |
| *** d2m has joined #zope | 00:05 | |
| *** Spanktar has joined #zope | 00:05 | |
| *** alexpilz has joined #zope | 00:05 | |
| *** MrTango has joined #zope | 00:05 | |
| *** rogererens has joined #zope | 00:05 | |
| *** tiwula has joined #zope | 00:05 | |
| *** [Arfrever] has joined #zope | 00:05 | |
| *** daMaestro has joined #zope | 00:05 | |
| *** FSCV has joined #zope | 00:05 | |
| *** bobo_b has joined #zope | 00:05 | |
| *** rodgort has joined #zope | 00:05 | |
| *** kosh has joined #zope | 00:05 | |
| *** mcdonc_ has joined #zope | 00:05 | |
| *** allisterb has joined #zope | 00:05 | |
| *** betabug has joined #zope | 00:05 | |
| *** yvl has joined #zope | 00:05 | |
| *** BGaddie has joined #zope | 00:05 | |
| *** zenwryly has joined #zope | 00:05 | |
| *** davisagli has joined #zope | 00:05 | |
| *** kiorky has joined #zope | 00:05 | |
| *** TheJester has joined #zope | 00:05 | |
| *** Moo--- has joined #zope | 00:05 | |
| *** mitchell`off has joined #zope | 00:05 | |
| *** RiverRat has joined #zope | 00:05 | |
| *** jham has joined #zope | 00:05 | |
| *** _mup_ has joined #zope | 00:05 | |
| *** BeeBob has joined #zope | 00:05 | |
| *** purserj has joined #zope | 00:05 | |
| *** markvandenborre has joined #zope | 00:05 | |
| *** chaoflow has joined #zope | 00:05 | |
| *** waldi has joined #zope | 00:05 | |
| *** ajmitch has joined #zope | 00:05 | |
| *** cwarner has joined #zope | 00:05 | |
| *** CIA-83 has joined #zope | 00:05 | |
| *** webmaven has joined #zope | 00:08 | |
| *** m8 has quit IRC | 00:14 | |
| *** alexpilz1 has joined #zope | 00:31 | |
| *** Guest65854 has joined #zope | 00:31 | |
| *** hever has quit IRC | 00:33 | |
| *** alexpilz has quit IRC | 00:34 | |
| *** sashav has quit IRC | 00:37 | |
| *** alexpilz1 has quit IRC | 00:49 | |
| *** avoinea has joined #zope | 00:54 | |
| *** avoinea has left #zope | 00:54 | |
| *** hever has joined #zope | 01:05 | |
| *** srichter has quit IRC | 01:08 | |
| *** Guest65854 has quit IRC | 01:10 | |
| *** Arfrever has quit IRC | 01:11 | |
| *** TresEquis has quit IRC | 01:17 | |
| *** fredvd has joined #zope | 01:21 | |
| *** evilbungle has joined #zope | 01:23 | |
| *** sigue_ is now known as sigue | 01:27 | |
| *** evilbungle has quit IRC | 01:46 | |
| *** rogererens has quit IRC | 01:58 | |
| *** evilbungle has joined #zope | 02:15 | |
| *** fredvd has quit IRC | 02:29 | |
| *** daMaestro has quit IRC | 02:41 | |
| *** evilbungle has quit IRC | 02:43 | |
| *** d2m has quit IRC | 03:04 | |
| *** srichter has joined #zope | 03:09 | |
| *** MrTango has quit IRC | 03:11 | |
| *** FSCV has quit IRC | 03:12 | |
| *** d2m has joined #zope | 03:18 | |
| *** tiwula has quit IRC | 03:36 | |
| *** hever has quit IRC | 04:03 | |
| *** jim_SFU has joined #zope | 04:07 | |
| *** jim_SFU has quit IRC | 04:12 | |
| *** dayne has joined #zope | 04:16 | |
| *** Spanktar has quit IRC | 04:30 | |
| *** Guest65854 has joined #zope | 04:52 | |
| *** __mac__ has joined #zope | 05:22 | |
| *** __mac__ has quit IRC | 05:27 | |
| *** webmaven has quit IRC | 05:30 | |
| *** tiwula has joined #zope | 05:43 | |
| *** redir has quit IRC | 07:06 | |
| *** redir has joined #zope | 07:06 | |
| *** digitalmortician has quit IRC | 07:50 | |
| *** kosh has quit IRC | 07:55 | |
| *** kosh has joined #zope | 07:59 | |
| *** Guest65854 has quit IRC | 08:10 | |
| *** kosh has quit IRC | 08:20 | |
| *** kosh has joined #zope | 08:22 | |
| *** dayne has quit IRC | 08:22 | |
| *** dayne1 has joined #zope | 08:22 | |
| *** kosh has quit IRC | 08:29 | |
| *** kosh has joined #zope | 08:33 | |
| *** tiwula has quit IRC | 08:56 | |
| *** zagy has joined #zope | 09:00 | |
| *** markvandenborre has quit IRC | 09:01 | |
| *** markvandenborre has joined #zope | 09:02 | |
| *** __mac__ has joined #zope | 09:02 | |
| *** wosc has joined #zope | 09:07 | |
| *** digitalmortician has joined #zope | 09:10 | |
| *** nitrogenycs has joined #zope | 09:12 | |
| *** hever has joined #zope | 09:14 | |
| *** MrTango has joined #zope | 09:28 | |
| *** slackrunner has joined #zope | 09:29 | |
| *** alga has joined #zope | 09:30 | |
| *** d2m has left #zope | 09:41 | |
| *** agroszer has joined #zope | 09:56 | |
| *** nitrogenycs has quit IRC | 10:05 | |
| *** altipard has joined #zope | 10:06 | |
| *** nitrogenycs has joined #zope | 10:06 | |
| *** planetzopebot has quit IRC | 10:08 | |
| *** planetzopebot has joined #zope | 10:09 | |
| *** rogererens has joined #zope | 10:12 | |
| *** ccomb has joined #zope | 10:13 | |
| *** Wu has joined #zope | 10:20 | |
| *** goschtl has joined #zope | 10:31 | |
| *** avoinea has joined #zope | 10:40 | |
| *** mr_jolly has joined #zope | 10:42 | |
| *** mr_jolly has left #zope | 10:42 | |
| *** vortec has joined #zope | 10:55 | |
| *** eperez has joined #zope | 10:55 | |
| *** evilbungle has joined #zope | 11:00 | |
| *** sunew has joined #zope | 11:01 | |
| *** paddy has joined #zope | 11:19 | |
| *** nitrogenycs has quit IRC | 11:26 | |
| *** betabug has quit IRC | 11:37 | |
| *** allisterb has quit IRC | 11:37 | |
| *** mcdonc_ has quit IRC | 11:37 | |
| *** eperez has quit IRC | 11:37 | |
| *** avoinea has quit IRC | 11:37 | |
| *** altipard has quit IRC | 11:37 | |
| *** wosc has quit IRC | 11:37 | |
| *** bobo_b has quit IRC | 11:37 | |
| *** vortec has quit IRC | 11:37 | |
| *** ccomb has quit IRC | 11:37 | |
| *** redir has quit IRC | 11:37 | |
| *** jham has quit IRC | 11:37 | |
| *** _mup_ has quit IRC | 11:37 | |
| *** zagy has quit IRC | 11:38 | |
| *** TheJester has quit IRC | 11:38 | |
| *** RiverRat has quit IRC | 11:38 | |
| *** CIA-83 has quit IRC | 11:38 | |
| *** cwarner has quit IRC | 11:38 | |
| *** ajmitch has quit IRC | 11:38 | |
| *** planetzopebot has quit IRC | 11:38 | |
| *** Moo--- has quit IRC | 11:38 | |
| *** mitchell`off has quit IRC | 11:38 | |
| *** BeeBob has quit IRC | 11:38 | |
| *** alga has quit IRC | 11:38 | |
| *** [Arfrever] has quit IRC | 11:38 | |
| *** BGaddie has quit IRC | 11:38 | |
| *** davisagli has quit IRC | 11:38 | |
| *** kiorky has quit IRC | 11:38 | |
| *** waldi has quit IRC | 11:38 | |
| *** chaoflow has quit IRC | 11:38 | |
| *** purserj has quit IRC | 11:38 | |
| *** hever has quit IRC | 11:38 | |
| *** rodgort has quit IRC | 11:38 | |
| *** yvl has quit IRC | 11:38 | |
| *** kosh has quit IRC | 11:38 | |
| *** zenwryly has quit IRC | 11:38 | |
| *** sunew has quit IRC | 11:38 | |
| *** goschtl has quit IRC | 11:38 | |
| *** Wu has quit IRC | 11:38 | |
| *** rogererens has quit IRC | 11:38 | |
| *** agroszer has quit IRC | 11:38 | |
| *** slackrunner has quit IRC | 11:38 | |
| *** MrTango has quit IRC | 11:38 | |
| *** srichter has quit IRC | 11:38 | |
| *** bigkevmcd has quit IRC | 11:38 | |
| *** trustedsage has quit IRC | 11:38 | |
| *** alecm has quit IRC | 11:38 | |
| *** dixond has quit IRC | 11:38 | |
| *** __mac__ has quit IRC | 11:38 | |
| *** dayne1 has quit IRC | 11:38 | |
| *** sigue has quit IRC | 11:38 | |
| *** paddy has quit IRC | 11:38 | |
| *** digitalmortician has quit IRC | 11:38 | |
| *** bowe has quit IRC | 11:38 | |
| *** benji has quit IRC | 11:38 | |
| *** f10w has quit IRC | 11:38 | |
| *** JT has quit IRC | 11:38 | |
| *** Guest65854 has joined #zope | 11:45 | |
| *** evilbungle has joined #zope | 11:45 | |
| *** paddy has joined #zope | 11:45 | |
| *** sunew has joined #zope | 11:45 | |
| *** eperez has joined #zope | 11:45 | |
| *** vortec has joined #zope | 11:45 | |
| *** avoinea has joined #zope | 11:45 | |
| *** goschtl has joined #zope | 11:45 | |
| *** Wu has joined #zope | 11:45 | |
| *** ccomb has joined #zope | 11:45 | |
| *** rogererens has joined #zope | 11:45 | |
| *** planetzopebot has joined #zope | 11:45 | |
| *** altipard has joined #zope | 11:45 | |
| *** agroszer has joined #zope | 11:45 | |
| *** alga has joined #zope | 11:45 | |
| *** slackrunner has joined #zope | 11:45 | |
| *** MrTango has joined #zope | 11:45 | |
| *** hever has joined #zope | 11:45 | |
| *** digitalmortician has joined #zope | 11:45 | |
| *** wosc has joined #zope | 11:45 | |
| *** __mac__ has joined #zope | 11:45 | |
| *** zagy has joined #zope | 11:45 | |
| *** kosh has joined #zope | 11:45 | |
| *** dayne1 has joined #zope | 11:45 | |
| *** redir has joined #zope | 11:45 | |
| *** srichter has joined #zope | 11:45 | |
| *** JT has joined #zope | 11:45 | |
| *** f10w has joined #zope | 11:45 | |
| *** alecm has joined #zope | 11:45 | |
| *** dixond has joined #zope | 11:45 | |
| *** bigkevmcd has joined #zope | 11:45 | |
| *** trustedsage has joined #zope | 11:45 | |
| *** benji has joined #zope | 11:45 | |
| *** bowe has joined #zope | 11:45 | |
| *** sigue has joined #zope | 11:45 | |
| *** [Arfrever] has joined #zope | 11:45 | |
| *** bobo_b has joined #zope | 11:45 | |
| *** rodgort has joined #zope | 11:45 | |
| *** mcdonc_ has joined #zope | 11:45 | |
| *** allisterb has joined #zope | 11:45 | |
| *** betabug has joined #zope | 11:45 | |
| *** yvl has joined #zope | 11:45 | |
| *** BGaddie has joined #zope | 11:45 | |
| *** zenwryly has joined #zope | 11:45 | |
| *** davisagli has joined #zope | 11:45 | |
| *** kiorky has joined #zope | 11:45 | |
| *** TheJester has joined #zope | 11:45 | |
| *** Moo--- has joined #zope | 11:45 | |
| *** mitchell`off has joined #zope | 11:45 | |
| *** RiverRat has joined #zope | 11:45 | |
| *** jham has joined #zope | 11:45 | |
| *** _mup_ has joined #zope | 11:45 | |
| *** BeeBob has joined #zope | 11:45 | |
| *** purserj has joined #zope | 11:45 | |
| *** chaoflow has joined #zope | 11:45 | |
| *** waldi has joined #zope | 11:45 | |
| *** CIA-83 has joined #zope | 11:45 | |
| *** cwarner has joined #zope | 11:45 | |
| *** ajmitch has joined #zope | 11:45 | |
| CIA-83 | yuppie * r121278 CMF/ (buildout-zope213.cfg versions.cfg): - updated Zope2 and ZTK versions | 11:51 |
|---|---|---|
| CIA-83 | yuppie 2.2 * r121279 CMF/ (buildout-zope212.cfg buildout-zope213.cfg): - updated Zope2 and ZTK versions | 11:51 |
| *** __mac__ has quit IRC | 11:57 | |
| *** dayne1 has quit IRC | 11:57 | |
| *** sigue has quit IRC | 11:57 | |
| *** thetet has joined #zope | 11:57 | |
| *** sigue has joined #zope | 11:58 | |
| *** __mac__ has joined #zope | 12:00 | |
| *** dayne1 has joined #zope | 12:00 | |
| *** TomBlockley has joined #zope | 12:04 | |
| *** sigue has quit IRC | 12:05 | |
| *** sigue has joined #zope | 12:06 | |
| *** sigue has quit IRC | 12:13 | |
| *** sigue has joined #zope | 12:14 | |
| *** bigkevmcd has quit IRC | 12:16 | |
| *** bigkevmcd has joined #zope | 12:20 | |
| *** sigue has quit IRC | 12:21 | |
| *** sigue has joined #zope | 12:22 | |
| *** menesis has joined #zope | 12:25 | |
| *** sigue has quit IRC | 12:28 | |
| *** sigue has joined #zope | 12:30 | |
| *** sigue has quit IRC | 12:36 | |
| *** sigue has joined #zope | 12:37 | |
| *** slackrunner has quit IRC | 12:42 | |
| *** sigue has quit IRC | 12:43 | |
| *** fredvd has joined #zope | 12:44 | |
| *** sigue has joined #zope | 12:45 | |
| *** alexpilz has joined #zope | 12:47 | |
| *** sigue has quit IRC | 12:51 | |
| *** sigue has joined #zope | 12:53 | |
| *** teix has joined #zope | 12:54 | |
| *** kotique has joined #zope | 12:59 | |
| kotique | Hi. What's the right REST parameter when a python method takes **kwargs? | 12:59 |
| betabug | what? | 12:59 |
| kotique | trying to call a method in zenoss.. http://community.zenoss.org/docs/DOC-3805 | 12:59 |
| kotique | don't know how to pass **kwargs | 12:59 |
| *** sigue has quit IRC | 12:59 | |
| bigkevmcd | kotique: That's just Python | 13:00 |
| betabug | **kwargs is any extra named parameters the method receives | 13:00 |
| kotique | i know zenoss is based on zope | 13:00 |
| kotique | yeah, somehow it translates REST calls to those python calls | 13:00 |
| betabug | hmmm, so a "REST call" is a simple http call :-) | 13:00 |
| kotique | def updateDevice(self,**kwargs): , so I need to know what to pass in REST call | 13:01 |
| *** sigue has joined #zope | 13:01 | |
| betabug | kotique: well, in their example you have ?deviceName=NEWDEVICE&devicePath=/Server/Linux | 13:01 |
| betabug | the "deviceName=NEWDEVICE&devicePath=/Server/Linux" is what will end up in **kwargs | 13:01 |
| kotique | i already know how to call "regular" methods, like loadDevice(self, deviceName, devicePath="/Discovered", tag="", serialNumber="", zSnmpCommunity="", zSnmpPort=161, zSnmpVer=None, etc) | 13:01 |
| kotique | I just pass them "deviceName=NEWDEVICE&devicePath=/Server/Linux" | 13:02 |
| kotique | but how about updateDevice, that takes **kwargs? | 13:02 |
| betabug | how should I know? | 13:02 |
| betabug | it's *their* API | 13:02 |
| kotique | well they're using zope, and probably zope's REST/xml-rpc API | 13:02 |
| *** agroszer has quit IRC | 13:02 | |
| betabug | updateDevice is *their* method | 13:02 |
| betabug | there is no such thing as a REST-API | 13:03 |
| kotique | yeah, it's their, but who interacts with it? who translates REST calls into methods? | 13:03 |
| betabug | you can call each method on Zope through xmlrpc or through http | 13:03 |
| kotique | alright, so I want to call it through HTTP | 13:03 |
| betabug | kotique: "REST calls" is just their buzzword mumble jumble for an HTTP call | 13:03 |
| vortec | kotique: replace your loadDevice definition with def loadDevice(**kwargs) and call it like before | 13:03 |
| vortec | kwargs is a dictionary which contains all the parameters you passed | 13:04 |
| kotique | loadDevice is fine, I'm worried about updateDevice :) | 13:04 |
| kotique | okay, so what's the right way to pass dictionary in HTTP call? | 13:04 |
| betabug | kotique: so you call it through wget? | 13:04 |
| betabug | you have an example on that page | 13:04 |
| betabug | the arguments get packed into the query string | 13:05 |
| kotique | well it doesn't work | 13:05 |
| kotique | I call it through RestClient, but that doesn't matter | 13:05 |
| betabug | try it with wget first | 13:05 |
| betabug | report full traceback | 13:05 |
| *** sunew has quit IRC | 13:05 | |
| betabug | otherwise "doens't work" doesn't mean anything | 13:05 |
| betabug | as there are a million things you could be doing wrong | 13:06 |
| kotique | HTTP/1.1 204 No Content | 13:06 |
| betabug | e.g. wrong quoting of arguments, wrong arguments (check if the API has them) | 13:06 |
| kotique | and the serialnumber not updated ......! | 13:06 |
| betabug | well, that doesn't necessarily mean it failed | 13:06 |
| betabug | ah | 13:06 |
| betabug | well, do they have an error log? | 13:07 |
| kotique | it didn't fail, just **kwargs wasn't passed | 13:07 |
| betabug | how did you call it? | 13:07 |
| betabug | what was the exact query string? | 13:07 |
| kotique | hold on , let me show the docs | 13:07 |
| *** sigue has quit IRC | 13:07 | |
| vortec | just paste your wget command | 13:07 |
| betabug | +1 on what vortec said | 13:08 |
| betabug | (assuming it's not 43 lines, in which case put it on a pastebin) | 13:08 |
| betabug | s/4/>/ | 13:08 |
| *** sigue has joined #zope | 13:08 | |
| kotique | http://storage.fused.net/mirrors/fused/sources/zenoss-api-docs/Products.ZenModel.Device.Device-class.html#updateDevice | 13:09 |
| betabug | uhm | 13:10 |
| betabug | there are no parameters | 13:10 |
| vortec | kotique: i don't think you understand how python works here, lemme create you an example | 13:10 |
| *** slackrunner has joined #zope | 13:10 | |
| betabug | it's not even a python thing, there are no query parameters | 13:10 |
| kotique | lol guys | 13:11 |
| kotique | have you coded python or what? | 13:11 |
| kotique | have you seen any python docs? | 13:11 |
| kotique | am I in the right channel? | 13:11 |
| vortec | aww | 13:11 |
| kotique | http://storage.fused.net/mirrors/fused/sources/zenoss-api-docs/Products.ZenModel.Device-pysrc.html#Device.updateDevice | 13:11 |
| vortec | nevermind then | 13:11 |
| betabug | kotique: sigh, show us what url you are calling the method with and maybe we can tell you what you're doing wrong | 13:12 |
| kotique | here's the method described on ZenOSS support page, that I showed earlier and that works flawlessly: http://storage.fused.net/mirrors/fused/sources/zenoss-api-docs/Products.ZenModel.ZDeviceLoader-pysrc.html#ZDeviceLoader.loadDevice | 13:12 |
| kotique | here's how I try to call updateDevice and it doesn't work: curl 'http://xxx@xxx:8080/zport/dmd/Devices/Server/Linux/devices/xxx/updateDevice?serialNumber=111111111' | 13:13 |
| betabug | aha | 13:14 |
| kotique | here's how I call loadDevice and it works: curl 'http://xxx@xxx:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=NEWDEVICE&devicePath=/Server/Linux" | 13:14 |
| betabug | well, your updateDevice call looks valid | 13:15 |
| kotique | so REST shim or whatever it's called translates REST parameters into python method arguments. | 13:15 |
| *** sigue has quit IRC | 13:15 | |
| kotique | but it looks like it doesn't know how to deal with **kwargs | 13:15 |
| betabug | nope | 13:15 |
| betabug | it deals with **kwargs just fine | 13:15 |
| vortec | maybe you should specify which parameter you want to change.. | 13:16 |
| betabug | you just have a wrong mental image there | 13:16 |
| *** regebro has joined #zope | 13:16 | |
| vortec | ah, serial number. you can change the serial number of devices? | 13:16 |
| *** sigue has joined #zope | 13:17 | |
| kotique | why the heck it doesn't update serial number then? http://storage.fused.net/mirrors/fused/sources/zenoss-api-docs/Products.ZenModel.Device-pysrc.html#Device.setHWSerialNumber works just fine, but I need updateDEvice, as that's the only thing that deals with hwManuf & models. | 13:17 |
| betabug | kotique: check the logs, it's not a Zope problem, it's in their app | 13:17 |
| *** vortec has left #zope | 13:18 | |
| *** vortec has joined #zope | 13:18 | |
| kotique | well logs don't show anything - you see 204 status, that's an OK | 13:18 |
| kotique | and looking at the method it just can't find the parameters - it falls through, ending the method successfrully | 13:19 |
| betabug | I doubt that's the right log | 13:19 |
| betabug | the event.log doesn't state HTTP status codes | 13:19 |
| kotique | i see them when making REST calls | 13:20 |
| kotique | and I see that in their log. | 13:20 |
| betabug | you're looking at some apache style log | 13:20 |
| kotique | xx - api [05/Apr/2011:06:16:57 -0400] "POST /zport/dmd/Devices/Server/Linux/devices/xx/updateDevice HTTP/1.1" 204 121 "" "" | 13:20 |
| betabug | zope instances have 2 kinds of logs (usually) | 13:20 |
| kotique | I've got Z2 log that doesn't change | 13:21 |
| betabug | the Z2.log that is like apache log <- you don't want that | 13:21 |
| betabug | and there is usually a log called "event.log" | 13:21 |
| kotique | uh, i mean other logs don't change | 13:21 |
| kotique | z2 is apache, yeah | 13:21 |
| betabug | event.log has errors and INFO and abnormal stuff | 13:21 |
| betabug | well, maybe they have logging level turned down, maybe they don't log, maybe they do whatever they felt like | 13:22 |
| betabug | if you don't see anything in the log, you have 2 choices: | 13:22 |
| betabug | - debut it yourself | 13:22 |
| betabug | - ask them | 13:22 |
| kotique | indeed i've got event log and I've got "serial updated" lines for yesterday, when that method was called by some internal zenoss stuff | 13:22 |
| *** fredvd is now known as fredvd|away | 13:22 | |
| kotique | i can't ask them, i don't have commercial license | 13:22 |
| *** sigue has quit IRC | 13:23 | |
| betabug | well, there doesn't seem to be anybody with zenoss internal know how here, so you go to the "debug it yourself" option | 13:23 |
| kotique | well crap | 13:23 |
| betabug | thanks for the niceties | 13:23 |
| kotique | if I modify that method, should I delete .pyc file and restart the daemons, would that be enough? | 13:24 |
| vortec | yes | 13:24 |
| betabug | no need to delete .pyc files, restart daemon is enough | 13:24 |
| *** sigue has joined #zope | 13:25 | |
| *** sigue has quit IRC | 13:31 | |
| *** altipard has quit IRC | 13:31 | |
| *** sigue has joined #zope | 13:33 | |
| *** sigue has quit IRC | 13:40 | |
| *** hever has quit IRC | 13:40 | |
| *** sigue has joined #zope | 13:41 | |
| kotique | 2011-04-05T06:39:19 INFO zen.Device updateDevice got called with: | 13:42 |
| kotique | 2011-04-05T06:39:19 INFO zen.Device None | 13:42 |
| kotique | nice | 13:42 |
| kotique | where's that connector located that "translates" REST calls into python calls? | 13:44 |
| bigkevmcd | kotique: this might be radical, but have you spoken to Zenoss themselves? I believe they support it... | 13:44 |
| kotique | i can't ask them, i don't have commercial license | 13:44 |
| kotique | "feel the power of open-source" | 13:45 |
| bigkevmcd | I believe they accept money, in exchange for support | 13:45 |
| bigkevmcd | essentially, if you're not smart enough to do it yourself, they will help you... | 13:45 |
| kotique | yeah, totally. $25k | 13:46 |
| kotique | take that | 13:46 |
| kotique | well you knwo what. i've just found a zenoss ruby module | 13:46 |
| *** sigue has quit IRC | 13:47 | |
| betabug | ahhhhhh! "ruby"... on hearing that word we're mortally wounded! | 13:48 |
| betabug | haha | 13:48 |
| betabug | don't they have PHP too? | 13:48 |
| betabug | or Haskell? | 13:48 |
| *** sigue has joined #zope | 13:48 | |
| kotique | Prior to using Zenoss, I had very little experience with Zope so some of my issues were simply just lack of knowledge of how REST methods were called from within it. I wrongly thought that there was a translation layer that sat between the web user and the back-end to marshal and unmarshal datatypes. This does not seem to be what is going on. So if I can sum up all of the issues that I struggled with it's this: If the Python metho | 13:49 |
| kotique | crappy crappiness | 13:49 |
| kotique | couldn't you guys just say zope doesn't have any "translation" for REST calls? | 13:49 |
| betabug | sigh | 13:49 |
| betabug | 1st there is no such thing as "REST calls" | 13:49 |
| *** sunew has joined #zope | 13:49 | |
| kotique | name me a feature that python has and ruby doesn't | 13:49 |
| kotique | there's. it's when you pass state between entities, not objects | 13:50 |
| betabug | there is a "thing" that translates HTTP calls to objects and their methods | 13:50 |
| betabug | kotique: python has a name that starts with "p" and is a reference to monty python, ruby can never match that! | 13:50 |
| *** agroszer has joined #zope | 13:51 | |
| kotique | well I'll tell you anonymous lambdas in ruby are great | 13:51 |
| kotique | and less noise in punctuation when you don't want to have noise | 13:51 |
| betabug | they won't help to make "ruby" into a monty python reference | 13:51 |
| betabug | so ruby can't have that feature | 13:51 |
| kotique | but I admit python docs are tremendously beautiful | 13:52 |
| betabug | but tell you what | 13:52 |
| kotique | okay, thanks for hlep | 13:52 |
| *** kotique has left #zope | 13:52 | |
| betabug | you're looking in the wrong place for your "bug" | 13:52 |
| vortec | oh dear | 13:52 |
| betabug | indeed | 13:53 |
| *** sigue has quit IRC | 13:55 | |
| *** sigue has joined #zope | 13:57 | |
| *** sigue has quit IRC | 14:03 | |
| *** sigue has joined #zope | 14:04 | |
| *** kotique has joined #zope | 14:08 | |
| kotique | well, so this IS zope related | 14:09 |
| kotique | http://docs.zope.org/zope2/zope2book/ScriptingZope.html#passing-parameters-to-scripts | 14:09 |
| kotique | Zope can perform many parameter conversions. Here is a list of Zope’s basic parameter converters. | 14:09 |
| betabug | sigh | 14:09 |
| kotique | and it IS performing "traslations" as I asked. | 14:09 |
| betabug | kotique: you're barking up the wrong tree | 14:10 |
| betabug | those "scripts" in that doc are something else | 14:10 |
| betabug | and those parameter converters are there, but you're not using any of them | 14:10 |
| *** sigue has quit IRC | 14:10 | |
| betabug | in fact, yes, zope is involved there | 14:10 |
| *** menesis has quit IRC | 14:10 | |
| betabug | but the point is: it's working just fine | 14:10 |
| kotique | why give suggestions if you don't even know your own system you're woring in | 14:10 |
| betabug | hahaha | 14:11 |
| betabug | I know my own systems quite fine, thanks | 14:11 |
| betabug | and if it was my problem, I'd have the thing debugged in 10 minutes | 14:11 |
| betabug | but I don't have/use zenoss, so I can't do that (besides not having a reason to do that) | 14:11 |
| kotique | okay, then tell me what conversion type should I use in order to "convert" my http params into a **kwargs in those calls? | 14:11 |
| betabug | none | 14:12 |
| betabug | they are there for something else | 14:12 |
| betabug | your http params are doing just fine | 14:12 |
| *** sigue has joined #zope | 14:12 | |
| betabug | what you need to do is debug the problem, by: | 14:12 |
| betabug | - inserting print statements or debug statements into the code | 14:12 |
| betabug | - in order to verify what's happening in there | 14:13 |
| betabug | if you use print statements, you need to run the daemon in "fg" mode | 14:13 |
| betabug | personally I don't use the debugger, so I can't tell you what you'd have to do for that | 14:13 |
| betabug | but as your log shows the line that says that part that logged "updateDevice got called" | 14:15 |
| betabug | it means that your keyword argument got there just fine | 14:15 |
| betabug | otherwise that log entry wouldn't be there | 14:15 |
| *** lxsameer has joined #zope | 14:15 | |
| *** lxsameer has left #zope | 14:16 | |
| betabug | so you have to go beyond that... and I can't tell you how, because I don't use that stuff | 14:16 |
| betabug | but at that points it's also not a zope problem any more, unless you need help how to debug from inside zope (which *is* a #zope topic) | 14:16 |
| *** mgedmin has quit IRC | 14:19 | |
| *** sigue has quit IRC | 14:19 | |
| *** sigue has joined #zope | 14:19 | |
| *** mgedmin_ has joined #zope | 14:20 | |
| *** gwik has quit IRC | 14:23 | |
| *** gwik has joined #zope | 14:24 | |
| *** avn has joined #zope | 14:25 | |
| *** sigue has quit IRC | 14:26 | |
| *** fredvd|away is now known as fredvd | 14:27 | |
| *** sigue has joined #zope | 14:27 | |
| *** srichter has quit IRC | 14:32 | |
| *** srichter has joined #zope | 14:33 | |
| *** sigue has quit IRC | 14:33 | |
| *** sigue has joined #zope | 14:40 | |
| *** menesis has joined #zope | 14:45 | |
| *** sigue has quit IRC | 14:46 | |
| *** sigue has joined #zope | 14:52 | |
| *** hever has joined #zope | 14:59 | |
| *** sigue has quit IRC | 14:59 | |
| *** gwik has quit IRC | 15:04 | |
| *** cpf__ has quit IRC | 15:09 | |
| *** cpf_ has joined #zope | 15:09 | |
| *** Wu has quit IRC | 15:10 | |
| *** sigue has joined #zope | 15:11 | |
| *** sigue has quit IRC | 15:17 | |
| *** huajie has joined #zope | 15:17 | |
| *** sunew has quit IRC | 15:19 | |
| *** sunew has joined #zope | 15:20 | |
| *** sigue has joined #zope | 15:23 | |
| *** FSCV has joined #zope | 15:24 | |
| *** Guest65854 has quit IRC | 15:26 | |
| CIA-83 | hannosch 3.5 * r121280 zope.sendmail/ (CHANGES.txt src/zope/sendmail/delivery.py): Backported c103980 - fixing LP 413335 | 15:30 |
| CIA-83 | hannosch 3.5 * r121281 zope.sendmail/ (CHANGES.txt setup.py): Prepare zope.sendmail 3.5.3. | 15:30 |
| CIA-83 | hannosch * r121282 /zope.sendmail/tags/3.5.3: Tagged zope.sendmail 3.5.3. | 15:30 |
| *** sigue has quit IRC | 15:30 | |
| CIA-83 | hannosch 3.5 * r121283 zope.sendmail/ (CHANGES.txt setup.py): vb | 15:30 |
| CIA-83 | hannosch 2.12 * r121284 Zope/ (doc/CHANGES.rst versions.cfg): New zope.sendmail = 3.5.3 to fix a problem with queue threads never exiting | 15:30 |
| *** sigue has joined #zope | 15:31 | |
| *** sigue has quit IRC | 15:38 | |
| *** sigue has joined #zope | 15:39 | |
| *** srichter has quit IRC | 15:42 | |
| *** srichter has joined #zope | 15:43 | |
| *** sunew has quit IRC | 15:45 | |
| *** sigue has quit IRC | 15:46 | |
| *** sigue has joined #zope | 15:46 | |
| *** shastry has joined #zope | 15:52 | |
| *** sigue has quit IRC | 15:53 | |
| *** sigue has joined #zope | 15:54 | |
| *** J1m has joined #zope | 15:59 | |
| *** sigue has quit IRC | 16:00 | |
| *** J1m has quit IRC | 16:00 | |
| *** sigue has joined #zope | 16:01 | |
| *** gwik has joined #zope | 16:05 | |
| *** J1m has joined #zope | 16:05 | |
| *** hever has quit IRC | 16:07 | |
| *** sigue has quit IRC | 16:08 | |
| *** sigue has joined #zope | 16:10 | |
| *** kotique has left #zope | 16:12 | |
| *** sigue has quit IRC | 16:16 | |
| *** sigue has joined #zope | 16:17 | |
| *** sigue has quit IRC | 16:24 | |
| *** paddy has quit IRC | 16:25 | |
| *** sigue has joined #zope | 16:25 | |
| *** redir has quit IRC | 16:27 | |
| *** sigue has quit IRC | 16:30 | |
| CIA-83 | gotcha * r121285 /Products.GenericSetup/branches/1.4-with-global-zca: tune svn:ignore | 16:32 |
| *** sigue has joined #zope | 16:32 | |
| *** dayne1 has quit IRC | 16:36 | |
| *** sigue has quit IRC | 16:38 | |
| *** sigue has joined #zope | 16:39 | |
| *** wosc has quit IRC | 16:45 | |
| *** sigue has quit IRC | 16:46 | |
| *** sigue has joined #zope | 16:47 | |
| *** j-w has joined #zope | 16:49 | |
| *** sigue has quit IRC | 16:53 | |
| *** sigue has joined #zope | 16:54 | |
| *** slackrunner has quit IRC | 16:54 | |
| *** hever has joined #zope | 16:58 | |
| *** sigue has quit IRC | 17:01 | |
| *** sigue has joined #zope | 17:02 | |
| *** Guest65854 has joined #zope | 17:03 | |
| *** Wu has joined #zope | 17:04 | |
| *** Arfrever has joined #zope | 17:06 | |
| *** RiverRat has quit IRC | 17:06 | |
| *** sigue has quit IRC | 17:08 | |
| *** sigue has joined #zope | 17:09 | |
| *** sigue has quit IRC | 17:16 | |
| *** fredvd is now known as fredvd|shop | 17:16 | |
| *** goschtl has quit IRC | 17:20 | |
| *** thetet has quit IRC | 17:23 | |
| *** redir has joined #zope | 17:26 | |
| *** alga has quit IRC | 17:35 | |
| *** shywolf9982 has joined #zope | 17:38 | |
| *** cpf_ has quit IRC | 17:42 | |
| *** avoinea has quit IRC | 17:48 | |
| *** avoinea has joined #zope | 17:48 | |
| *** tiwula has joined #zope | 17:48 | |
| *** avoinea has left #zope | 17:49 | |
| CIA-83 | gotcha 1.4-with-global-zca * r121286 Products.GenericSetup/ (Products/GenericSetup/registry.py buildout.cfg): fix broken after merge | 17:55 |
| *** j-w has quit IRC | 18:01 | |
| *** altipard has joined #zope | 18:03 | |
| *** regebro has quit IRC | 18:06 | |
| *** digitalmortician has quit IRC | 18:15 | |
| *** astoon has joined #zope | 18:18 | |
| *** huajie has quit IRC | 18:18 | |
| *** huajie has joined #zope | 18:21 | |
| *** huajie has quit IRC | 18:30 | |
| *** altipard has quit IRC | 18:38 | |
| *** regebro has joined #zope | 18:39 | |
| *** zagy has quit IRC | 18:41 | |
| *** __mac__ has quit IRC | 18:45 | |
| *** redir has quit IRC | 18:55 | |
| *** agroszer has quit IRC | 19:06 | |
| *** ccomb has quit IRC | 19:08 | |
| *** tisto has joined #zope | 19:10 | |
| *** avn has quit IRC | 19:16 | |
| *** avn has joined #zope | 19:16 | |
| *** purserj has quit IRC | 19:33 | |
| *** chaoflow has quit IRC | 19:33 | |
| *** chaoflow has joined #zope | 19:33 | |
| *** waldi has quit IRC | 19:34 | |
| *** BGaddie has quit IRC | 19:37 | |
| *** waldi has joined #zope | 19:37 | |
| *** purserj has joined #zope | 19:41 | |
| *** evilbungle has quit IRC | 19:42 | |
| *** BGaddie has joined #zope | 19:44 | |
| *** [Arfreve1] has joined #zope | 19:45 | |
| *** [Arfreve1] has quit IRC | 19:46 | |
| *** [Arfrever] has quit IRC | 19:47 | |
| *** alexpilz has left #zope | 19:47 | |
| *** [Arfrever] has joined #zope | 19:48 | |
| *** TomBlockley has quit IRC | 19:49 | |
| *** kiorky_ has joined #zope | 19:50 | |
| *** davisagli_ has joined #zope | 19:50 | |
| *** davisagli has quit IRC | 19:50 | |
| *** kiorky has quit IRC | 19:50 | |
| *** davisagli_ is now known as davisagli | 19:50 | |
| *** nitrogenycs has joined #zope | 19:52 | |
| *** supton has joined #zope | 19:58 | |
| *** tisto has quit IRC | 19:58 | |
| *** shastry_ has joined #zope | 19:59 | |
| *** menesis has quit IRC | 20:00 | |
| CIA-83 | wosc * r121287 /zopetoolkit/doc/source/process/buildbots.rst: Document test summarizer script | 20:00 |
| *** shastry has quit IRC | 20:01 | |
| *** eperez has quit IRC | 20:11 | |
| *** evilbungle has joined #zope | 20:12 | |
| *** m8 has joined #zope | 20:13 | |
| *** Guest65854 has quit IRC | 20:17 | |
| *** Guest65854 has joined #zope | 20:34 | |
| *** astoon has quit IRC | 20:36 | |
| *** srichter has quit IRC | 20:39 | |
| *** srichter has joined #zope | 20:40 | |
| *** Wu has quit IRC | 20:41 | |
| vortec | getting an error message "the id 'blank.gif' is reserved" (zope2). where can i reserve IDs? | 20:56 |
| vortec | or, delete that ID from that list for that matter | 20:56 |
| davisagli | vortec: there is a checkId Python script which checks a bunch of things...in this case it's probably reserving it because there's a skin layer item with that name | 20:57 |
| davisagli | oh, we're in #zope, not #plone ... so in that case I'm not as sure where that's coming from | 20:58 |
| vortec | hmm, i'm using CMF - maybe that was still helpful | 20:58 |
| davisagli | ok, likely similar | 20:59 |
| *** sm has joined #zope | 21:05 | |
| vortec | davisagli: thanks! | 21:06 |
| *** alexpilz has joined #zope | 21:08 | |
| *** hever has quit IRC | 21:08 | |
| *** zagy has joined #zope | 21:24 | |
| *** __mac__ has joined #zope | 21:25 | |
| *** menesis has joined #zope | 21:26 | |
| *** Guest65854 has quit IRC | 21:35 | |
| *** zagy1 has joined #zope | 21:42 | |
| *** zagy has quit IRC | 21:42 | |
| *** jshell has joined #zope | 21:48 | |
| *** jshell has quit IRC | 21:50 | |
| *** sunew has joined #zope | 21:53 | |
| *** sunew has quit IRC | 21:55 | |
| *** redir has joined #zope | 22:18 | |
| *** sunew has joined #zope | 22:26 | |
| *** hever has joined #zope | 22:27 | |
| *** hever has quit IRC | 22:31 | |
| *** hever has joined #zope | 22:31 | |
| *** sunew has quit IRC | 22:35 | |
| *** vortec has left #zope | 22:38 | |
| *** eperez has joined #zope | 22:46 | |
| *** avoinea has joined #zope | 22:46 | |
| *** bowe has quit IRC | 22:49 | |
| *** menesis has quit IRC | 22:49 | |
| *** teix has quit IRC | 22:59 | |
| *** __mac__ has quit IRC | 23:00 | |
| *** zagy1 has quit IRC | 23:00 | |
| *** bowe has joined #zope | 23:05 | |
| *** daMaestro has joined #zope | 23:12 | |
| *** regebro has quit IRC | 23:28 | |
| *** menesis has joined #zope | 23:31 | |
| *** menesis has left #zope | 23:31 | |
| *** hever has quit IRC | 23:34 | |
| *** menesis has joined #zope | 23:35 | |
| *** RiverRat has joined #zope | 23:44 | |
| CIA-83 | jim * r121288 /Sandbox/J1m/customdoctests/ (src/zc/customdoctests/js.py setup.py): make spidermonkey optional | 23:51 |
| *** m8 has quit IRC | 23:51 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!